Vulnerability Development mailing list archives
Re: "Moving" Stack: my poor return address!
From: Jon Erickson <matrix () phiral com>
Date: Tue, 1 Aug 2006 16:00:47 -0700
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
Current thread:
- "Moving" Stack: my poor return address! Jack C (Aug 01)
- Re: "Moving" Stack: my poor return address! Andrea Purificato - bunker (Aug 02)
- Re: "Moving" Stack: my poor return address! Alexander Klimov (Aug 02)
- Re: "Moving" Stack: my poor return address! Steve Bonds (Aug 02)
- Re: "Moving" Stack: my poor return address! Jon Erickson (Aug 02)
- <Possible follow-ups>
- Re: "Moving" Stack: my poor return address! list-recv (Aug 02)
- RE: "Moving" Stack: my poor return address! salexander (Aug 02)
- Re: "Moving" Stack: my poor return address! Javor Ninov (Aug 29)