H4G CTF Training Hub

Your localized training vault. Select a CTF challenge type to filter playbooks, specific cheatsheets, and solver tools.

Browse Writeups (1,140+) 0xrefs Command Reference
Practice progress Loading...
Syncs dynamically with your checkboxes in REV Practice.md
Type at least 2 characters.

Reverse Engineering (REV)

Static/dynamic analysis of compiled binaries, custom VMs, obfuscated code, and decompilers.

Machine Exploitation

Network scanning, privilege escalation, Windows/Linux environments, Active Directory, and lateral pivoting.

Web Exploitation

Vulnerability analysis of web apps. SQL Injection, Command Injection, LFI/RFI, SSRF, XSS, and directory fuzzing.

PWN (Binary Exploitation)

Compromising native binaries. Buffer overflows, format string vulnerabilities, shellcode injection, and ROP chain exploitation.

Steganography

Extracting hidden payloads from files. Analyzing metadata, color-plane channels, and embedded zip files.

Cryptography

Analyzing and breaking ciphers. XOR, AES, RSA, stream ciphers, hash functions, MACs, TLS, and custom crypto attacks.

Building Blocks (Crypto101 — Part II)

Ch.5 — XOR & One-Time Pads XOR as a programmable inverter, bitwise XOR, one-time pad construction, perfect secrecy proof, and attacks when the pad is reused.
Ch.6 — Block Ciphers (AES / DES) Block cipher permutations, AES S-boxes and rounds, DES and 3DES structure, key sizes, and why ECB mode leaks patterns.
Ch.7 — Stream Ciphers & Modes CBC mode, predictable-IV attacks, bit-flipping, PKCS#7 padding oracle, RC4, Salsa20, CTR mode, and authenticated operation modes.
Ch.8 — Key Exchange (DH / ECDH) Abstract Diffie-Hellman, discrete logarithm hardness, ECDH over elliptic curves, and forward secrecy motivation.
Ch.9 — Public-Key Encryption (RSA / ECC) RSA key generation and math, why textbook RSA is broken, OAEP padding, and elliptic curve cryptography basics.
Ch.10 — Hash Functions MD5, SHA-1, SHA-2, SHA-3/Keccak, collision attacks, pre-image resistance, password storage, and length extension attacks.
Ch.11 — MACs (HMAC / GCM / OCB) MAC authentication, encrypt-then-MAC ordering, HMAC construction, Carter-Wegman, GCM, and OCB authenticated encryption modes.
Ch.12 — Signature Algorithms (DSA / ECDSA) RSA signatures, DSA construction, ECDSA nonce reuse vulnerability (the PS3 exploit), and repudiable authenticators.
Ch.13 — Key Derivation Functions Password stretching with PBKDF2, bcrypt, scrypt, and HKDF for deriving subkeys from shared secrets or passwords.
Ch.14 — Random Number Generators True RNGs vs CSPRNGs, Yarrow entropy pool, Blum Blum Shub, the Dual_EC_DRBG NSA backdoor story, and Mersenne Twister weaknesses.

OSINT

Open-source intelligence. Domain reconnaissance, public lookup registries, and passive fingerprinting.

Forensics

Incident response analysis. Network traffic packets, event system logs, and shell trace analysis.

Reporting & Vault Hubs

Cross-cutting indices, documentation templates, interactive panels, and overall indices.