Skip to main content
Every CTF category demands a different toolkit, and hunting for installers mid-competition is a fast way to lose hours you could have spent on the actual challenges. This page walks you through installing and verifying the tools you’ll reach for most often, organized by category so you can set up only what you need or work through the whole page before a competition to arrive fully equipped.
All commands below assume you are working inside a dedicated Kali Linux or Parrot OS environment. If you haven’t set one up yet, see the Environment guide first. macOS alternatives are provided where available.

Web Exploitation

Web challenges involve SQL injection, cross-site scripting, authentication bypasses, server-side template injection, and more. These four tools cover the vast majority of what you’ll need.
Verify the installs
Configure Burp Suite’s built-in browser proxy on 127.0.0.1:8080 and install the Burp CA certificate in your browser once — it will intercept all HTTPS traffic without certificate errors for every future challenge.

Cryptography

Crypto challenges range from classical ciphers to modern RSA and elliptic-curve attacks. You’ll need both command-line utilities and Python libraries.
Verify the installs
Reach for SageMath whenever a challenge involves modular arithmetic, polynomial rings, lattice reduction (LLL), elliptic curves, or factoring large integers. Its built-in factor(), discrete_log(), and Matrix types save you from implementing textbook algorithms from scratch. For everything else — XOR bruteforcing, base64 gymnastics, padding oracle attacks — plain Python with pycryptodome is faster to write and run.

Binary Exploitation

Pwn challenges require you to understand memory layout, craft shellcode, and automate exploit development. This category has the steepest tooling setup, so take your time.
Install PEDA as an alternative GDB plugin (optional)
pwndbg and PEDA cannot be active at the same time. If you installed pwndbg via its setup script it already wrote to ~/.gdbinit. Comment out one or the other depending on which you prefer for a given session.
Verify pwntools is working Run the following snippet to confirm pwntools is installed correctly and can perform basic operations:

Reverse Engineering

Reverse engineering (RE) challenges ask you to analyse compiled binaries, firmware, or bytecode to understand what a program does and extract flags hidden in its logic. Ghidra is the de facto open-source tool for this work.
Install GhidraGhidra requires Java 17 or later. Install the JDK first, then download and extract Ghidra from the official NSA GitHub releases page.
apt
manual
When you open a binary in Ghidra for the first time, let the auto-analysis run to completion before exploring. It resolves function signatures, identifies strings, and marks up cross-references — saving you significant manual effort.
Useful Ghidra workflow for CTF RE challenges

Password Cracking

Password cracking challenges present you with hashed credentials or encrypted archives. John the Ripper and Hashcat are the two most widely used tools — John excels at versatility and format auto-detection, while Hashcat leverages GPU acceleration for speed.
Verify the installs
Common cracking one-liners
On a fresh Kali install the rockyou wordlist is compressed. Decompress it once with sudo gunzip /usr/share/wordlists/rockyou.txt.gz before use.

Forensics

Forensics challenges hand you disk images, packet captures, steganography puzzles, and memory dumps. The tools below let you extract, analyze, and reconstruct hidden data.
Useful one-liners to get started

General Utilities

These tools are small, fast, and universally useful across every CTF category. Most are already present in Kali or Parrot OS — install any that are missing.
CyberChef — CyberChef is a browser-based tool for encoding, decoding, hashing, and transforming data without installing anything. Bookmark the hosted version at gchq.github.io/CyberChef, or run it locally:
Quick sanity checks for general utilities

Full installation script

If you want to set up every tool in one shot on a fresh Kali or Parrot OS install, save the following as install_ctf_tools.sh and run it as a user with sudo privileges.
Review any script before running it with elevated privileges. Read through install_ctf_tools.sh and adjust the tool list for your competition category before executing — there is no reason to install Autopsy and Volatility if you’re only doing web and crypto challenges.
Last modified on July 23, 2026