Fuzzing methodology (Tier 2, crash-risky) — coverage-guided fuzzing with AFL++, network/protocol fuzzing with boofuzz, and mutation fuzzing with radamsa, including harness construction and corpus/dictionary setup. Use to discover memory-corruption and logic crashes in binaries, parsers, and network services. Gated: run against lab/authorized targets; fuzzing a live service is DoS-capable.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Fuzzing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-fuzzing)
---
name: fuzzing
description: "Fuzzing methodology (Tier 2, crash-risky) — coverage-guided fuzzing with AFL++, network/protocol fuzzing with boofuzz, and mutation fuzzing with radamsa, including harness construction and corpus/dictionary setup. Use to discover memory-corruption and logic crashes in binaries, parsers, and network services. Gated: run against lab/authorized targets; fuzzing a live service is DoS-capable."
---
# Fuzzing (coverage-guided, protocol, mutation)
Automated bug discovery by feeding malformed/mutated input and watching for crashes/hangs. Pick the technique by target: AFL++ for binaries with a harness, boofuzz for network protocols, radamsa for quick mutation. Fuzzing can crash/DoS targets — run in a lab or with explicit RoE.
## Trigger phrases
`fuzzing, afl++, afl, boofuzz, radamsa, libfuzzer, coverage guided, harness, corpus, protocol fuzzing, mutation fuzzing`
## Execution gate
Record in `./.zazy/scope.md`:
(a) **Lab/authorized target for fuzzing?** → yes = run campaigns.
(b) No → **no live fuzzing**: instead identify the parser/attack surface and its version, and recommend lab fuzzing. Fuzzing a production service is DoS-capable and needs explicit written RoE (and ideally a dedicated instance).
## Method
1. **Pick technique:**
- **Source/recompilable binary → AFL++/libFuzzer** (coverage-guided, best ROI).
- **Black-box binary → AFL++ QEMU mode (`-Q`)** or Frida mode.
- **Network protocol → boofuzz** (stateful, define the protocol).
- **Quick file-format mutation → radamsa**.
2. **Build a harness:** for libFuzzer/AFL++, write a small `LLVMFuzzerTestOneInput`/stdin-reading driver that calls the target parsing function directly; compile with `afl-clang-fast`/`-fsanitize=fuzzer,address` for coverage + ASan.
3. **Seed corpus + dictionary:** collect valid sample inputs (real files/packets) as the starting corpus; add a `-x` dictionary of format tokens/magic bytes to help the fuzzer reach deep states.
4. **Run:** `afl-fuzz -i corpus -o out -- ./target @@` (parallel: one `-M` master + several `-S` secondaries); monitor `afl-whatsup`, exec/sec, coverage, unique crashes/hangs.
5. **Protocol (boofuzz):** model requests as `s_initialize`/`s_string`/`s_block`, define the session + target monitor (process/socket), run and watch for crashes via the monitor.
6. **Mutation (radamsa):** `radamsa -o out-%n sample` then replay through the target; cheapest way to shake out fragile parsers.
7. **Triage output:** feed unique crashes to `crash-analysis` (bucket with `casr`/`afl-collect`), minimize with `afl-tmin`.
## Modern / rare techniques
- **[NEW] Persistent-mode + ASan harness** (AFL++ `__AFL_LOOP`) for 10–100x throughput and immediate memory-bug detection.
- **[RARE] CmpLog / RedQueen (`-c`)** to solve magic-value/checksum comparisons that stall naive fuzzers.
- **[NEW] Snapshot/Nyx fuzzing** for stateful targets and kernels; **Frida-mode** for closed-source libraries.
- **[RARE] Structure-aware fuzzing** (protobuf/grammar) for highly structured formats.
## Escalation / chaining
Crashes → `crash-analysis` (triage) → `exploit-development` (weaponize). Known-vulnerable component instead of 0-day hunt → `vulnerable-components`. Kernel fuzzing → `linux-kernel-exploits`/`windows-kernel-exploits` context.
## Backend & tooling
Kali/WSL-Kali lab / dedicated fuzzing VM: `AFL++` (`afl-clang-fast`, QEMU/Frida modes), `libFuzzer`, `boofuzz`, `radamsa`, `honggfuzz`, `casr`/`afl-collect`, `afl-tmin`. Scale with multiple cores; never point at production without the gate cleared.
## Verification (background, before reporting)
Reproduce each unique crash outside the fuzzer from a clean state before reporting; de-duplicate so you report distinct bugs, not duplicate crash files. A crash is a lead until `crash-analysis` gives a verdict. Report reproducible, de-duplicated crashes.
## Evidence
Harness/setup, corpus + dictionary, campaign stats (exec/s, coverage, unique crashes), and the reproducible crashing inputs handed to triage. Remediation: fix the crashing parsers, add the regression inputs to the project's test/CI fuzzing, enable ASan in CI, and continuous fuzzing (OSS-Fuzz-style).