Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Jump back to shellcode Windows overflow

From: Matt Conover <shok(at)camel.ethereal.net>
Date: Tue Apr 22 2003 - 14:22:50 EDT

You need to put a jmp instruction to jump back to your shellcode (which should be located after the return address). Try something like this: [NOPs][Shellcode][Padding (ebp, local vars, etc.)][Return address = pointer to a JMP ESP][jmp 0-padding-shellcode_len-5]

Note the first thing your shellcode should do is add esp, 0xffffeff0 (which is the same as subtracting esp by ~4K) so that when you push stuff onto the stack you're not corrupting your shellcode

Matt

On Mon, 22 Apr 2003 chaboyd77@yahoo.com wrote:

>
>
> I'm practicing developing Windows Buffer Overflows and
Received on Tue Apr 22 15:55:20 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library