Mahesh-830/wazuh-siem-alert-enrichment

GitHub: Mahesh-830/wazuh-siem-alert-enrichment

基于 Wazuh 和 Python 构建的自动化 SIEM 告警增强工具,解决安全告警缺乏上下文和事件报告手工生成效率低的问题。

Stars: 0 | Forks: 0

# 🛡️ NEXUS - 使用 Wazuh 和 Python 的自动化 SIEM 告警增强与事件报告 NEXUS 是一个使用 Wazuh 和 Python 构建的 SIEM(安全信息与事件管理)项目,可实现安全告警增强、风险评分、MITRE ATT&CK 映射、文件完整性监控 (FIM) 分析,以及为安全运营中心 (SOC) 工作流生成结构化的事件报告。 ![Python](https://img.shields.io/badge/Python-3.x-blue?logo=python) ![Wazuh](https://img.shields.io/badge/Wazuh-SIEM-green) ![Ubuntu](https://img.shields.io/badge/Ubuntu-24.04-E95420?logo=ubuntu) ![License](https://img.shields.io/badge/License-MIT-yellow) ## 📌 概述 本项目演示了使用 Wazuh 和 Python 自动化的 SIEM(安全信息与事件管理)工作流。它通过添加额外的调查上下文来增强导出的 Wazuh 告警,计算风险级别,提取文件完整性监控 (FIM) 信息,映射 MITRE ATT&CK 技术,并生成结构化的事件报告。 该项目模拟了从事件检测到自动化报告的 SOC 分析师工作流。 ## ✨ 功能 - 实时 Wazuh SIEM 监控 - 使用 Python 进行告警增强 - 风险评分计算 - MITRE ATT&CK 映射 - 文件完整性监控 (FIM) 提取 - MD5、SHA1 和 SHA256 哈希提取 - 自动化事件报告生成 - 专业的技术文档 ## 🏗️ 系统架构 ![系统架构](https://static.pigsec.cn/wp-content/uploads/repos/cas/e1/e17fa7201e0d73c17ffbab4bdeca93fc2fa8122ec07a44d257216e4358c08951.svg) ## 🔄 项目工作流 ![项目工作流](https://static.pigsec.cn/wp-content/uploads/repos/cas/ca/caa936dc31be4c23301693322b2c6d4418f86b37185f5d188ff58bd78095a854.svg) ## 📂 项目结构 ``` wazuh-enrichment/ ├── diagrams/ ├── docs/ ├── reports/ ├── screenshots/ ├── source_logs/ ├── enrich_alerts.py ├── incident_report.py ├── enriched_alerts.json ├── README.md ├── LICENSE ├── requirements.txt └── .gitignore ``` ## ⚙️ 使用的技术 - Wazuh SIEM - Ubuntu Server - Python 3 - Visual Studio Code - 文件完整性监控 (FIM) - MITRE ATT&CK 框架 ## 🚀 安装说明 ``` git clone https://github.com/Mahesh-830/wazuh-siem-incident-reporting.git cd wazuh-enrichment ``` 运行增强脚本: ``` sudo python3 enrich_alerts.py ``` 生成事件报告: ``` sudo python3 incident_report.py ``` ## 📊 示例输出 ### 增强后的告警 ``` { "risk_score": "High Risk", "mitre": "T1565", "file": "/var/www/html/index.php" } ``` ## 📚 文档 详细文档可在 `docs/` 目录中找到。 - 项目概述 - 系统架构 - 安装与配置 - 工作流 - Dashboard 分析 - Python 告警增强 - 测试与验证 - 故障排除 - 未来增强功能 ## 📄 许可证 本项目基于 MIT 许可证授权。
## 👤 作者 **开发者:** Mahesh Tilot **领域:** 网络安全 | SIEM | Python | 云安全
标签:Python, Wazuh, 安全告警富化, 安全运营中心 (SOC), 无后门, 逆向工具