OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: problem to exploit a stack overflow

Valdis.Kletnieksvt.edu
Date: Mon May 23 2005 - 16:23:58 CDT


On Sun, 22 May 2005 18:20:35 -0000, migalo digalo said:
> hi all,
>
> first post :-D
>
> ok,ok i am trying to exploit an example of stack overflow vunerable prog:

> in fact it work till the execution of the shellcode ,precisely the
> decode stage,so we get
> [+] eip <= RET_ADDRESS
> [+] jump esp
> [+] begin the shellcode execution
> [-] acces violation,in the decode stage:-x

You aren't trying to do this on a system that has a non-exec stack?

Also, it would help enormously if you were able to identify what ASM instruction
caused the access violation, and what the registers contained at the time....

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFCkknucC3lWbTT17ARAvTMAKCQZEWUp14ErJ3407ypvbslElhwlACgy3+Q
G/2FOlqnw7l4aZMCu6J1n2M=
=gArf
-----END PGP SIGNATURE-----