多阶段侦察与攻击面扫描器,将域名、IP、ASN、云资产和CVE映射到知识图谱中,并配备CVSS评分与合规性映射。

安全情报框架
Argus 是一个多阶段安全侦察与分析框架,专为专业渗透测试和攻击面评估而构建。它完全自主运行——无需 API 密钥、无需外部服务、无需账户。单条命令即可全面呈现组织的外部暴露面。
argus/
├── sources/ Certificate Transparency, passive DNS, brute force
├── correlators/ DNS resolution, CDN bypass, port scanning
├── intelligence/ 43 analysis modules
│ ├── Core TLS, HTTP, email, content discovery, JS secrets
│ ├── Graph Attack paths, compliance, CVE, anomaly detection
│ ├── Advanced SSRF chains, OAuth/GraphQL/WebSocket, BGP, stealth
│ └── Intelligence Deep CVE, API enumeration, cloud storage, threat intel
├── ontology/ Knowledge graph (NetworkX), entity model, pivot engine
├── output/ HTML report, executive report, CSV, JSON, terminal
└── web/ FastAPI real-time dashboard with WebSocket
引擎会构建一个知识图谱,涵盖所有已发现的实体——域名、IP、证书、组织、技术、开放端口——以及它们之间的关系。每条发现都会作为异常附加到图节点上,并带有 CVSS 3.1 评分、攻击路径关联和合规性映射。
要求: Python 3.9+、Linux/macOS/Termux
git clone https://github.com/DozerMx/Argus
cd Argus
pip install -r requirements.txt
Web UI(可选):
pip install fastapi uvicorn websockets
python argus.py -d TARGET [OPTIONS]
# CT log collection + DNS resolution + anomaly detection
python argus.py -d target.com
# Full 43-phase scan
python argus.py -d target.com --full
# Full scan with executive report
python argus.py -d target.com --full --output executive
# Full scan with authentication and fuzzing
python argus.py -d target.com --full --fuzz --auth
# Scan with known credentials
python argus.py -d target.com --full --auth --user admin --password admin123
# Subdomain brute force + AXFR
python argus.py -d target.com --brute --axfr
# Deep infrastructure: ASN + CDN bypass + ports
python argus.py -d target.com --deep --cdn-bypass --ports
# Stealth scan (paranoid jitter profile)
python argus.py -d target.com --full --stealth-profile paranoid
# Through Tor
python argus.py -d target.com --full --proxy socks5://127.0.0.1:9050
# Bulk scan from file
python argus.py -f targets.txt --full --output json
# Continuous monitoring with Slack alerts
python argus.py -d target.com --daemon --webhook https://hooks.slack.com/...
# Web UI dashboard
python argus.py --serve --ui-port 8080
Target:
-d DOMAIN Single target domain
-f FILE File with one domain per line
Scan Modules:
--full Enable all modules
--deep ASN, cloud detection, Wayback, reverse IP
--brute Subdomain brute force + permutations
--axfr DNS zone transfer
--cdn-bypass CDN/WAF origin IP discovery
--ports TCP port scan + banner grab (178 ports)
--jarm JARM TLS fingerprinting
--fuzz Parameter fuzzing (SQLi, XSS, SSRF, IDOR, traversal)
--auth Authentication analysis
--user USER Username for authenticated scanning
--password PASS Password for authenticated scanning
Output:
--output FORMAT terminal | html | executive | json | csv
--outfile PATH Output file path
-v Verbose logging
-q Quiet mode
Performance:
--threads N Concurrent threads (default: 30)
--timeout N Request timeout in seconds (default: 10)
--proxy URL Proxy (socks5://host:port or http://host:port)
--no-cache Disable disk cache
--stealth-profile paranoid | careful | normal | aggressive
Web UI:
--serve Launch real-time web dashboard
--ui-port N Web UI port (default: 8080)
Daemon:
--daemon Continuous monitoring mode
--webhook URL Webhook URL for alerts (Slack/Telegram)
--interval N Scan interval in hours (default: 6)
全基础设施的交互式图可视化,包含发现、风险评分和关系映射。单文件自包含。
以商业语言编写的摘要,包含攻击路径叙述、按框架分类的合规违规项、优先修复路线图和风险矩阵。
完整的机器可读输出,包括完整知识图谱、所有带 CVSS 评分的异常、攻击路径和扫描元数据。适合与 SIEM、工单系统或自定义工具集成。
内容发现
对每个存活域名测试 100+ 路径。可检测 .env 文件、Git 仓库、管理后台、备份压缩包、数据库转储、Spring Actuator 端点、GraphQL 接口等。包含 SPA/CDN 兜底(catch-all)检测——对任何 URL 都返回 200 的主机将通过模式验证正确处理,以消除误报。
模糊测试器 上下文感知的参数模糊测试。在选择载荷前推断参数类型(数字、字符串、路径、URL)。测试 SQLi(50 个载荷,基于错误和基于时间)、XSS(39 个载荷)、SSRF(45 个载荷,包括 AWS/GCP/Azure 元数据)、路径遍历(33 个载荷)、开放重定向和 IDOR。支持 WAF 检测与 3 级绕过。
认证分析 发现登录表单,自动提取 CSRF 令牌,检测并跳过 CAPTCHA。测试 132 种凭据组合,包括厂商默认值、泄露数据派生的密码和域名特定变体。JWT 分析,支持对弱密钥进行 HMAC 暴力破解。检测 OAuth/SSO 端点。
SSRF 链路 不局限于单端点检测。利用已确认的 SSRF 进行枢转:枚举 AWS IAM 凭据、GCP 服务账户令牌、Azure 托管身份令牌,并探测内部服务(Redis、Elasticsearch、Consul、Prometheus、Tomcat)。测试 Gopher 协议以获取 Redis 写入权限。
BGP 情报 通过 RIPEstat 和 BGPView 进行逐 IP AS 路径分析。映射 ASN、前缀、直连对等体、IXP 存在情况。将路由异常(多源 ASN)检测为 BGP 劫持指标。自动按 ASN 关联云提供商。
协议模糊测试器 OAuth 2.0:隐式流程检测、缺少 PKCE、开放 redirect_uri、缺少 state 参数、未认证的令牌端点。 GraphQL:完整内省(introspection)、深度限制测试、批量查询滥用、字段建议提取、变更(mutation)枚举。 WebSocket:来源绕过(CSWSH)、未认证升级。
云存储 针对 S3、Azure Blob Storage、Google Cloud Storage 和 DigitalOcean Spaces 测试目标名称的 35 种变体组合。公共存储桶可获取文件列表。私有存储桶则确认其存在。
深度 CVE 从响应头、横幅和页面内容中对 22 种技术(Apache、Nginx、PHP、OpenSSL、Tomcat、Spring、WordPress、jQuery、OpenSSH、Redis、MySQL 等)进行指纹识别。与版本化 CVE 数据库匹配,涵盖 2019–2024 年的严重漏洞。
威胁情报 通过公共 DNS 查询验证 DNS 黑名单(Spamhaus、SpamCop、SORBS、Barracuda)。检测 Tor 出口节点。对照已知的防弹托管提供商评估 ASN 声誉。所有来源均为公共数据——无需 API 密钥。
| 严重性 | 示例 |
|---|---|
| 严重 | 邮件伪造(无 SPF/DMARC)、暴露的 Spring Actuator 堆转储(heapdump)、SSRF 访问云元数据、已确认的 SQL 注入、公共 S3 存储桶、Git 配置泄露 |
| 高危 | 缺少 HSTS/CSP、管理后台、.env 文件、CORS 配置错误、JWT 使用弱算法、HTTP 请求走私、BGP 路由异常 |
| 中危 | TLS 未启用前向保密、GraphQL 内省、缺少安全响应头、通配符证书、API 规范暴露 |
| 低危 | 服务器版本披露、X-Powered-By 响应头、WordPress 检测 |
每条发现都会映射到适用的框架控制项:
Argus 构建一个关系图,连接:
Domain ── resolves_to ──> IP ── belongs_to ──> ASN
| |
+── has_cert ──> Certificate +── hosts ──> Domain
|
+── runs ──> Technology ── has_cve ──> CVE
图分析可生成:
每次扫描都会保存快照。后续扫描会与先前状态进行比较,并报告:
aiohttp>=3.9.0
dnspython>=2.4.0
networkx>=3.2.0
rich>=13.7.0
python-dateutil>=2.8.2
Web UI 可选依赖:
fastapi>=0.110.0
uvicorn[standard]>=0.29.0
websockets>=12.0
仅限授权安全测试使用。用户有责任确保在扫描任何目标之前已获得明确的书面授权。
github.com/DozerMx/Argus
| 范围 | 类别 | 覆盖范围 |
|---|
| 1–9 | 侦察 | CT 日志收集、被动 DNS、AXFR、子域名暴力枚举(2,500+ 单词 + 变体组合)、DNS 解析、IPv6、ASN 情报、CDN 源站绕过 |
| 10–17 | 表面分析 | TLS 指纹识别、HTTP 头分析、内容发现(100+ 路径)、JavaScript 机密扫描、供应链 CVE、缓存投毒、CORS、HTTP 走私探测 |
| 18–30 | 情报 | 邮件安全(SPF/DMARC/DKIM)、Wayback Machine、反向 IP、JARM C2 指纹识别、异常检测、CVSS 3.1 评分、攻击路径合成、合规性映射(OWASP/GDPR/ISO 27001/NIST/PCI-DSS)、CVE 关联、图分析、扫描差异 |
| 31–35 | 主动测试 | HTTP 请求走私(CL.TE/TE.CL/TE.TE)、跨组织关联、GNN 子域名预测、认证分析(表单/JWT/Basic Auth)、参数模糊测试(SQLi/XSS/SSRF/IDOR/路径遍历) |
| 36–39 | 高级 | BGP/AS 路径 + 云提供商关联、SSRF 链路枢转(云元数据、内部服务、Gopher)、OAuth/GraphQL/WebSocket 协议模糊测试、蜜罐检测 |
| 40–43 | 情报+ | 深度 CVE 指纹识别(22 种技术)、API/OpenAPI/Swagger 枚举、云存储枚举(S3/Azure/GCS/DO)、威胁情报(DNS 黑名单、Tor 出口节点、ASN 声誉) |