dzdzdzdzdzdz213/cyberpulse

GitHub: dzdzdzdzdzdz213/cyberpulse

CyberPulse 是一个基于 WebSocket 实时流和 3D 地球可视化的全球威胁情报展示平台,帮助安全团队直观监控网络攻击态势。

Stars: 0 | Forks: 0

# CyberPulse **实时全球威胁情报可视化** [![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square&logo=python&logoColor=white)](https://python.org) [![React](https://img.shields.io/badge/React-18-61DAFB?style=flat-square&logo=react&logoColor=white)](https://react.dev) [![License: MIT](https://img.shields.io/badge/License-MIT-00FF88?style=flat-square)](LICENSE) [![FastAPI](https://img.shields.io/badge/FastAPI-0.100+-009688?style=flat-square&logo=fastapi&logoColor=white)](https://fastapi.tiangolo.com) [![WebSocket](https://img.shields.io/badge/Real-time-WebSocket-FF6B6B?style=flat-square)](#)
一个实时 3D 网络攻击地图,展示正在发生的威胁。实时观看攻击轨迹划过全球——源头城市闪烁红光,攻击路径根据严重程度发光,并且每个事件都使用 MITRE ATT&CK 技术进行分类。 专为安全运营中心、威胁情报团队以及任何想了解互联网真实面貌的人打造。 ``` ┌─────────────────────────────────┐ │ CyberPulse Dashboard │ │ │ │ 3D Globe with attack arcs │ │ Real-time threat feed │ │ Live stats + severity charts │ │ MITRE ATT&CK classification │ └──────────────┬────────────────────┘ │ ┌──────────────┴────────────────────┐ │ Backend │ │ │ │ Threat Engine │ │ 58 source cities, 35 targets │ │ 10 attack types, weighted probs │ │ GeoIP + ASN + severity scoring │ │ │ │ WebSocket broadcast (sub-second) │ │ REST API for stats/history │ └───────────────────────────────────┘ ``` ## 功能特性 - **3D 地球可视化** — 旋转的地球仪带有动态攻击弧线、闪烁的源点和大气辉光效果 - **10 种攻击类型** — SSH 暴力破解、SQL 注入、端口扫描、DDoS、恶意软件 C2、钓鱼、勒索软件、零日漏洞利用、凭证填充、DNS 隧道 - **实时流传输** — WebSocket 在毫秒级内将每次攻击推送到仪表盘 - **58 个全球城市** — 攻击源根据真实世界的威胁行为者地理位置进行加权 - **MITRE ATT&CK 映射** — 每次攻击都使用技术 ID 分类(T1110、T1190、T1046 等) - **严重程度分级** — 严重/高/中/低,并带有视觉颜色编码(红/橙/黄/青) - **威胁评分** — 根据攻击类型、严重程度和上下文生成 1-100 的分数 - **实时统计** — 每分钟攻击次数、严重程度分布、主要攻击源国家 - **暗色主题** — 专为 SOC 环境设计的霓虹风格 UI ## 快速开始 ``` # Backend cd backend python -m venv venv && source venv/bin/activate pip install -r requirements.txt python main.py # API 位于 http://localhost:8080 # Frontend(单独的 terminal) cd frontend npm install npm run dev # Dashboard 位于 http://localhost:5173 ``` ## API | Endpoint | Method | 描述 | |----------|--------|-------------| | `/api/health` | GET | 平台健康检查 | | `/api/stats` | GET | 实时攻击统计数据 | | `/api/attacks` | GET | 最近 100 次攻击 | | `/ws` | WebSocket | 实时攻击数据流 | ### WebSocket 消息 ``` { "type": "attack", "data": { "id": "uuid", "timestamp": "2026-07-18T01:41:56Z", "source_ip": "185.220.101.34", "source_city": "Moscow", "source_country": "RU", "source_lat": 55.7558, "source_lng": 37.6173, "target_city": "New York", "target_country": "US", "target_lat": 40.7128, "target_lng": -74.0060, "attack_type": "SSH Brute Force", "severity": "critical", "mitre_id": "T1110", "description": "SSH brute force from known botnet node 185.220.101.34", "asn": "AS4134 (CHINANET)", "threat_score": 85 } } ``` ## 攻击类型 | 攻击类型 | MITRE | 严重程度分布 | |--------|-------|----------------------| | SSH 暴力破解 | T1110 | 5% 严重, 25% 高, 45% 中 | | SQL 注入 | T1190 | 15% 严重, 35% 高, 35% 中 | | 端口扫描 | T1046 | 2% 严重, 8% 高, 40% 中 | | DDoS | T1498 | 30% 严重, 40% 高, 25% 中 | | 恶意软件 C2 | T1071 | 25% 严重, 40% 高, 30% 中 | | 钓鱼 | T1566 | 10% 严重, 35% 高, 40% 中 | | 勒索软件 | T1486 | 50% 严重, 35% 高, 15% 中 | | 零日漏洞利用 | T1203 | 60% 严重, 30% 高, 10% 中 | | 凭证填充 | T1110.004 | 10% 严重, 30% 高, 45% 中 | | DNS 隧道 | T1071.004 | 10% 严重, 30% 高, 45% 中 | ## 技术栈 | 层级 | 技术 | |-------|-----------| | 前端 | React 18, Globe.gl, Three.js, TailwindCSS | | 后端 | Python 3.10+, FastAPI, WebSocket | | 数据 | Pydantic 模型, 内存存储 | | 样式 | 暗色主题, 霓虹点缀, CSS 动画 | ## 许可证 [![License: MIT](https://img.shields.io/badge/License-MIT-00FF88?style=flat-square)](LICENSE) MIT 许可证 — 随意使用、复刻和部署。
标签:3D攻击地图, AV绕过, FastAPI, Python, React, Syscalls, WebSocket, 依赖分析, 威胁情报, 安全可视化, 开发者工具, 无后门, 逆向工具