reverse-skills-max: initial public release (restored, redacted, hardened)
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
# pentest-ai-agents 覆盖矩阵
|
||||
|
||||
> 参考自 [0xSteph/pentest-ai-agents](https://github.com/0xSteph/pentest-ai-agents)(1.3k stars,MIT)
|
||||
> 35 个 Claude Code 渗透子 agent 的能力映射。可作为我们 pentest-tools skill 的方法论参考。
|
||||
|
||||
---
|
||||
|
||||
## 安装方式(外部可选)
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/0xSteph/pentest-ai-agents/main/install.sh | bash
|
||||
```
|
||||
|
||||
或者只参考其 prompt 模式,不实际安装。
|
||||
|
||||
---
|
||||
|
||||
## Agent 覆盖矩阵
|
||||
|
||||
### 攻击类(Tier 1 咨询 + Tier 2 执行)
|
||||
|
||||
| Agent | 覆盖领域 | 核心工具 | 对应我们的 skill |
|
||||
|-------|---------|---------|-----------------|
|
||||
| engagement-planner | 渗透计划/ROE/ATT&CK 映射 | — | pentest-tools |
|
||||
| recon-advisor | 信息收集/目标优先级 | nmap, masscan, subfinder, httpx | pentest-tools |
|
||||
| osint-collector | OSINT/邮箱/社交/泄露 | theHarvester, sherlock, holehe | pentest-tools |
|
||||
| vuln-scanner | 漏洞扫描 | nuclei, nikto, RouterSploit | pentest-tools |
|
||||
| web-hunter | Web 渗透 | ffuf, sqlmap, dalfox, Commix | pentest-tools |
|
||||
| api-security | API 安全 | OWASP API Top 10, JWT, OAuth | pentest-tools / js-reverse |
|
||||
| ad-attacker | AD 攻击 | BloodHound, Impacket, Certipy | pentest-tools |
|
||||
| credential-tester | 密码破解 | Hashcat, John, Hydra, CeWL | pentest-tools |
|
||||
| cloud-security | 云渗透 | aws/az/gcloud, Prowler, Pacu | pentest-tools |
|
||||
| mobile-pentester | 移动端 | Frida, Objection, jadx, MobSF | apk-reverse |
|
||||
| wireless-pentester | 无线 | aircrack-ng, bettercap, wifite | pentest-tools |
|
||||
| social-engineer | 社工 | GoPhish, Evilginx | pentest-tools |
|
||||
| payload-crafter | Payload 生成 | msfvenom, Donut | pentest-tools |
|
||||
| reverse-engineer | 逆向 | Ghidra, Radare2, JadX, Binwalk | ida-reverse / radare2 |
|
||||
| phishing-operator | 钓鱼基础设施 | Evilginx, GoPhish, dnstwist | pentest-tools |
|
||||
| exploit-chainer | 攻击链组合 | 多步骤链式利用 | pentest-tools |
|
||||
| poc-validator | PoC 验证 | 安全执行验证脚本 | pentest-tools |
|
||||
| bug-bounty | Bug Bounty | HackerOne/Bugcrowd 方法论 | pentest-tools |
|
||||
| bizlogic-hunter | 业务逻辑漏洞 | 价格篡改/竞态条件 | pentest-tools / js-reverse |
|
||||
| cicd-redteam | CI/CD 攻击 | GitHub Actions, GitLab CI | pentest-tools |
|
||||
| c2-operator | C2 操作 | Sliver, Mythic, Havoc | pentest-tools |
|
||||
| container-breakout | 容器逃逸 | Docker/K8s escape, runc CVE | pentest-tools |
|
||||
| opsec-anonymizer | 操作安全 | 身份隐匿/指纹管理 | pentest-tools |
|
||||
| llm-redteam | AI/LLM 红队 | Garak, PyRIT, Promptfoo | pentest-tools |
|
||||
| attack-planner | 攻击路径规划 | ATT&CK 映射/链评分 | pentest-tools |
|
||||
| swarm-orchestrator | 多 agent 协调 | 并行工作流 | — |
|
||||
|
||||
### 防御/分析类
|
||||
|
||||
| Agent | 覆盖领域 | 核心工具 | 对应我们的 skill |
|
||||
|-------|---------|---------|-----------------|
|
||||
| detection-engineer | 检测规则 | Sigma, Splunk SPL, KQL | — |
|
||||
| threat-modeler | 威胁建模 | STRIDE/DREAD | — |
|
||||
| forensics-analyst | 取证 | Volatility 3, Autopsy, YARA | CTF-Sandbox-Orchestrator |
|
||||
| malware-analyst | 恶意软件分析 | Volatility, YARA, Wireshark | reverse-engineering |
|
||||
| stig-analyst | 合规审计 | DISA STIG | — |
|
||||
|
||||
### 报告/学习类
|
||||
|
||||
| Agent | 覆盖领域 | 对应我们的 skill |
|
||||
|-------|---------|-----------------|
|
||||
| report-generator | 渗透报告 | docs-generator |
|
||||
| ctf-solver | CTF 解题 | CTF-Sandbox-Orchestrator |
|
||||
|
||||
---
|
||||
|
||||
## 关键设计模式(可复用)
|
||||
|
||||
### 1. Tier 1 / Tier 2 分层
|
||||
|
||||
- **Tier 1(咨询)**:AI 只给建议和分析,用户自己执行命令
|
||||
- **Tier 2(执行)**:AI 可以直接执行命令,但每步需要用户确认
|
||||
|
||||
这个模式适合我们的 pentest-tools skill——默认 Tier 1,用户明确授权后升级到 Tier 2。
|
||||
|
||||
### 2. Scope Guard(范围守卫)
|
||||
|
||||
每个 Tier 2 agent 执行前都会验证目标是否在授权范围内。硬拒绝列表:
|
||||
- DoS 攻击
|
||||
- 大规模无差别扫描
|
||||
- 自动蠕虫
|
||||
- 假旗操作
|
||||
- 影响生命安全的系统
|
||||
|
||||
### 3. Findings Database
|
||||
|
||||
用 SQLite 持久化存储发现的漏洞,跨会话保持。类似我们的 field-journal 但更结构化。
|
||||
|
||||
### 4. /recommend 路由
|
||||
|
||||
用户输入自由文本描述任务,AI 自动路由到最合适的 agent。这和我们的路由矩阵是同一个思路。
|
||||
|
||||
---
|
||||
|
||||
## 与我们的包的互补关系
|
||||
|
||||
| 他们有我们没有 | 建议 |
|
||||
|--------------|------|
|
||||
| AD 攻击专项 agent | 可以在 pentest-tools 中加 AD 攻击参考 |
|
||||
| 检测工程(Sigma/SPL/KQL) | 未来可新增 detection-engineering skill |
|
||||
| 威胁建模(STRIDE/DREAD) | 可集成到 docs-generator 的报告模板 |
|
||||
| C2 操作 | 暂不集成(需要实际 C2 框架) |
|
||||
| LLM 红队 | 新兴领域,未来可新增 |
|
||||
|
||||
| 我们有他们没有 | 优势 |
|
||||
|--------------|------|
|
||||
| 按需自举(bootstrap) | 他们需要手动装工具 |
|
||||
| 自动进化(field-journal) | 他们没有经验沉淀 |
|
||||
| 跨版本符号迁移(binary-diff) | 他们没有 |
|
||||
| 浏览器/桌面自动化 | 他们没有 |
|
||||
| 图表生成 | 他们没有 |
|
||||
Reference in New Issue
Block a user