跳到正文
Skillpedia
测试35k · #8233

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-fuzzing-with-aflplusplus/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  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
常见问题

什么是“模糊测试”(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. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8233
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能