miltonquinterog/soc-alert-triage
GitHub: miltonquinterog/soc-alert-triage
一个使用 Python 和 Pandas 对 Windows 安全日志进行分析、告警分类及基础威胁检测的教学型 SOC 模拟项目。
Stars: 0 | Forks: 0
# SOC 告警分诊
## 概述
SOC Alert Triage 是一个对新手友好的网络安全项目,使用 Python 开发,旨在模拟安全运营中心 (SOC) Level 1 分析师执行的常见任务。
该项目分析以 CSV 格式存储的 Windows 安全事件日志,并通过简单的检测脚本帮助识别可疑活动。
本项目作为我网络安全学习和作品集的一部分而创建。
## 目标
- 分析 Windows 安全事件日志。
- 按严重程度对安全告警进行分类。
- 检测可能的暴力破解攻击。
- 识别可疑 IP 地址。
- 使用 Python 练习日志分析。
## 技术栈
- Python 3
- Pandas
- Git
- GitHub
- Kali Linux
## 项目结构
```
soc-alert-triage/
│
├── data/
│ └── windows_security.csv
│
├── scripts/
│ ├── alert_classifier.py
│ ├── brute_force_detector.py
│ └── suspicious_ips.py
│
├── reports/
│
├── requirements.txt
└── README.md
```
## 脚本
### alert_classifier.py
根据严重级别对 Windows 安全事件进行分类。
示例:
| Event ID | Severity |
|----------|----------|
|4624|Low|
|4625|Medium|
|4672|High|
|4720|Critical|
### brute_force_detector.py
检测可能表明存在暴力破解攻击的重复失败登录尝试 (Event ID 4625)。
### suspicious_ips.py
显示产生安全事件数量最多的 IP 地址。
## 安装说明
克隆仓库。
```
git clone https://github.com/miltonquinterog/soc-alert-triage.git
```
进入项目目录。
```
cd soc-alert-triage
```
安装依赖项。
```
pip install -r requirements.txt
```
## 用法
单独运行任意脚本。
示例:
```
python scripts/alert_classifier.py
```
## 展示的技能
- 日志分析
- 安全事件分类
- 基础威胁检测
- Python 编程
- 使用 Pandas 进行数据分析
- Git 版本控制
## 作者
Milton Quintero
网络安全学生
GitHub:
https://github.com/miltonquinterog
标签:Python, 代码示例, 告警分类, 安全运营, 扫描框架, 数据分析, 无后门, 网络安全研究