Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
How To Find Return Address And And Function Caused The Buffer Overflow
#1
Posted 17 February 2010 - 09:08 AM
when olly crashes in stack overflow the cpu windows shows nothing and as the stack is overflowed we cannot find the return address.
In this case hoe to determine the function that caused he buffer overflow.
#2
Posted 17 February 2010 - 10:36 AM
If you are interesting in learning this subject view this topic, Overwriting EIP Question, or just read this books Hacking: the art exploitation, Buffer overflow attacks or the shellcoder's handbook.
I am sure that you can find this books out there, just google it xD.
If you want to learn shellcoding go here.
i hope that can help you.
#3
Posted 18 February 2010 - 07:33 AM
say if thrs a function abc() that calls strcpy() I want to locate and analyse the function abc().
#4
Posted 18 February 2010 - 06:23 PM
#5
Posted 19 February 2010 - 05:02 PM
I set breakpoint on ws2!recv() function and sent the buffer .I am using IDA to analyse the code where I break.But I think I landed much behind the overflow code.Even after a lot of debugging could not reach the overflow code.I tried to find strcpy() and other vuln functions in IDA but could not find out a solution.Can there be a easier way to find the vuln func?
#6
Posted 19 February 2010 - 09:11 PM
#7
Posted 20 February 2010 - 10:01 AM
#9
Posted 21 February 2010 - 09:12 PM
I set bp on wsock_32.recv().Found the buffer parameter address and set memory breakpoint on the buffer and run execute till return.
I am still doing that not reached a proper conclusion yet.Please let me know if I m correct.
#10
Posted 21 February 2010 - 10:57 PM
I ll explain u the steps what i did .
I set bp on wsock_32.recv().Found the buffer parameter address and set memory breakpoint on the buffer and run execute till return.
I am still doing that not reached a proper conclusion yet.Please let me know if I m correct.
Here enjoy it!
#11
Posted 22 February 2010 - 09:23 AM
Well I don't have any problem in exploiting the warftpd I just want to analyse the vuln function.In the tutorial the eip gets overwriten stack gets overwritten so not able to determine the return address.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












