Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Re: "Moving" Stack: my poor return address!
From: Jon Erickson (matrixphiral.com)
Date: Tue Aug 01 2006 - 18:00:47 CDT
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