This is a guide that walks you through setting up a environment for this workshop. Use VM Software and try to avoids using WSL. You'll install essential tools for debugging, reversing, and exploiting binaries.
Option 1: VMware
- Download: VMware Workstation Player (Windows/Linux) or VMware Fusion (Mac)
Option 2: VirtualBox
- Download: VirtualBox (Windows/macOS/Linux)
Ensure Intel VT-x or AMD-V is enabled.
- RAM: 4 GB minimum (8 GB recommended)
- Disk: 25 GB minimum (30–50 GB recommended)
- Install the ubuntu image on the VM
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential gdb binutils
- nano (pre-installed):
nano <file>
- vim:
sudo apt install vim
- VS Code: https://code.visualstudio.com/download
sudo apt install python3-pip python3-dev libssl-dev libffi-dev git
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pwntools
git clone https://github.com/pwndbg/pwndbg.git
cd pwndbg
./setup.sh
python3 -m pip install ROPgadget
gcc --version
gdb --version
objdump --version
python3 --version
ROPgadget --help
You should have:
- GCC for compiling
- GDB + Pwndbg debugging
- Python + Pwntools for exploit scripting
- ROPgadget + objdump for binary inspection
- nano/vim/VSCode for code editing