I need help with my assignment in ethical hacking.

Anonymous
timer Asked: Apr 23rd, 2017

Question description

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.

Tutor Answer

(Top Tutor) Studypool Tutor
School: Purdue University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors