SepJs/anubis
GitHub: SepJs/anubis
Anubis 是一款高级并发 Web 应用安全审计框架,提供从被动侦察到深度漏洞检测的多层级扫描能力,并内置 WAF 绕过、代理轮换和隐身规避等功能。
Stars: 4 | Forks: 0
# Anubis v2.0
```
█████╗ ███╗ ██╗██╗ ██╗██████╗ ██╗███████╗
██╔══██╗████╗ ██║██║ ██║██╔══██╗██║██╔════╝
███████║██╔██╗ ██║██║ ██║██████╔╝██║███████╗
██╔══██║██║╚██╗██║██║ ██║██╔══██╗██║╚════██║
██║ ██║██║ ╚████║╚██████╔╝██████╔╝██║███████║
╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═╝╚══════╝
```
**版本:** 2.0.0 | **作者:** Vladimir Unknown | **许可证:** MIT
## 功能
| 类别 | 功能 |
| ---------------- | ------------------------------------------------------------------------------ |
| **Engine** | Worker-pool 并发,原子状态,context 取消,零内存泄漏 |
| **Evasion** | 多态抖动,随机延迟,数据包填充,DPI 绕过 |
| **Proxy** | SOCKS5 / HTTP / HTTPS 轮换,健康检查,自动故障转移 |
| **Stealth** | 隐身模式,浏览器指纹伪装,cURL / Wget 模拟 |
| **Adaptive** | AI 驱动的延迟分析,基于趋势的速度调整,防频率限制 |
| **Scanner** | 9 个模块 + 子域名发现,CVSS 评分,启发式可能性分析 |
| **Reporting** | HTML(风险计、CVSS 向量),JSON,CSV + 加密的 SQLite 历史记录 |
| **API** | gRPC 远程控制,支持 TLS + token 认证 |
| **WAF Bypass** | 双重 URL 编码,嵌套 Base64,Unicode 转义,注释注入 |
| **Anti-Sandbox** | Honeypot 检测,沙箱环境识别 |
| **Security** | 输入清理,panic 恢复 → crash.log,精简且带 PIE 的二进制文件 |
| **Platform** | Linux / Windows / macOS,零 CGO 依赖,完全静态的二进制文件 |
## 快速安装
### Linux / macOS
```
git clone https://github.com/SepJs/anubis
cd anubis
make deps build
sudo cp anubis /usr/local/bin/
```
### macOS (Homebrew)
```
# 即将推出
brew install SepJs/anubis/anubis
```
### Windows (PowerShell)
```
Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/SepJs/anubis/main/install.ps1'))
```
## 使用方法
### 基础扫描
```
# 被动侦察(隐蔽)
anubis -t https://example.com -l 1
# 使用 ghost mode 进行主动扫描
anubis -t https://example.com -l 2 --ghost --strategy polymorphic
# 深度激进扫描
anubis -t https://example.com -l 3 --threads 20 --deep-scan
```
### 规避与隐身
```
# Ghost mode — 零 stdout 发现,最小请求
anubis -t https://example.com -l 2 --ghost
# 代理轮换 (SOCKS5)
anubis -t https://example.com --proxy socks5://127.0.0.1:9050
# Polymorphic delay — 在 4 种 delay pattern 之间轮换
anubis -t https://example.com -l 2 --strategy polymorphic
# 具有自定义方差的随机 jitter
anubis -t https://example.com -l 2 --strategy randomized
# 来自 config 的全面隐蔽 profile
anubis -c templates/default.yaml -t https://example.com
```
### 配置
```
# 使用带 profile 的 YAML config
anubis -c myconfig.yaml -t https://example.com -l 2
# 示例 config profile:
# stealth — 3 个线程,500ms delay,ghost mode,polymorphic
# aggressive — 50 个线程,10ms delay,固定 strategy
# default — 10 个线程,150ms delay,jitter strategy
```
### 高级功能
```
# Profile mode (CPU/mem/trace)
anubis -t https://example.com -l 1 --profile
# 恢复中断的扫描
anubis --resume
# 批量扫描目标
anubis --batch --batch-file targets.txt -l 1
# 更新到最新版本
anubis --update
# 生成文档
anubis --gendoc
```
## 架构
```
╭──────────────────────────────────────────────────────────────────────────────────╮
│ ANUBIS │
├──────────────┬───────────────────────────────────────────────────────────────────┤
│ ENGINE │ Worker-pool concurrency │ Atomic state │ Context cancellation │
│ │ Zero memory leaks │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ EVASION │ Polymorphic jitter │ Randomized delays │ Packet padding │
│ │ DPI bypass │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ PROXY │ SOCKS5/HTTP/HTTPS rotation │ Health checking │ Auto failover │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ STEALTH │ Ghost mode │ Browser fingerprint spoofing │ cURL/Wget mimicry │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ ADAPTIVE │ AI-driven latency analysis │ Trend-based speed adjustment │
│ │ Anti-rate-limit │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ SCANNER │ 9 modules + subdomain discovery │ CVSS scoring │
│ │ Heuristic likelihood analysis │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ REPORTING │ HTML (risk meter, CVSS vectors) │ JSON │ CSV │
│ │ Encrypted SQLite history │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ API │ gRPC remote control with TLS + token auth │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ WAF BYPASS │ Double URL encoding │ Nested Base64 │ Unicode escape │
│ │ Comment injection │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ ANTI-SANDBOX │ Honeypot detection │ Sandbox environment identification │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ SECURITY │ Input sanitization │ Panic recovery → crash.log │
│ │ Stripped + PIE binary │
├──────────────┼───────────────────────────────────────────────────────────────────┤
│ PLATFORM │ Linux / Windows / macOS │ Zero CGO dependencies │
│ │ Fully static binaries │
├──────────────┴───────────────────────────────────────────────────────────────────┤
│ Zero CGO │ Cross-Platform │ Static │
╰──────────────────────────────────────────────────────────────────────────────────╯
```
## 扫描模块
## | 模块 | 级别 | 描述 |
| ------------------- | ----- | ----------------------------------------- |
| **PORT_SCAN** | ⚪ L1 | TCP 端口扫描与服务检测 |
| **SSL_CHECK** | ⚪ L1 | TLS/SSL 证书分析 |
| **HEADERS** | ⚪ L1 | HTTP 安全标头审计 |
| **SENSITIVE_FILES** | ⚪ L1 | 敏感文件和目录发现 |
| **DNS** | 🟡 L2 | DNS 枚举和子域名发现 |
| **SQLI** | 🟡 L2 | SQL 注入检测 |
| **XSS** | 🟡 L2 | 跨站脚本攻击检测 |
| **BRUTE_FORCE** | 🟡 L2 | 默认凭据测试 |
| **DISCOVERY** | 🟡 L2 | 被动 + 暴力破解子域名发现 |
| **FINGERPRINT** | 🔴 L3 | Web 技术栈指纹识别 |
### 级别概述
* ⚪ **L1 – Recon**:基础侦察和被动分析
* 🟡 **L2 – Attack**:主动漏洞测试
* 🔴 **L3 – Deep**:高级指纹识别和深度检查
**模块总数:** 9
## 打包
### Homebrew (macOS/Linux)
```
# 本地 tap
brew install --HEAD ./anubis.rb
# 未来:官方 tap
brew tap SepJs/anubis
brew install anubis
```
### PowerShell Gallery (Windows)
```
# 单行安装
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/SepJs/anubis/main/install.ps1'))
```
### Docker
```
FROM golang:1.21-alpine AS build
RUN apk add --no-cache git
COPY . /src
WORKDIR /src
RUN CGO_ENABLED=0 go build -o /anubis ./cmd/anubis
FROM alpine:3.19
RUN apk add --no-cache ca-certificates
COPY --from=build /anubis /usr/local/bin/anubis
ENTRYPOINT ["anubis"]
```
## 免责声明
本工具仅供**授权的安全测试**使用。扫描您不拥有或未获得书面测试许可的系统是违法行为。作者对滥用行为不承担任何责任。
标签:AI合规, EVTX分析, Go, Python工具, Ruby工具, WAF绕过, Web安全, 主机安全, 动态插桩, 密码管理, 无服务器架构, 日志审计, 蓝队分析, 请求拦截