跳到主要内容
知仓学习社ZHICANG

performing-fuzzing-with-aflplusplus

Performs coverage-guided fuzzing of compiled binaries with AFL++, instrumenting

执行命令读文件写文件严重 0 · 高危 4mukul975/Anthropic-Cybersecurity-Skills

它会碰到什么

扫了多少4 个文本文件,23 KB
它会碰到什么执行命令读文件写文件
命中总数6 处
命中统计严重 0 · 高 4 · 中 2 · 低 0
逐条看命中(4 条严重或高危)
  • scripts/agent.py:20exec-spawn
    result = subprocess.run(cmd, capture_output=True, text=True, timeout=120)
  • scripts/agent.py:35exec-spawn
    result = subprocess.run(cmd, capture_output=True, text=True, timeout=600)
  • scripts/agent.py:114exec-spawn
    result = subprocess.run(cmd, capture_output=True, text=True, timeout=120)
  • scripts/agent.py:128exec-spawn
    result = subprocess.run(cmd, capture_output=True, text=True, timeout=30)

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Performing Fuzzing with AFL++

Overview

AFL++ is a community-maintained fork of American Fuzzy Lop (AFL) that provides coverage-guided

fuzzing for compiled binaries. It instruments targets at compile time or via QEMU/Unicorn mode

for binary-only fuzzing, then mutates input corpora to discover new code paths. AFL++ includes

advanced scheduling (MOpt, rare), custom mutators, CMPLOG for input-to-state comparison solving,

and persistent mode for high-throughput fuzzing.

When to Use

  • When conducting security assessments that involve performing fuzzing with aflplusplus
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • AFL++ installed (apt install afl++ or build from source)
  • Target binary source code (for compile-time instrumentation) or QEMU mode for binary-only
  • Initial seed corpus of valid inputs for the target format
  • Linux system with /proc/sys/kernel/core_pattern configured

Steps

  1. Instrument the target binary with afl-cc or afl-clang-fast
  2. Prepare seed corpus directory with minimal valid inputs
  3. Minimize corpus with afl-cmin to remove redundant seeds
  4. Run afl-fuzz with appropriate flags (-i input -o output)
  5. Monitor fuzzing progress via afl-whatsup and UI stats
  6. Triage crashes with afl-tmin minimization and CASR/GDB analysis
  7. Report unique crashes with reproduction steps

Expected Output

+++ Findings +++
  unique crashes: 12
  unique hangs: 3
  last crash: 00:02:15 ago
+++ Coverage +++
  map density: 4.23% / 8.41%
  paths found: 1847
  exec speed: 2145/sec

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。