performing-fuzzing-with-aflplusplus
它能做什么
这个工具用于发现计算机程序中的缺陷。它会用大量不同的输入去测试程序,看它是否崩溃或出现异常行为,尤其关注安全问题。
适用场景
- ✓当你要测试程序的安全性时。
- ✓当你要寻找攻击者可能利用的漏洞时。
- ✓当你要检查程序在压力下能否正常工作时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-fuzzing-with-aflplusplus/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“用 AFL++ 在我的程序“my_app”中查找漏洞。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会修改程序,以跟踪哪些部分被执行。然后它会生成大量变化的输入数据喂给程序,观察程序在哪里出错。如果发现问题,它会尝试将问题隔离,方便修复。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Instrument the target binary with
afl-ccorafl-clang-fast - Prepare seed corpus directory with minimal valid inputs
- Minimize corpus with
afl-cminto remove redundant seeds - Run
afl-fuzzwith appropriate flags (-i input -o output) - Monitor fuzzing progress via afl-whatsup and UI stats
- Triage crashes with
afl-tminminimization and CASR/GDB analysis - 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
常见问题
什么是“模糊测试”(fuzzing)?
模糊测试是一种软件测试技术,通过向程序提供无效、意外或随机的数据来发现缺陷,例如崩溃或内存泄漏。
什么是 AFL++?
AFL++ 是一款热门工具,可以自动化模糊测试的过程,让查找程序问题更轻松、更高效。
我需要会编程才能使用它吗?
工具本身比较技术化,但它的目的是让你不必从零编写测试代码,也能测试程序。你需要对命令行以及被测试的程序有一定了解。
详情
作者的原始描述
Performs coverage-guided fuzzing of compiled binaries with AFL++, instrumenting targets via afl-cc/afl-clang-fast, minimizing corpora with afl-cmin and afl-tmin, running parallel campaigns with afl-fuzz, and triaging crashes with CASR or GDB scripts. Use for binary fuzzing, crash and memory-corruption discovery, coverage-guided testing, or running AFL++ fuzzing campaigns. '
热度
- GitHub 星标
- 35k
- 排名
- #8233
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。