offensive-tools/fuzzing/aflplusplus/SKILL.md
Coverage-guided fuzzing framework for source and binary targets. Use when fuzzing C/C++ projects, parsers, CLI tools, or emulated binaries with high throughput, sanitizer-driven triage, and mature campaign orchestration.
npx skillsauth add aeondave/malskill aflplusplusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AFL++ is a modern AFL fork with stronger instrumentation, mutation strategies, and binary-only options.
# Build target with AFL++ wrappers
CC=afl-cc CXX=afl-c++ ./configure --disable-shared --disable-werror
make -j"$(nproc)"
# Fuzz stdin target
afl-fuzz -i seeds -o out -- ./target_bin
# Fuzz file-based target
afl-fuzz -i seeds -o out -- ./target_bin @@
afl-clang-lto (or afl-clang-fast fallback).afl-cmin).-o dir.CMPLOG/Redqueen) in parallel.afl-tmin, replay under sanitizer, and bucket by stack/PC.| Flag | Description |
|------|-------------|
| -i <dir> | Seed corpus directory |
| -o <dir> | Output campaign directory |
| -x <dict> | Dictionary for structured tokens |
| -m <mb> | Memory limit |
| -t <ms> | Per-exec timeout |
| -M / -S | Parallel main/secondary instances |
| -d | Skip deterministic stage (faster starts) |
Useful env variables in real campaigns:
AFL_USE_ASAN=1 / AFL_USE_UBSAN=1 for sanitizer build variants.AFL_LLVM_CMPLOG=1 for compare tracing binary used with -c.AFL_LLVM_LAF_ALL=1 for compare splitting (when needed).AFL_IMPORT_FIRST=1 to sync-import queue items early.AFL_TMPDIR=/dev/shm/... to reduce disk I/O pressure.# 1) Corpus cleanup
afl-cmin -i seeds -o seeds_min -- ./parser @@
# 2) Main instance
afl-fuzz -M main -i seeds_min -o out -- ./parser @@
# 3) Secondary instances (example)
afl-fuzz -S fast -i seeds_min -o out -p fast -- ./parser @@
afl-fuzz -S explore -i seeds_min -o out -p explore -- ./parser @@
# 4) Resume campaign later
afl-fuzz -i - -o out -- ./parser @@
# 5) Minimize crash for triage
afl-tmin -i out/default/crashes/id:000000* -o crash.min -- ./parser @@
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) to bypass blockers in harness builds.-m, -t) on unstable targets: noisy campaigns.data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.