Task 1In this lab you will explore Linux exploits (Lecture 4

Task 1In this lab you will explore Linux exploits (Lecture 4). Used the Linux virtualmachine from Lab 2 or set up your own if you want to. For each task you need todocument which of the protective measures (StackGuard, StackShild, ASLR, etc) thatyou had to turn off in order for the exploit to work. Also show the compile optionsthat you used to compile the program:1) Use the gdb debugger to investigate what happens when you try the overflow.cprogram. Follow the steps of the lecture 4. You should also describe whathappens (1 – 3 paragraphs) using your own words.2) Use the gdb debugger to investigate what happens when you try the meet.cprogram. Follow the steps of the lecture 4. You should also describe whathappens (1 – 3 paragraphs) using your own words.3) Use the shellcode.c program to become root. You should document all the stepsthat you took for it to work. You should also describe what happens (1 – 3paragraphs) using your own words.4) Use the exploit.c program to become root. You should document all the steps thatyou took for it to work. This includes using the get_sp.c program to locate theESP on your system and the calculation that you used when building yoursandwich. You should also describe what happens (1 – 3 paragraphs) using yourown words.5) Use the exploit2.c program to become root. You should document all the stepsthat you took for it to work. This includes using the get_sp.c program to locatethe ESP on your system and the calculation that you used when building yoursandwich. You should also describe what happens (1 – 3 paragraphs) using yourown words.