amrutanshupandadeveloper/Threat-Intelligence-Aggregator
GitHub: amrutanshupandadeveloper/Threat-Intelligence-Aggregator
一款非 AI 驱动的威胁情报聚合器,支持从多个实时情报源采集 IOC 并持久化存储,自动生成可直接用于安全防护的封禁列表和关联报告。
Stars: 2 | Forks: 0
# 威胁情报聚合器(非 AI)
支持网站 + 实时情报源 + SQLite 持久化的威胁情报聚合器。
## 数据持久化(数据库)
- 数据库文件:`data/ti_aggregator.db`
- 保存所有解析/标准化后的 IOC,包含:
- `indicator`, `ioc_type`, `source`, `category`
- `first_seen`, `last_seen`, `seen_count`
- 将流水线运行历史保存在 `pipeline_runs` 中
## 运行网站(示例情报源)
```
python webapp.py
```
## 部署到 Vercel
本项目包含一个 Vercel Python Function 包装器:
- `api/index.py`
- `vercel.json`
部署步骤:
```
npm i -g vercel
vercel login
vercel
vercel --prod
```
Vercel 注意事项:生成的文件和 SQLite 数据使用 Vercel 上的临时 serverless 存储。它们适用于演示请求,但不保证持久化。如需完全持久化的生产环境部署,请使用托管的数据库/存储服务。
## 运行网站(实时 URL 情报源)
```
$env:TI_CONFIG="examples/live_feeds.json"
python webapp.py
```
## 运行 CLI(示例)
```
$env:PYTHONPATH="src"
python src/main.py --config examples/feeds.json --out outputs
```
## 运行 CLI(实时)
```
$env:PYTHONPATH="src"
python src/main.py --config examples/live_feeds.json --out outputs
```
## 输出文件
- `outputs/firewall_ip_blocklist.txt`
- `outputs/web_blocklist.txt`
- `outputs/edr_hash_blocklist.txt`
- `outputs/correlated_iocs.csv`
- `outputs/correlated_iocs.json`
- `outputs/threat_report.json`
- `outputs/threat_report.txt`
标签:IOC聚合, OSV, Python, SQLite, Vercel, 威胁情报, 安全运营, 开发者工具, 扫描框架, 数据泄露, 无后门, 网络信息收集, 误配置预防, 逆向工具