AI-Assisted Fuzzing
Supplementary Files:
payloads.md — Tool commands and payloads organized by 9 phases (target analysis, corpus preparation, AFL++ execution, libFuzzer, Honggfuzz, web API fuzzing, protocol fuzzing, crash analysis, quick start checklist)
test-cases.md — Structured test case templates (4 cases covering binary discovery, web API, protocol, and file format fuzzing)
Extended Guides (guides/):
guides/coverage-guided-fuzzing.md — AFL++ internals, corpus management, mutation operators, parallel fuzzing, crash triage
guides/web-api-fuzzing.md — OpenAPI schema fuzzing, GraphQL fuzzing, REST boundary testing, authentication fuzzing
guides/protocol-fuzzing.md — Network protocol fuzzing, TLS/SSL fuzzing, custom binary protocols, BooFuzz framework
Summary
Coverage-guided fuzzing engines, AI-driven seed generation, intelligent mutation strategies, and systematic crash triage.
Tools: AFL++, libFuzzer, Honggfuzz, radare2, BooFuzz, wfuzz
Domain: ai
Skill Identity
| Attribute |
Value |
| Domain |
Vulnerability Discovery |
| Skill ID |
ai-fuzzing |
| Version |
1.0.0 |
| Hacker Laws |
Law 2 (First Principles), Law 5 (Trust but Verify), Law 7 (Divergent Thinking) |
| Related Skills |
binary-reverse, verification-loop, knowledge-ops, web-xss, web-sqli |
Description
AI-assisted fuzzing for automated vulnerability discovery. Coverage-guided fuzzing engines, AI-driven seed generation, intelligent mutation strategies, and systematic crash triage. Integrates with AFL++, libFuzzer, and Honggfuzz to maximize path exploration and uncover memory corruption, logic errors, and parsing flaws in binaries, web APIs, and network protocols.
Fuzzing is the single most effective technique for discovering unknown vulnerabilities at scale. This skill combines traditional coverage-guided approaches with AI-enhanced seed selection and mutation to dramatically increase the probability of reaching deep code paths that manual testing misses.
Use Cases
- Binary Vulnerability Discovery — Fuzz native binaries (C/C++/Rust) for memory corruption: buffer overflows, use-after-free, integer overflows, and null pointer dereferences
- Web API Fuzzing — Systematically test REST/GraphQL endpoints with malformed inputs, boundary values, and unexpected content types to uncover auth bypasses and injection flaws
- Protocol Fuzzing — Fuzz network protocol implementations (TLS, SSH, HTTP parsers, DNS resolvers) by generating malformed packets and invalid state transitions
- File Format Fuzzing — Fuzz parsers for complex file formats (images, documents, archives, media) to discover parsing vulnerabilities in consumer software
- Regression Testing — Maintain continuous fuzzing in CI/CD pipelines to catch regressions and newly introduced vulnerabilities before release
Core Tools
| Tool |
Purpose |
Command Example |
| AFL++ |
Advanced coverage-guided fuzzer, fork of AFL with enhanced instrumentation |
afl-fuzz -i seeds/ -o output/ -m none -- ./target @@ |
| libFuzzer |
LLVM/Clang built-in fuzzer, in-process coverage-guided fuzzing |
clang -fsanitize=fuzzer,address target.c && ./a.out corpus/ |
| Honggfuzz |
Feedback-driven fuzzer with hardware-based coverage (Intel PT) |
honggfuzz -i seeds/ -o output/ -- ./target |
| radare2 |
Crash analysis, reverse engineering, vulnerability root cause identification |
r2 -A crash_sample && pdf @ vuln_func |
| BooFuzz |
Python-based network protocol fuzzer, Sulley successor |
python fuzz_template.py |
| wfuzz |
Web application fuzzer for parameter brute-forcing and injection testing |
wfuzz -z file,wordlist.txt http://target/FUZZ |
Methodology
Attack Chain
Phase 1 Phase 2 Phase 3
Target Analysis Corpus Preparation Fuzzing Execution
┌────────────┐ ┌──────────────┐ ┌──────────────┐
│ Binary ID │ │ Seed │ │ AFL++ / │
│ Attack │────>│ Creation & │────>│ libFuzzer / │
│ Surface │ │ Minimization │ │ Honggfuzz │
│ Map │ │ Quality │ │ Execution │
└────────────┘ └──────────────┘ └──────┬───────┘
│
Phase 6 Phase 5 Phase 4
Report & Crash Verification
Hardening Triage & PoC
┌────────────┐ ┌──────────────┐ ┌──────────────┐
│ Root Cause │<────│ Dedup & │<────│ Independent │
│ Analysis │ │ Severity │ │ Crash │
│ Advisory │ │ Classify │ │ Reproduction │
└────────────┘ └──────────────┘ └──────────────┘
Phase Details:
- Target Analysis — Identify binary format, architecture, and attack surface. Map input parsing functions, file format structures, and protocol state machines. Select fuzzer based on target type and available source/binary.
- Corpus Preparation — Collect seed inputs representing diverse code paths. Minimize corpus with
afl-cmin/afl-tmin. Generate dictionaries from format specifications and string analysis.
- Fuzzing Execution — Launch fuzzer with appropriate instrumentation. Monitor coverage growth and stability. Tune mutation parameters, dictionaries, and memory limits. Run parallel instances for multi-core utilization.
- Verification — Reproduce each unique crash independently. Eliminate false positives (ASAN glitches, OOM, timeout). Confirm exploitability with radare2/GDB analysis.
- Crash Triage — Deduplicate crashes by root cause. Classify severity (code execution, denial of service, information leak). Assess exploitability with exploitability metrics.
- Report & Hardening — Document root cause, affected versions, and reproduction steps. Recommend fixes (input validation, bounds checking, sanitizer integration). Feed crash patterns to knowledge-ops for future reference.
Defense Perspective
| Defense Technique |
Function |
How Attackers Respond |
| Address Sanitizer (ASAN) |
Runtime memory error detection, catches overflows and use-after-free |
Fuzz with ASAN builds to find bugs that only manifest with specific memory layouts |
| OSS-Fuzz |
Google's continuous fuzzing infrastructure for open-source projects |
Submit targets to OSS-Fuzz to discover vulnerabilities before attackers do |
| CI/CD Fuzzing |
Automated fuzzing in build pipelines (fuzz introspector, cifuzz) |
Integrate fuzzing into every PR to catch regressions at development time |
| Sanitizer Integration |
UBSan, MSan, TSan for undefined behavior, memory, and thread issues |
Combine multiple sanitizers during fuzzing to maximize bug detection |
| Coverage-Guided Testing |
Maximize code coverage metrics to improve test effectiveness |
Use coverage data to identify untested code paths and focus fuzzing efforts |
Practical Steps
For detailed commands and payloads see payloads.md, and for the complete test checklist see test-cases.md. Below is a summary of core operations for each phase.
1. Binary Fuzzing with AFL++
# Step 1: Instrument the target (source available)
afl-clang-fast -o target_fuzz target.c -fsanitize=address
# Step 2: Prepare minimal seed corpus
mkdir seeds/ && echo "sample" > seeds/seed1
afl-cmin -i seeds/ -o seeds_min/ -- ./target_fuzz @@
# Step 3: Launch fuzzer
afl-fuzz -i seeds_min/ -o findings/ -m none -- ./target_fuzz @@
# Step 4: Analyze crashes
afl-showmap -o /dev/null -- ./target_fuzz findings/default/crashes/id:000001*
2. Web API Fuzzing
# Fuzz API parameters with wfuzz
wfuzz -z file,/usr/share/seclists/Fuzzing/big.txt \
--hc 404,400 http://target/api/v1/FUZZ
# Boundary value testing
wfuzz -z range,0-255 http://target/api/v1/users?id=FUZZ
# Content-type manipulation
for ct in application/json text/xml application/x-www-form-urlencoded; do
curl -X POST -H "Content-Type: $ct" -d '{"test":"data"}' http://target/api/v1/endpoint
done
3. Protocol Fuzzing with BooFuzz
# Define protocol structure and fuzz
from boofuzz import *
session = Session(target=Target(connection=TCPSocketConnection("target", 8080)))
s_initialize("request")
s_string("GET", fuzzable=True)
s_delim(" ", fuzzable=True)
s_string("/api/endpoint", fuzzable=True)
s_delim(" ", fuzzable=True)
s_string("HTTP/1.1", fuzzable=True)
s_static("\r\n\r\n")
session.connect(s_get("request"))
session.fuzz()
4. Crash Analysis Workflow
# Analyze crash with radare2
r2 -A findings/default/crashes/id:000001*
aaa # Full analysis
pdf @ sym.vulnerable_func # Disassemble crash location
db sym.vulnerable_func # Set breakpoint at crash site
dc # Run until breakpoint
# Analyze ASAN report for root cause
# Look for heap-buffer-overflow, stack-use-after-scope, etc.
ASAN_SYMBOLIZER_PATH=llvm-symbolizer ./target_fuzz crash_input
Detection Methods
Fuzzer Process Detection
- Process names:
afl-fuzz, libFuzzer, honggfuzz, boofuzz, peach, winAFL running on production systems.
- High CPU signatures: Sustained 100% CPU on a single process; pattern of crashes + restarts.
- Mutator signatures: Distinctive mutations in input (long strings, hex patterns, special characters).
- Coverage instrumentation: SanitizerCoverage / DynamoRIO / Pin agent loaded into target binary.
Target Application Indicators
- Crash dumps accumulation: Spike in
core files, .dmp files, /var/crash/ entries.
- ASAN/MSAN reports: Sanitizer error reports in stderr or syslog.
- OOM kills: Linux OOM killer activity; Windows low-memory events.
- Watchdog triggers: Service watchdog restart loops; systemd unit restart count spikes.
- Network protocol anomalies: Boofuzz/Peach patterns in protocol captures; malformed magic bytes; oversized lengths.
SIEM Detection Rules
- Splunk SPL:
index=linux sourcetype=auditd type=EXECVE | search a0 IN ("afl-fuzz","honggfuzz","boofuzz","Peach")
- Sysmon Event ID 1: Process creation; alert on
afl-fuzz.exe, winAFL.exe, boofuzz-* on production.
- Sigma rule:
sigma/rules/linux/fuzzing_tool_execution.yml
- Container runtime: Falco rule
Launching fuzzing tool in container.
Defense Evasion Techniques
Fuzzer Obfuscation
- Rename binary: Rename
afl-fuzz to network_monitor to evade process name detection.
- Static build: Statically compile fuzzer to avoid dynamic library dependencies.
- Memory-only execution: Load fuzzer via
memfd_create; no file artifacts.
- Slow fuzzing: Pace fuzzing below detection threshold (e.g., 10 exec/sec instead of 1000).
- Distribute load: Run fuzzer across multiple compromised hosts; aggregate crashes centrally.
Coverage Stealth
- User-mode-only instrumentation: Avoid kernel hooks (eBPF detection); use compile-time instrumentation.
- Standalone harness: Build custom harness rather than using LibFuzzer (avoid known signatures).
- Sanitizer alternatives: Use custom signal handlers instead of ASAN (avoid sanitizer signatures in core dumps).
- Process injection: Inject fuzzer into legitimate process (e.g.,
chrome.exe, python); inherits legitimate identity.
Crash Artifact Cleanup
- Immediate cleanup: Delete
core files, ASAN logs after each crash extraction.
- Custom logger: Replace default ASAN symbol printer with custom logger that writes to encrypted location.
- Stream test cases: Don't save crashing inputs to disk; stream over network to attacker-controlled collector.
- Disable apport/abrtd: Disable crash reporters on Linux (
systemctl stop apport).
Hacker Laws
| Law |
Manifestation in AI Fuzzing |
| First Principles |
Understand the target's input parsing logic before fuzzing. Coverage-guided fuzzing is most effective when you know which code paths are under-tested. Instrumentation reveals what the fuzzer actually reaches. |
| Trust but Verify |
Every crash requires independent reproduction. Fuzzer output includes many false positives (OOM, timeouts, ASAN glitches). Only independently confirmed crashes become findings. |
| Divergent Thinking |
When coverage plateaus, try unconventional approaches: custom mutators, grammar-based generation, protocol state machine fuzzing, or combining multiple fuzzers on the same target. |
Orchestration
ECC Pattern: Learning Cycle
┌─────────────────────────────────────────────────────────┐
│ Learning Cycle │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────────┐ │
│ │ Analyze │───>│ Fuzz │───>│ Triage │ │
│ │ Coverage │ │ Cycle │ │ Crashes │ │
│ └────┬─────┘ └──────────┘ └──────┬───────┘ │
│ │ │ │
│ │ ┌──────────┐ │ │
│ └────────│ Refine │<────────────┘ │
│ │ Strategy │ │
│ └──────────┘ │
└─────────────────────────────────────────────────────────┘
- Pattern: Learning Cycle (iterative refinement of fuzzing strategies based on coverage feedback)
- Rationale: Fuzzing is inherently iterative — seed quality, mutation strategies, and coverage improve with each cycle. Each round of triage informs the next fuzzing strategy.
- Integration:
binary-reverse — Crash analysis and root cause identification
verification-loop — Independent finding confirmation before reporting
knowledge-ops — Persisting crash patterns and successful mutation strategies for future campaigns
Cross-Skill Pipeline
codebase-onboarding → ai-fuzzing → verification-loop → article-writing
(target (discover (confirm each (document
analysis) crashes) crash) findings)
Quality Gate
| Gate |
Criteria |
| Pre-condition |
Target binary or schema is available and instrumented; seed corpus prepared |
| Post-condition |
Every reported crash reproduced independently with a different method |
| Verification |
verification-loop Phase 4 (Independent Confirmation) applied to each finding |
Learning Resources
Supplementary files for this skill:
payloads.md — Complete command collection organized by 9 phases (ready to copy and use)
test-cases.md — Structured test cases (4 scenarios with preconditions and expected results)
Extended guides (guides/):
guides/coverage-guided-fuzzing.md — AFL++ internals, mutation operators, corpus management, parallel fuzzing, crash triage, performance tuning
guides/web-api-fuzzing.md — OpenAPI schema fuzzing, GraphQL fuzzing, REST boundary testing, authentication fuzzing, Burp Suite integration
guides/protocol-fuzzing.md — Network protocol fuzzing, TLS/SSL fuzzing, custom binary protocol analysis, BooFuzz framework, real-world examples
Related skills:
skills/binary-reverse/SKILL.md — Crash analysis and reverse engineering (used in Phase 4/5)
skills/verification-loop/SKILL.md — Finding confirmation protocol (used in Quality Gate)
skills/api-security/SKILL.md — API attack surface analysis (informs web API fuzzing)
External resources:
1---2name: ai-fuzzing3description: AI-assisted fuzzing for automated vulnerability discovery. Coverage-guided fuzzing engines, AI-driven seed generation, intelligent mutation strategies, and systematic crash triage.4---56789# AI-Assisted Fuzzing1011> **Supplementary Files**:12> - `payloads.md` — Tool commands and payloads organized by 9 phases (target analysis, corpus preparation, AFL++ execution, libFuzzer, Honggfuzz, web API fuzzing, protocol fuzzing, crash analysis, quick start checklist)13> - `test-cases.md` — Structured test case templates (4 cases covering binary discovery, web API, protocol, and file format fuzzing)14>15> **Extended Guides** (`guides/`):16> - `guides/coverage-guided-fuzzing.md` — AFL++ internals, corpus management, mutation operators, parallel fuzzing, crash triage17> - `guides/web-api-fuzzing.md` — OpenAPI schema fuzzing, GraphQL fuzzing, REST boundary testing, authentication fuzzing18> - `guides/protocol-fuzzing.md` — Network protocol fuzzing, TLS/SSL fuzzing, custom binary protocols, BooFuzz framework1920## Summary2122Coverage-guided fuzzing engines, AI-driven seed generation, intelligent mutation strategies, and systematic crash triage.2324**Tools**: AFL++, libFuzzer, Honggfuzz, radare2, BooFuzz, wfuzz2526**Domain**: ai2728## Skill Identity2930| Attribute | Value |31|-----------|-------|32| Domain | Vulnerability Discovery |33| Skill ID | ai-fuzzing |34| Version | 1.0.0 |35| Hacker Laws | Law 2 (First Principles), Law 5 (Trust but Verify), Law 7 (Divergent Thinking) |36| Related Skills | binary-reverse, verification-loop, knowledge-ops, web-xss, web-sqli |3738## Description3940AI-assisted fuzzing for automated vulnerability discovery. Coverage-guided fuzzing engines, AI-driven seed generation, intelligent mutation strategies, and systematic crash triage. Integrates with AFL++, libFuzzer, and Honggfuzz to maximize path exploration and uncover memory corruption, logic errors, and parsing flaws in binaries, web APIs, and network protocols.4142Fuzzing is the single most effective technique for discovering unknown vulnerabilities at scale. This skill combines traditional coverage-guided approaches with AI-enhanced seed selection and mutation to dramatically increase the probability of reaching deep code paths that manual testing misses.4344---4546## Use Cases47481. **Binary Vulnerability Discovery** — Fuzz native binaries (C/C++/Rust) for memory corruption: buffer overflows, use-after-free, integer overflows, and null pointer dereferences492. **Web API Fuzzing** — Systematically test REST/GraphQL endpoints with malformed inputs, boundary values, and unexpected content types to uncover auth bypasses and injection flaws503. **Protocol Fuzzing** — Fuzz network protocol implementations (TLS, SSH, HTTP parsers, DNS resolvers) by generating malformed packets and invalid state transitions514. **File Format Fuzzing** — Fuzz parsers for complex file formats (images, documents, archives, media) to discover parsing vulnerabilities in consumer software525. **Regression Testing** — Maintain continuous fuzzing in CI/CD pipelines to catch regressions and newly introduced vulnerabilities before release5354---5556## Core Tools5758| Tool | Purpose | Command Example |59|------|---------|-----------------|60| **AFL++** | Advanced coverage-guided fuzzer, fork of AFL with enhanced instrumentation | `afl-fuzz -i seeds/ -o output/ -m none -- ./target @@` |61| **libFuzzer** | LLVM/Clang built-in fuzzer, in-process coverage-guided fuzzing | `clang -fsanitize=fuzzer,address target.c && ./a.out corpus/` |62| **Honggfuzz** | Feedback-driven fuzzer with hardware-based coverage (Intel PT) | `honggfuzz -i seeds/ -o output/ -- ./target` |63| **radare2** | Crash analysis, reverse engineering, vulnerability root cause identification | `r2 -A crash_sample && pdf @ vuln_func` |64| **BooFuzz** | Python-based network protocol fuzzer, Sulley successor | `python fuzz_template.py` |65| **wfuzz** | Web application fuzzer for parameter brute-forcing and injection testing | `wfuzz -z file,wordlist.txt http://target/FUZZ` |6667---6869## Methodology7071### Attack Chain7273```74 Phase 1 Phase 2 Phase 375 Target Analysis Corpus Preparation Fuzzing Execution76 ┌────────────┐ ┌──────────────┐ ┌──────────────┐77 │ Binary ID │ │ Seed │ │ AFL++ / │78 │ Attack │────>│ Creation & │────>│ libFuzzer / │79 │ Surface │ │ Minimization │ │ Honggfuzz │80 │ Map │ │ Quality │ │ Execution │81 └────────────┘ └──────────────┘ └──────┬───────┘82 │83 Phase 6 Phase 5 Phase 484 Report & Crash Verification85 Hardening Triage & PoC86 ┌────────────┐ ┌──────────────┐ ┌──────────────┐87 │ Root Cause │<────│ Dedup & │<────│ Independent │88 │ Analysis │ │ Severity │ │ Crash │89 │ Advisory │ │ Classify │ │ Reproduction │90 └────────────┘ └──────────────┘ └──────────────┘91```9293**Phase Details**:94951. **Target Analysis** — Identify binary format, architecture, and attack surface. Map input parsing functions, file format structures, and protocol state machines. Select fuzzer based on target type and available source/binary.962. **Corpus Preparation** — Collect seed inputs representing diverse code paths. Minimize corpus with `afl-cmin`/`afl-tmin`. Generate dictionaries from format specifications and string analysis.973. **Fuzzing Execution** — Launch fuzzer with appropriate instrumentation. Monitor coverage growth and stability. Tune mutation parameters, dictionaries, and memory limits. Run parallel instances for multi-core utilization.984. **Verification** — Reproduce each unique crash independently. Eliminate false positives (ASAN glitches, OOM, timeout). Confirm exploitability with radare2/GDB analysis.995. **Crash Triage** — Deduplicate crashes by root cause. Classify severity (code execution, denial of service, information leak). Assess exploitability with exploitability metrics.1006. **Report & Hardening** — Document root cause, affected versions, and reproduction steps. Recommend fixes (input validation, bounds checking, sanitizer integration). Feed crash patterns to knowledge-ops for future reference.101102### Defense Perspective103104| Defense Technique | Function | How Attackers Respond |105|-------------------|----------|----------------------|106| **Address Sanitizer (ASAN)** | Runtime memory error detection, catches overflows and use-after-free | Fuzz with ASAN builds to find bugs that only manifest with specific memory layouts |107| **OSS-Fuzz** | Google's continuous fuzzing infrastructure for open-source projects | Submit targets to OSS-Fuzz to discover vulnerabilities before attackers do |108| **CI/CD Fuzzing** | Automated fuzzing in build pipelines (fuzz introspector, cifuzz) | Integrate fuzzing into every PR to catch regressions at development time |109| **Sanitizer Integration** | UBSan, MSan, TSan for undefined behavior, memory, and thread issues | Combine multiple sanitizers during fuzzing to maximize bug detection |110| **Coverage-Guided Testing** | Maximize code coverage metrics to improve test effectiveness | Use coverage data to identify untested code paths and focus fuzzing efforts |111112---113114## Practical Steps115116> **For detailed commands and payloads see `payloads.md`, and for the complete test checklist see `test-cases.md`.** Below is a summary of core operations for each phase.117118### 1. Binary Fuzzing with AFL++119120```bash121# Step 1: Instrument the target (source available)122afl-clang-fast -o target_fuzz target.c -fsanitize=address123124# Step 2: Prepare minimal seed corpus125mkdir seeds/ && echo "sample" > seeds/seed1126afl-cmin -i seeds/ -o seeds_min/ -- ./target_fuzz @@127128# Step 3: Launch fuzzer129afl-fuzz -i seeds_min/ -o findings/ -m none -- ./target_fuzz @@130131# Step 4: Analyze crashes132afl-showmap -o /dev/null -- ./target_fuzz findings/default/crashes/id:000001*133```134135### 2. Web API Fuzzing136137```bash138# Fuzz API parameters with wfuzz139wfuzz -z file,/usr/share/seclists/Fuzzing/big.txt \140 --hc 404,400 http://target/api/v1/FUZZ141142# Boundary value testing143wfuzz -z range,0-255 http://target/api/v1/users?id=FUZZ144145# Content-type manipulation146for ct in application/json text/xml application/x-www-form-urlencoded; do147 curl -X POST -H "Content-Type: $ct" -d '{"test":"data"}' http://target/api/v1/endpoint148done149```150151### 3. Protocol Fuzzing with BooFuzz152153```python154# Define protocol structure and fuzz155from boofuzz import *156session = Session(target=Target(connection=TCPSocketConnection("target", 8080)))157s_initialize("request")158s_string("GET", fuzzable=True)159s_delim(" ", fuzzable=True)160s_string("/api/endpoint", fuzzable=True)161s_delim(" ", fuzzable=True)162s_string("HTTP/1.1", fuzzable=True)163s_static("\r\n\r\n")164session.connect(s_get("request"))165session.fuzz()166```167168### 4. Crash Analysis Workflow169170```bash171# Analyze crash with radare2172r2 -A findings/default/crashes/id:000001*173aaa # Full analysis174pdf @ sym.vulnerable_func # Disassemble crash location175db sym.vulnerable_func # Set breakpoint at crash site176dc # Run until breakpoint177178# Analyze ASAN report for root cause179# Look for heap-buffer-overflow, stack-use-after-scope, etc.180ASAN_SYMBOLIZER_PATH=llvm-symbolizer ./target_fuzz crash_input181```182183---184185## Detection Methods186187### Fuzzer Process Detection188- **Process names**: `afl-fuzz`, `libFuzzer`, `honggfuzz`, `boofuzz`, `peach`, `winAFL` running on production systems.189- **High CPU signatures**: Sustained 100% CPU on a single process; pattern of crashes + restarts.190- **Mutator signatures**: Distinctive mutations in input (long strings, hex patterns, special characters).191- **Coverage instrumentation**: SanitizerCoverage / DynamoRIO / Pin agent loaded into target binary.192193### Target Application Indicators194- **Crash dumps accumulation**: Spike in `core` files, `.dmp` files, `/var/crash/` entries.195- **ASAN/MSAN reports**: Sanitizer error reports in stderr or syslog.196- **OOM kills**: Linux OOM killer activity; Windows low-memory events.197- **Watchdog triggers**: Service watchdog restart loops; systemd unit restart count spikes.198- **Network protocol anomalies**: Boofuzz/Peach patterns in protocol captures; malformed magic bytes; oversized lengths.199200### SIEM Detection Rules201- **Splunk SPL**: `index=linux sourcetype=auditd type=EXECVE | search a0 IN ("afl-fuzz","honggfuzz","boofuzz","Peach")`202- **Sysmon Event ID 1**: Process creation; alert on `afl-fuzz.exe`, `winAFL.exe`, `boofuzz-*` on production.203- **Sigma rule**: `sigma/rules/linux/fuzzing_tool_execution.yml`204- **Container runtime**: Falco rule `Launching fuzzing tool in container`.205206## Defense Evasion Techniques207208### Fuzzer Obfuscation209- **Rename binary**: Rename `afl-fuzz` to `network_monitor` to evade process name detection.210- **Static build**: Statically compile fuzzer to avoid dynamic library dependencies.211- **Memory-only execution**: Load fuzzer via `memfd_create`; no file artifacts.212- **Slow fuzzing**: Pace fuzzing below detection threshold (e.g., 10 exec/sec instead of 1000).213- **Distribute load**: Run fuzzer across multiple compromised hosts; aggregate crashes centrally.214215### Coverage Stealth216- **User-mode-only instrumentation**: Avoid kernel hooks (eBPF detection); use compile-time instrumentation.217- **Standalone harness**: Build custom harness rather than using LibFuzzer (avoid known signatures).218- **Sanitizer alternatives**: Use custom signal handlers instead of ASAN (avoid sanitizer signatures in core dumps).219- **Process injection**: Inject fuzzer into legitimate process (e.g., `chrome.exe`, `python`); inherits legitimate identity.220221### Crash Artifact Cleanup222- **Immediate cleanup**: Delete `core` files, ASAN logs after each crash extraction.223- **Custom logger**: Replace default ASAN symbol printer with custom logger that writes to encrypted location.224- **Stream test cases**: Don't save crashing inputs to disk; stream over network to attacker-controlled collector.225- **Disable apport/abrtd**: Disable crash reporters on Linux (`systemctl stop apport`).226227## Hacker Laws228229| Law | Manifestation in AI Fuzzing |230|-----|----------------------------|231| **First Principles** | Understand the target's input parsing logic before fuzzing. Coverage-guided fuzzing is most effective when you know which code paths are under-tested. Instrumentation reveals what the fuzzer actually reaches. |232| **Trust but Verify** | Every crash requires independent reproduction. Fuzzer output includes many false positives (OOM, timeouts, ASAN glitches). Only independently confirmed crashes become findings. |233| **Divergent Thinking** | When coverage plateaus, try unconventional approaches: custom mutators, grammar-based generation, protocol state machine fuzzing, or combining multiple fuzzers on the same target. |234235---236237## Orchestration238239### ECC Pattern: Learning Cycle240241```242┌─────────────────────────────────────────────────────────┐243│ Learning Cycle │244│ │245│ ┌──────────┐ ┌──────────┐ ┌──────────────┐ │246│ │ Analyze │───>│ Fuzz │───>│ Triage │ │247│ │ Coverage │ │ Cycle │ │ Crashes │ │248│ └────┬─────┘ └──────────┘ └──────┬───────┘ │249│ │ │ │250│ │ ┌──────────┐ │ │251│ └────────│ Refine │<────────────┘ │252│ │ Strategy │ │253│ └──────────┘ │254└─────────────────────────────────────────────────────────┘255```256257- **Pattern**: Learning Cycle (iterative refinement of fuzzing strategies based on coverage feedback)258- **Rationale**: Fuzzing is inherently iterative — seed quality, mutation strategies, and coverage improve with each cycle. Each round of triage informs the next fuzzing strategy.259- **Integration**:260 - `binary-reverse` — Crash analysis and root cause identification261 - `verification-loop` — Independent finding confirmation before reporting262 - `knowledge-ops` — Persisting crash patterns and successful mutation strategies for future campaigns263264### Cross-Skill Pipeline265266```267codebase-onboarding → ai-fuzzing → verification-loop → article-writing268 (target (discover (confirm each (document269 analysis) crashes) crash) findings)270```271272### Quality Gate273274| Gate | Criteria |275|------|----------|276| **Pre-condition** | Target binary or schema is available and instrumented; seed corpus prepared |277| **Post-condition** | Every reported crash reproduced independently with a different method |278| **Verification** | verification-loop Phase 4 (Independent Confirmation) applied to each finding |279280---281282## Learning Resources283284**Supplementary files for this skill**:285- `payloads.md` — Complete command collection organized by 9 phases (ready to copy and use)286- `test-cases.md` — Structured test cases (4 scenarios with preconditions and expected results)287288**Extended guides** (`guides/`):289- `guides/coverage-guided-fuzzing.md` — AFL++ internals, mutation operators, corpus management, parallel fuzzing, crash triage, performance tuning290- `guides/web-api-fuzzing.md` — OpenAPI schema fuzzing, GraphQL fuzzing, REST boundary testing, authentication fuzzing, Burp Suite integration291- `guides/protocol-fuzzing.md` — Network protocol fuzzing, TLS/SSL fuzzing, custom binary protocol analysis, BooFuzz framework, real-world examples292293**Related skills**:294- `skills/binary-reverse/SKILL.md` — Crash analysis and reverse engineering (used in Phase 4/5)295- `skills/verification-loop/SKILL.md` — Finding confirmation protocol (used in Quality Gate)296- `skills/api-security/SKILL.md` — API attack surface analysis (informs web API fuzzing)297298**External resources**:299- [AFL++ Documentation](https://github.com/AFLplusplus/AFLplusplus/tree/stable/docs) — AFL++ architecture, usage, and best practices300- [libFuzzer Documentation](https://llvm.org/docs/LibFuzzer.html) — LLVM fuzzing library reference301- [OSS-Fuzz](https://github.com/google/oss-fuzz) — Google's continuous fuzzing service for open-source software302- [Fuzzing101](https://github.com/antonio-morales/Fuzzing101) — Step-by-step fuzzing tutorial with AFL++303- [The Fuzzing Book](https://www.fuzzingbook.org/) — Comprehensive fuzzing techniques reference