Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Vulnerability Development: Re: Randomized Stack

Re: Randomized Stack

From: Oldani Massimiliano <sgrakkyu_at_antifork.org>
Date: Fri, 25 Nov 2005 17:47:42 +0100

On Nov 23, 2005, at 10:21 PM, veider_at_ank-pki.ru wrote:

> Hello, All!
>
> I am trying to exploit a stack based overflow on a system with stack
> randomization. Knowing function addresses with "objdump -D" I am able
> to run thouse functions. I've read phrack article about bypassing
> PaX ASLR, but there the author is able to control function arguments
> that is
> impossible in my case. Any ideas on what i may try?
>
> Bye, All.
>
Stack random? only random stack? or with random mmap()/stack and
no-exec workaround ?
If you have only random stack and you can execute code in the stack,
you can check for interesting pointer in the stack and chain a
ret-into-ret until you get it
or find somewhere jmp *%esp instruction and jump on your payload.
Alternatively you can construct argument with ret-into-PLT strcpy()
chain in some RW place and then use them.

>
>
-----------
Oldani (sgrakkyu) Massimiliano

Antifork Research, Inc.
Metro Olografix
Received on Nov 25 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos