mredirisinghe/advanced-soc-dashboard

GitHub: mredirisinghe/advanced-soc-dashboard

一个基于 Python Flask 和 SQLite 的实时 SOC 监控平台,通过分析 Apache 日志自动检测 SQL 注入、XSS 等常见 Web 攻击并提供可视化安全告警。

Stars: 0 | Forks: 0

# 🛡️ 高级 SOC 分析师仪表板
![Python](https://img.shields.io/badge/Python-3.x-blue?style=for-the-badge\&logo=python) ![Flask](https://img.shields.io/badge/Flask-Web_App-black?style=for-the-badge\&logo=flask) ![SQLite](https://img.shields.io/badge/SQLite-Database-blue?style=for-the-badge\&logo=sqlite) ![Linux](https://img.shields.io/badge/Linux-Kali%20%7C%20Termux-yellow?style=for-the-badge\&logo=linux) ![Security](https://img.shields.io/badge/Cybersecurity-SOC-red?style=for-the-badge) ### 🚨 实时威胁检测与 SOC 监控平台 一个基于 Python 的安全运营中心 (SOC) 监控平台,使用 Flask 和 SQLite 执行实时日志分析、威胁检测、MITRE ATT&CK 映射以及安全事件可视化。
# 📸 实时演示
## 🎥 SOC 仪表板演示
# 🚀 功能 ✅ 实时 Apache 日志监控 ✅ SQL Injection 检测 ✅ XSS 攻击检测 ✅ Command Injection 分析 ✅ Directory Traversal 检测 ✅ MITRE ATT&CK 映射 ✅ 严重性分类 ✅ 基于 Flask 的 SOC 仪表板 ✅ SQLite 事件存储 ✅ 多机器 SOC 架构 # 🧠 使用的技术 | 技术 | 用途 | | ----------- | -------------------------- | | Python | 后端与检测引擎 | | Flask | SOC 仪表板 | | SQLite | 事件存储 | | Apache2 | 日志生成 | | HTML/CSS/JS | 前端界面 | | Linux | 安全环境 | | Kali Linux | SOC 分析机 | | Termux | 目标 Web 服务器 | # 🏗️ SOC 架构 ``` [Termux Apache Server] ↓ [Apache Access Logs] ↓ [detector.py Threat Engine] ↓ [SQLite Database] ↓ [Flask SOC Dashboard] ``` # 📂 项目结构 ``` advanced-soc/ │ ├── app.py ├── detector.py ├── requirements.txt ├── README.md ├── .gitignore │ ├── database/ │ └── soc.db │ ├── logs/ │ └── access.log │ ├── templates/ │ └── dashboard.html │ ├── static/ │ ├── style.css │ └── app.js │ ├── screenshots/ │ ├── dashboard.png │ ├── detector.png │ └── alerts.png │ └── demo/ ├── soc-demo.mp4 └── soc-demo.gif ``` # 🔥 支持的威胁检测 | 威胁类型 | 严重性 | MITRE ATT&CK | | ------------------- | -------- | ------------ | | SQL Injection | HIGH | T1190 | | XSS 攻击 | MEDIUM | T1059 | | Command Injection | CRITICAL | T1059.004 | | Directory Traversal | CRITICAL | T1083 | # ▶️ 运行项目 ## 1️⃣ 克隆仓库 ``` git clone https://github.com/mredirisinghe/advanced-soc-dashboard.git cd advanced-soc-dashboard ``` ## 2️⃣ 安装依赖 ``` pip install -r requirements.txt ``` ## 3️⃣ 启动检测引擎 ``` python detector.py ``` ## 4️⃣ 启动仪表板 ``` python app.py ``` ## 5️⃣ 打开仪表板 ``` http://localhost:5000 ``` # 📸 截图 ## 🖥️ SOC 仪表板 ![仪表板](https://raw.githubusercontent.com/mredirisinghe/advanced-soc-dashboard/main/screenshots/dashboard.png) ## 🚨 威胁检测引擎 ![检测器](https://raw.githubusercontent.com/mredirisinghe/advanced-soc-dashboard/main/screenshots/detector.png) ## 📊 安全警报 ![警报](https://static.pigsec.cn/wp-content/uploads/repos/cas/c1/c19ad2c8f7e11ecfedd5b26d9774bfcc4300c992e164458f96d6d2b9506b1772.png) # 💼 LinkedIn 项目标题 # 👨‍💻 作者 M.P.J.K Edirisinghe 网络安全爱好者 | SOC 分析师 | Python 开发者 # ⭐ 未来改进 * 实时 WebSocket 更新 * 基于 AI 的威胁评分 * Elasticsearch 集成 * 威胁情报源 * 高级 SIEM 关联规则 * 用户身份验证 * PDF 事件报告
### 🛡️ 专为 SOC 分析、威胁监控与检测工程而开发
标签:CISA项目, Flask, Python, SQLite, Web安全, 安全运营, 对抗机器学习, 扫描框架, 无后门, 蓝队分析, 逆向工具