devPruebaDataunix/Data-Attack-Offensive-Tools
GitHub: devPruebaDataunix/Data-Attack-Offensive-Tools
基于 Claude Code 的红队多智能体框架,通过 18 个专家智能体、范围守护和漏洞 RAG 覆盖渗透测试全流程并支持 Telegram 远程控制。
Stars: 1 | Forks: 0
Data Attack — 进攻性工具
包含 18 个专家智能体的套件,用于渗透测试和授权的 bug bounty。
基于 Claude Code 原生子智能体的 hub-and-spoke 编排,具备确定性范围守护、漏洞 RAG 和 Telegram 远程控制功能。
sesión principal (hub)"] SG{{"🛡️ scope_guard.py
hook PreToolUse"}} BB[("🗒️ Blackboard
engagement.json")] RAGDB[("📚 RAG KEV+EPSS
rag/ (SQLite)")] subgraph E1["🟦 E1 · Recon"] R["osint-recon · active-recon · recon-suite"] end subgraph E2["🟥 E2 · Explotación"] X["vuln-triage · nuclei · web-exploit · web-fuzzing
sqlmap · network-exploit · post-exploit · lateral-discovery
metasploit · netexec · sliver · c2-exfil · ai-security"] end subgraph E3["🟩 E3 · Cierre"] C["reporting · knowledge-postmortem"] end ORQ ==>|delega / recoge| E1 & E2 & E3 E1 -.->|targets| BB E2 -.->|findings| BB E3 -.->|lecciones / informe| BB BB -.->|reinyecta lecciones| ORQ X ==>|consulta CVE| RAGDB SG -.->|valida cada comando| E2 ORQ -.->|lee alcance| SG ``` ## 在 Kali 上的部署 (E2) 从零开始搭建全新的 Kali → 只需一条命令即可获得完整环境: ``` git clone https://github.com/devPruebaDataunix/Data-Attack-Offensive-Tools.git data-attack && cd data-attack chmod +x deploy/*.sh && sudo ./deploy/auto-deploy.sh ``` 安装并**验证**整个工具链(nmap、ProjectDiscovery、ffuf、sqlmap、Metasploit、NetExec、Sliver、BloodHound……)、Claude Code、RAG 以及 Telegram bot。详见 [DEPLOY.md](DEPLOY.md) 和 [bot/README.md](bot/README.md)。 ## 支持的平台 | 平台 | 加载方式 | 状态 | | :--- | :--- | :--- | | **Claude Code** (CLI + VS Code 扩展) | `.claude/agents/*.md` + `.claude/settings.json` | ✅ 主要目标 | | **opencode** | `.opencode/agent/*.md` + `opencode.json` | ✅ 同等镜像 | | **VS Code** | 通过 Claude Code 扩展,使用工作区中相同的 `.claude/` 文件夹 | ✅ 无需更改 | ## 快速安装 (Claude Code) ``` # 1. 将内容复制到你的 engagement workspace 根目录 # (.claude/ 文件夹必须保留在项目根目录) # 2. 在开始之前定义授权的 scope: copy contracts\scope.example.json contracts\scope.json # 使用 engagement 的 domains/IPs/CIDR 编辑 scope.json # 3. 在该文件夹中打开 Claude Code 并验证 agents: # /agents # 4. 检查 scope hook 是否处于活动状态: # 检查 .claude/settings.json -> hooks.PreToolUse ``` ## 18 个智能体 按隔离区分布。每个智能体都预设了其模型、工具和权限;编排器会决定在每个阶段调用哪一个。
🟦 E1 区域 · Recon (3)
| 智能体 | 模型 | 功能 | | :--- | :--- | :--- | | **osint-recon** | haiku-4-5 | 被动 recon:在不触碰目标的情况下映射攻击面。 | | **active-recon** | sonnet-4-6 | 主动 recon:端口/服务枚举与扫描。 | | **recon-suite** | sonnet-4-6 | 现代工具包:subfinder、amass、dnsx、httpx。 |🟥 E2 区域 · 漏洞利用 (13)
| 智能体 | 模型 | 功能 | | :--- | :--- | :--- | | **vuln-triage** | sonnet-4-6 | 通过查询 RAG 对漏洞进行优先级排序(KEV/exploit/EPSS/CVSS)。 | | **nuclei** | sonnet-4-6 | 使用 ProjectDiscovery 模板进行漏洞扫描。 | | **web-exploit** | opus-4-8 | Web 应用漏洞利用(HTTP/S 第 7 层)。 | | **web-fuzzing** | sonnet-4-6 | 使用 ffuf/feroxbuster 进行内容发现和 fuzzing。 | | **sqlmap** | sonnet-4-6 | 自动化 SQL 注入,sqlmap 高级操作员。 | | **network-exploit** | opus-4-8 | 针对非 HTTP 网络服务和基础设施的漏洞利用。 | | **post-exploit** | opus-4-8 | 对 scope 内已攻陷的主机进行后渗透。 | | **lateral-discovery** | sonnet-4-6 | 从立足点进行内部发现和横向移动。 | | **metasploit** | sonnet-4-6 | Metasploit Framework 高级操作员。 | | **netexec** | sonnet-4-6 | 针对Windows/AD环境的 NetExec (nxc) + Impacket。 | | **sliver** | sonnet-4-6 | 用于后渗透的 Sliver C2(开源)操作员。 | | **c2-exfil** | sonnet-4-6 | 受控的 C2、数据渗漏和影响模拟。 | | **ai-security** | opus-4-8 | 针对 AI/LLM 应用的 Red teaming (OWASP LLM Top 10)。 |🟩 E3 区域 · 收尾 (2)
| 智能体 | 模型 | 功能 | | :--- | :--- | :--- | | **reporting** | opus-4-8 | 撰写报告:CVSS 3.1 + 攻击向量、MITRE ATT&CK、攻击链。 | | **knowledge-postmortem** | sonnet-4-6 | 从每次尝试中学习;将经验教训写入持久化内存。 |基于风险等级的审批
每个命令都被分类到一个层级(`bot/intel/risk.py`),并应用相应的策略: | 层级 | 示例 | 策略 | | :--- | :--- | :--- | | **safe** | subfinder, amass, whois | 自动批准 | | **normal** | nmap, nuclei, ffuf | 要求 ✅/⛔ | | **sensitive** | sqlmap, hydra, bloodhound | 要求 ✅/⛔ | | **destructive** | netexec, secretsdump, mimikatz | 要求 ✅/⛔ | | **critical** | sliver, msfvenom, C2 | **二次确认** | 超时将被视为拒绝。在底层,`scope_guard.py` hook 依然适用。
Suite de agentes ofensivos sobre Claude Code · uso autorizado
⭐ Si te resulta útil, deja una estrella
标签:AI智能体, Claude Code, XSS, 实时处理, 密码管理, 应用安全, 漏洞情报, 自动化编排