A Python-based Security Operations Center (SOC) automation project designed to demonstrate log analysis, detection engineering, alert correlation, incident investigation, and MITRE ATT&CK mapping.
This project simulates a SOC workflow using Python scripts to analyze Windows security events, identify suspicious activity, generate alerts, and support incident investigations.
The lab demonstrates how security analysts automate repetitive monitoring tasks and investigate security events using Python.
- Demonstrate SOC automation using Python.
- Automate Windows Security Event Log analysis.
- Detect suspicious authentication activity.
- Correlate multiple security events into incidents.
- Produce professional SOC investigation reports.
- Demonstrate practical SOC Analyst automation skills.
- Microsoft Sentinel Integration
- Microsoft Defender XDR Integration
- Elastic SIEM Integration
- Splunk Integration
- Sysmon Log Support
- Automated IOC Detection
- Threat Intelligence Enrichment
- Detects Windows Event ID 4625
- Identifies repeated authentication failures
- Supports brute-force detection scenarios
- Detects Windows Event ID 4672
- Identifies elevated account activity
- Highlights privilege escalation indicators
- Detects Windows Event ID 4720
- Identifies newly created user accounts
- Supports persistence detection scenarios
- Correlates multiple security events
- Assigns severity ratings
- Detects potential attack chains
- Produces consolidated alerts
- Documents findings
- Assesses severity
- Provides response recommendations
| Event ID | Technique | Description |
|---|---|---|
| 4625 | T1110 | Brute Force |
| 4672 | T1078 | Valid Accounts |
| 4720 | T1136 | Create Account |
| Detection | Event ID | Severity |
|---|---|---|
| Failed Login Attempts | 4625 | High |
| Privileged Activity | 4672 | High |
| Account Creation | 4720 | Medium |
| SOC Alert Correlation | Multiple | Critical |
- Python
- Linux
- Termux
- Git
- GitHub
- MITRE ATT&CK
Python-SOC-Automation-Lab
├── logs
│ └── security.log
├── reports
│ ├── mitre_mapping.md
│ └── python_soc_investigation_report.txt
├── screenshots
│ ├── account_creation_detector.png
│ ├── failed_login_detector.png
│ ├── privileged_activity_detector.png
│ └── soc_alert_engine.png
├── scripts
│ ├── account_creation_detector.py
│ ├── failed_login_detector.py
│ ├── privileged_activity_detector.py
│ └── soc_alert_engine.py
└── README.md
- reports/executive_summary.md
- reports/python_soc_investigation_report.txt
- reports/mitre_mapping.md
- Python Log Parsing
- Detection Engineering
- Security Monitoring
- Threat Detection
- Event Correlation
- Incident Investigation
- SOC Operations
- MITRE ATT&CK Mapping
- Microsoft Sentinel Integration
- Microsoft Defender XDR Integration
- Elastic SIEM Integration
- Splunk Integration
- Sysmon Log Support
- Automated IOC Detection
- Threat Intelligence Enrichment
Thabo Sakonta
Microsoft Certified Security Operations Analyst (SC-200)
- GitHub: https://github.com/thabosakonta-wq
- LinkedIn: https://www.linkedin.com/in/thabo-sakonta-377a3748
This project is intended for educational, research, and portfolio demonstration purposes.



