Athena Wiki

Setting Up Your CTF Environment

getting startedbeginner

Everything you need to build a fast, effective CTF workstation from scratch.

setupkaliubuntutoolsenvironmentvm

Setting Up Your CTF Environment

A good CTF environment means you spend time solving challenges, not fighting your toolchain.

Tool Selection by Category

Settingupenviroment

VM Setup by Host OS

For CTF work, Linux is mandatory. Most challenges target Linux, most tools are Linux-native, and pwn/rev challenges are almost always ELF binaries.

Install VirtualBox

Download and install VirtualBox. VMware Workstation Player is a free alternative with better performance.

Download Kali Linux VM

Get the pre-built VirtualBox OVA from kali.org → Virtual Machines. No ISO installation needed - just import.

Import & Configure

VirtualBox → File → Import Appliance → select the .ova → Import.

Recommended specs before booting:

  • RAM: 4 GB minimum (8 GB for Ghidra + browser)
  • CPU: 2 cores
  • Display: Enable 3D acceleration

Enable Shared Clipboard

VM Settings → General → Advanced → Shared Clipboard: Bidirectional

Also set Drag and Drop to Bidirectional for easy file transfer.

First Boot

Default credentials: kali / kali

sudo apt update && sudo apt full-upgrade -y

WSL2 Alternative

For lightweight tasks (scripting, crypto, OSINT), WSL2 is faster: wsl --install -d kali-linux. Not recommended for pwn - no full kernel control, no ptrace by default.

CTF-Specific Shell Aliases

Add to ~/.bashrc or ~/.zshrc:

alias cs='checksec --file='     # quick binary protections check
alias bwx='binwalk -e'          # extract with binwalk
alias py='python3 -c'           # one-liner runner
alias rlisten='nc -lvnp 4444'   # reverse shell listener
alias og='one_gadget'           # one-gadget finder
alias ctf='cd ~/ctf'            # jump to ctf root
alias ports='ss -tlnp'          # show listening ports

Online Tools Bookmarks

ToolUse
CyberChefEncode/decode/transform anything
dcode.frCipher identification and solving
CrackStationHash cracking
FactorDBRSA factoring
AperisolveSteganography one-stop
GTFOBinsPrivesc via system binaries
RevShellsReverse shell generator
ShodanOSINT on exposed internet services
crt.shCertificate transparency for subdomain discovery
Censys SearchHost and service reconnaissance
AWS IAM Policy SimulatorValidate cloud IAM permissions
CloudsplainingDetect risky AWS IAM permissions

Last updated on

On this page