Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Frame pointer overwriting and FreeBSD

From: <chris(at)cmc.optus.net.au>
Date: Wed Jun 04 2003 - 09:32:23 EDT
('binary' encoding is not supported, stored as-is)

Hi,

Been trying some frame pointer overwriting techniques and it doesn't seem to be working like i'd expect on a FreeBSD (x86) system, wondering if the more familiar could clarify?

I'm basically doing a frame pointer overwrite by 1 byte exploit.

Stepping through the code in GDB i can make eip run into my NOPs, and then my shellcode, however, using (multiple) standard execve /bin/sh shellcodes written for FreeBSD, causes the vulnerable program to die with numerous errors like SIGFPE, SIGILL, etc (strangely enough, looking at what eip was in the core dump, it was usually in the string "/bin/sh").

Is it correct that since i've altered ebp's value, and as BSD passes it's arguments on the stack, i wont be able to get it working?

I'm taking a guess that it works on Linux because it's syscall arguments get passed via registers?

Cheers,

Chris. Received on Wed Jun 4 14:12:21 2003

Do you need help?X

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


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