Reference no: EM131465038
Asasignment
1. Assignment Objectives
• Gain practical experience
2. Task 1
In this lab you will explore Linux exploits. Used the Linux virtual machine from Lab 2 or set up your own if you want to. For each task you need to document which of the protective measures (StackGuard, StackShild, ASLR, etc) that you had to turn off in order for the exploit to work. Also show the compile options that you used to compile the program:
1) Use the gdb debugger to investigate what happens when you try the overflow.c program. You should also describe what happens (1 - 3 paragraphs) using your own words.
2) Use the gdb debugger to investigate what happens when you try the meet.c program. You should also describe what happens (1 - 3 paragraphs) using your own words.
3) Use the shellcode.c program to become root. You should document all the steps that you took for it to work. You should also describe what happens (1 - 3 paragraphs) using your own words.
4) Use the exploit.c program to become root. You should document all the steps that you took for it to work. This includes using the get_sp.c program to locate the ESP on your system and the calculation that you used when building your sandwich. You should also describe what happens (1 - 3 paragraphs) using your own words.
5) Use the exploit2.c program to become root. You should document all the steps that you took for it to work. This includes using the get_sp.c program to locate the ESP on your system and the calculation that you used when building your sandwich. You should also describe what happens (1 - 3 paragraphs) using your own words.