Vuln Dev
"Moving" Stack: my poor return address! Aug 01 2006 02:03AM
Jack C (list-recv crepinc com) (4 replies)
Re: "Moving" Stack: my poor return address! Aug 02 2006 09:14AM
Alexander Klimov (alserkli inbox ru)
Re: "Moving" Stack: my poor return address! Aug 01 2006 11:51PM
Steve Bonds (kzzvt3302 sneakemail com)
Re: "Moving" Stack: my poor return address! Aug 01 2006 11:18PM
Andrea Purificato - bunker (bunker fastwebnet it)
Re: "Moving" Stack: my poor return address! Aug 01 2006 11:00PM
Jon Erickson (matrix phiral com)


On Mon, Jul 31, 2006 at 10:03:33PM -0400, Jack C wrote:
>
> I'm running on Fedora 5. Is this a security thing that's new in the past
> 2 years or so since I've coded one of these? Is there any way I can
> either (1) make the stack sit still so I can point into it or (2) find
> out where it is during execution?

Assuming you're using a 2.6.11+ kernel, stack space is randomized by
default. You can turn it off by doing:
echo 0 > /proc/sys/kernel/randomize_va_space

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus