~/signal
terminal
$ file challenge
challenge: ELF 64-bit LSB executable
$ strings challenge | grep -i flag
flag{...}
Illustration · Signal
trend

Blue Water wins the DEF CON CTF Finals

After three second-place finishes, Blue Water took first at DEF CON 34.

Curated by Signal · 10/5/2026

Original: businesswire.com ↗

Getting started with CTF practice

A top-level CTF win rests on fundamentals practiced repeatedly. Below are common commands and workflows used across binary exploitation, reverse engineering, and web categories in CTF challenges.

Setting up a basic CTF environment

# Install common CTF tooling on Debian/Ubuntu
sudo apt install gdb binutils file strings netcat-openbsd python3-pip
 
# Install pwntools, the standard CTF exploitation library
pip3 install pwntools
 
# Install a disassembler/decompiler (Ghidra, free)
# download from https://ghidra-sre.org and run:
./ghidraRun

First steps with an unknown binary

# Identify file type
file challenge
 
# Check for basic protections (stack canary, NX, PIE, RELRO)
checksec --file=challenge
 
# List readable strings in the binary (often reveals hints or flags directly)
strings challenge | less
 
# Check which functions and symbols are present
objdump -d challenge | less
 
# Check dynamic library dependencies
ldd challenge

Basic reverse engineering workflow

# Disassemble the binary
objdump -d challenge > disassembly.txt
 
# Find the main function's address
objdump -d challenge | grep "<main>:"
 
# Set a breakpoint and step through in gdb
gdb ./challenge
(gdb) break main
(gdb) run
(gdb) step
 
# Examine memory at a given address
(gdb) x/20x $rsp

Basic binary exploitation workflow (pwntools)

from pwn import *
 
# Connect to a local binary or a remote challenge server
p = process('./challenge')
# p = remote('challenge.host', 1337)
 
# Send input and receive output
p.sendline(b'test input')
print(p.recvline())
 
# Craft a simple buffer overflow payload
payload = b'A' * 64 + p64(0xdeadbeef)
p.sendline(payload)
 
p.interactive()

Web category basics

# Check HTTP response headers for hints
curl -I https://challenge.host
 
# View page source for hidden comments or hints
curl -s https://challenge.host | grep -i "flag\|hint\|comment"
 
# Test common parameter injection points
curl "https://challenge.host/page?id=1' OR '1'='1"
 
# Check for exposed .git directories (common CTF mistake to find)
curl https://challenge.host/.git/config

Forensics category basics

# Identify a file's true type regardless of its extension
file mystery_file
 
# Extract hidden files embedded in an image (steganography)
steghide extract -sf image.jpg
 
# Search a binary/file for a flag pattern directly
strings mystery_file | grep -i "flag{"
 
# Examine a network capture for a flag transmitted in cleartext
tshark -r capture.pcap -Y "frame contains \"flag{\""

Cryptography category basics

# Identify common weak encodings quickly
echo "ZmxhZ3t0ZXN0fQ==" | base64 -d
 
# Try common classical cipher decoding (ROT13)
echo "synt{grfg}" | tr 'A-Za-z' 'N-ZA-Mn-za-m'
 
# Use CyberChef (web-based) for quick multi-format decoding when unsure of the encoding

A basic CTF practice checklist

1. Always start with file, strings, and checksec on an unknown binary
2. Keep a personal cheat-sheet of commands you reuse across challenges
3. Practice categories separately before attempting mixed CTFs
4. Review writeups of past challenges after solving (or failing) your own attempt
5. Build small practice scripts with pwntools so exploitation becomes repeatable

Curated summary. The original work belongs to its authors.

#ctf#def-con#competition
Related reading