1. Assignment Objectives
• Gain practical experience
2. Task 1
In this lab you will explore Linux exploits (Lecture 4). 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. Follow the steps of the lecture 4. 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. Follow the steps of the lecture 4. 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.
Welcome to one of the most trusted essay writing services with track record among students. We specialize in connecting students in need of high-quality essay writing help with skilled writers who can deliver just that. Explore the ratings of our essay writers and choose the one that best aligns with your requirements. When you rely on our online essay writing service, rest assured that you will receive a top-notch, plagiarism-free A-level paper. Our experienced professionals write each paper from scratch, carefully following your instructions. Request a paper from us and experience 100% originality.

