Skip to content

Files

Latest commit

acf8f6e · Feb 27, 2019

History

History

lab3-attacklab

This file contains materials for one instance of the attacklab.

Files:

    ctarget

Linux binary with code-injection vulnerability.  To be used for phases
1-3 of the assignment.

Phase1, exploit string will redirect the program to execute an existing procedure.
Phase2, injecting a small amount of code as part of your exploit string.
Phase3, involves a code injection attack, but passing a string as argument.

    rtarget

Linux binary with return-oriented programming vulnerability.  To be
used for phases 4-5 of the assignment.

     cookie.txt

Text file containing 4-byte signature required for this lab instance.

     farm.c

Source code for gadget farm present in this instance of rtarget.  You
can compile (use flag -Og) and disassemble it to look for gadgets.

     hex2raw

Utility program to generate byte sequences.  See documentation in lab
handout.