tags:

views:

56

answers:

5

i read "art of exploitation" and "gray hat hackers".Both these books examples written for x86 systems.i have a centrino laptop and an amd64 pc.I can't make work examples for stack based overflow.

+1  A: 

On 64-bit systems using ASLR, executable space protection makes it far more difficult to execute such attacks. This may explain why you're failing to make them work.

I suggest reading this paper on x86-64 buffer overflow exploits for further information.

Mark Mayo
A: 

these books' purpose is to learn the operating systems' security problems and so is mine

Xor
Please add this as an update to your original post, not as an answer. SO is not like a discussion forum.
Péter Török
A: 

You can use some virtualization software (like Virtualbox) to run x86 system of your choice to play around also in amd64 system.

oherrala
A: 

There are a lot of protections built into OS and compilers to stop those exploits. Or at least make them a heck of a lot more difficult: Noexec stacks, stack canaries, and so on.

Windows also uses stack monitoring as well. Linux has similar features. You really should consider taking your questions like these to a forum other than this one.

jim mcnamara
A: 

I'd suggest the example in Aleph One' article "Smashing the Stack for Fun and Profit". You can find it here: link text

Willi Ballenthin