'Ethical' Hacking
Assignment #6 - Reverse Engineering
Posted May 15, 2024 · Due May 21, 2024
Assignment 6: Reverse Engineering with GDB
Objective
In this assignment, you will reverse engineer a binary executable using GDB to discover a hidden password. The goal is to practice debugging and reverse engineering techniques.
Instructions
Tools and Commands
objdump: Disassemble the binary to get the assembly code.
objdump -d -M intel assignment6 > assignment6.asmGDB: Debug the binary to inspect its execution.
Steps
Start GDB and load the binary:\
Set a breakpoint at the
mainfunction:\Run the program:\
Disassemble the current function:\
Use GDB commands like
disas,info registers,x, andstepto analyze the binary and understand its behavior.
Submission
Submit a report detailing the steps you took to reverse engineer the binary and the discovered password.
Extra Credit
Recreate the binary in the language of your choice.
Washington and Lee University