Buffer Overflow Primer Part 3 (Executing Shellcode)
|
|
|
||||||||||
Description: Welcome to Part 3 of the Buffer Overflow Primer. If you have not already done so, please start this series by viewing Part 1. The Buffer Overflow Primer requires that you know at least some basic Assembly Language. I have created a series of Assembly Language video tutorials for Hackers here, for those not familiar with the language. <br><br>In the last video we saw how to create shellcode from assembly language code, this video will concentrate on how to execute the shellcode from within a C program to check that it is working properly. In order to do this, we will use the exit() shellcode which we created in the last video. We then use ShellCode.c to launch the shellcode. During this demo we will discuss how the main() function is actually invoked by the __libc_start_main routine, which sets up the environment for the program and also cleans up after main() returns. We will see how it is possible to change the return address on the stack (RET) to point to our shellcode and have it execute. <br><br><br><br><br><br><style type="text/css">body { background: #FFF; } </style> </div>
This video is part of the following groups:
1. Buffer Overflow Exploitation Megaprimer for Linux ( 9 videos)
Comments (17)
|
Col_Loki on Wed 27 Apr 2011 Great video, nice and short. Many thanks again. |
|
|
Mwerk on Mon 09 May 2011 Well done, made it simple. |
|
|
resoliwan on Sun 15 May 2011 thanks this video really helped me |
|
|
3ntropy on Thu 09 Jun 2011 hey Man! Well done! You are doing a great job trying to teach others, You are the best, I am learning about the exploit by myself using Jon Ericson's book, but Your tutorials are better. I really like them. Do you have tutorials on String Exploits? Well, You are great. I am starting my MS IT Sec. this year, this sure will help me. Thank you. |
|
|
Alteminor on Fri 24 Jun 2011 How likely are buffer overflows nowadays? Especially with something like C++, where it's much easier to just use std::getline() with a deliminator, or any std::istream object. This is very valuable information, but I'm wondering its worth to the modern hacker. |
|
|
bsmartt on Sun 26 Jun 2011 I'm also interested in an answer the Alteminor's question. |
|
|
smartboy on Mon 11 Jul 2011 Greate vivek. thank you very much. |
|
|
Oziriz on Mon 18 Jul 2011 First of all; thank you for these videos Vivek! I really appreciate them and am really looking forward to watching the rest of the videos. |
|
|
dyntryx on Sun 21 Aug 2011 @Oziriz Thanks for the info. I haven't studied buffer overflows in a while, so I'm reviewing these videos; you posted some good information. |
|
|
kilgore on Sat 17 Sep 2011 The Linux primer series and this one on buffer overflow are both excellent. I've understood the "concept" of a buffer overflow for years; you know, overwrite the return pointer so it jumps and executes the evil code. But I've never seen it explained so well, step by step, as you do here. The vids are just the right length focusing on one concept at a time. |
|
|
dikien on Sun 25 Dec 2011 thank your. I understand what the shellcode is. |
|
|
xGeek on Sun 25 Dec 2011 Don't work for me :'( |
|
|
syberskater on Wed 04 Jan 2012 the program is working but i just got a weird segmentation fault. |
|
|
ian on Sun 22 Jan 2012 @ xgeek and syberskater: |
|
|
hacknix on Thu 26 Jan 2012 I need someone who is capable of hacking* websites & accessing their email database |
|
|
MasterMind555 on Fri 09 Mar 2012 My machine is 64 bits and I hit a problem here. I managed to overwrite only half of the address due to the fact that my pointer only hold 4 bytes. How can I fix this problem? Thanks |
|
|
mayurkumar on Thu 03 May 2012 @vivek_sir |


