A reproducible, production-grade enterprise security research platform designed for realistic cyber attack simulation, telemetry collection, Sigma-aligned detection engineering, automated incident response (SOAR), and live SOC monitoring.
The lab is partitioned into four isolated network zones with strict trust boundaries:
graph TD
subgraph SimulationZone ["Simulation / External DMZ (172.28.10.0/24)"]
Attacker["Attacker Simulation Node (172.28.10.100)"]
EdgeProxy["Edge Reverse Proxy (172.28.10.5)"]
end
subgraph AppTierZone ["Application & Data Tier (172.28.30.0/24)"]
PortalApp["Enterprise Web Portal & API (172.28.30.10)"]
AppDB["Relational Database (172.28.30.20)"]
end
subgraph CorpZone ["Corporate Internal Network (172.28.20.0/24)"]
ADDC["AD Domain Controller (172.28.20.10)"]
LinuxSrv["Linux Server / SSH Bastion (172.28.20.15)"]
WinWkstn["Windows Workstation (172.28.20.25)"]
end
subgraph SecMonZone ["Security & Monitoring Network (172.28.90.0/24)"]
SIEM["SIEM & Central Telemetry Collector (172.28.90.10)"]
Dashboard["Interactive SOC Web Dashboard & SOAR (172.28.90.10:8088)"]
end
Attacker -->|HTTP / HTTPS| EdgeProxy
EdgeProxy -->|Forward HTTP:8000| PortalApp
PortalApp -->|SQL Queries:5432| AppDB
PortalApp -.->|LDAP Lookup:389| ADDC
PortalApp ==>|HTTP JSON Events:8088| SIEM
LinuxSrv ==>|Syslog UDP:5514| SIEM
ADDC ==>|Security EventLog:8088| SIEM
SIEM --> Dashboard
- Interactive SOC Web Dashboard: High-aesthetic single-page console (
http://localhost:8088/dashboard) with real-time telemetry metrics, MITRE ATT&CK heat grid, alert triage feed, incident workbench, and live subsystem diagnostics. - Guided Investigation UX: Structured 7-step analyst lifecycle:
Alert➔Incident➔Timeline➔Evidence➔MITRE ATT&CK➔Response➔Resolution - Live SOC Metrics Engine: Derives real operational metrics (Mean Time to Detect, Mean Time to Respond, Detection Rate, False Positive Rate, MITRE Coverage Score, and Composite System Health).
- Multi-Format Incident Reporting: Synthesizes 12-section incident response reports in Markdown, JSON, and self-contained styled HTML.
- Detection Engineering Pipeline: 30 high-fidelity Sigma-aligned detection rules spanning all 10 MITRE ATT&CK tactics with real-time alerting.
- Attack Simulation & Detection Validation: 24 deterministic attack scenarios and 6 benign negative controls ensuring 100% detection coverage and 0% false positives.
- Automated Incident Response (SOAR): Multi-source log correlation, automated root-cause analysis, account disablement, host network isolation, IP blocking, and reversible action rollback.
- Deep Health Diagnostics: Live operational checks verifying all 7 infrastructure and security subsystems.
python3 cli.py serve --port 8088Open your browser to: http://localhost:8088/dashboard
# Terminal SOC dashboard
python3 cli.py dashboard
# Operational security metrics
python3 cli.py metrics# Run all simulation scenarios
python3 cli.py simulate
# Simulate a specific scenario (e.g. LSASS Memory Dump)
python3 cli.py simulate --scenario SCN-CRED-004
# Generate full MITRE ATT&CK coverage report
python3 cli.py coverage# Investigate attack scenario
python3 cli.py investigate --scenario SCN-CRED-004
# Execute incident response playbooks
python3 cli.py respond --playbook credential
python3 cli.py respond --playbook lateral
python3 cli.py respond --playbook malware
# Review immutable SOAR audit trail
python3 cli.py audit# Terminal Markdown report
python3 cli.py report --format md
# Export printable HTML report
python3 cli.py report --format html --output incident_report.html
# Export structured JSON report
python3 cli.py report --format json --output incident_report.json# Execute deep diagnostics across all 7 subsystems
python3 cli.py health
# Validate network segmentation and firewall isolation
python3 cli.py validate
# Run the complete test suite
python3 -m pytest -vDetailed technical documentation is available in the docs/ directory:
- Demonstration & Portfolio Guide: Step-by-step reproduction walkthrough.
- Target Architecture: Subnet zoning, trust boundaries, and telemetry topology.
- Threat Model: STRIDE threat modeling and asset classification.
- MITRE ATT&CK Coverage Matrix: Complete mapping of 30 detection rules across 10 tactics.
- Detection Engineering Reference: Rule definitions and Sigma mapping.
- Incident Response Guide: Investigation correlation engine and SOAR playbooks.
- Centralized Logging Architecture: ECS normalization schemas.
- Testing & Quality Assurance Guide: Test execution and validation scripts.
- Troubleshooting & Operations: Port conflicts and operational diagnostics.
- Future Improvements & Roadmap: Distributed streaming, eBPF, and LLM co-pilot roadmap.
- Security Assumptions & Invariants: Safety guardrails and trust invariants.
- Known Limitations: Technical trade-offs and virtualization scope.
SOC/
├── LICENSE # MIT License
├── cli.py # Unified lab CLI (dashboard, simulate, respond, report, serve)
├── docker-compose.yml # Multi-network Docker Compose infrastructure
├── docker/ # Container Dockerfiles and configs
├── docs/ # Comprehensive engineering documentation
│ ├── architecture.md
│ ├── demonstration_guide.md
│ ├── detection_engineering.md
│ ├── future_improvements.md
│ ├── incident_response_guide.md
│ ├── known_limitations.md
│ ├── logging_architecture.md
│ ├── mitre_coverage.md
│ ├── security_assumptions.md
│ ├── testing_guide.md
│ ├── threat_model.md
│ └── troubleshooting.md
├── pyproject.toml # Build system & pytest configuration
├── requirements.txt # Pinned dependencies
├── scripts/ # Management and verification scripts
│ ├── bootstrap.sh
│ ├── healthcheck.py
│ ├── teardown.sh
│ └── validate_isolation.py
├── src/ # Core source code
│ ├── core/ # Configuration, topology, metrics, health, logging
│ ├── detection/ # MITRE detection rules, engine, alert store
│ ├── infra/ # Active Directory and Linux server modules
│ ├── response/ # Incident models, investigation, SOAR automation, reporting
│ ├── siem/ # SIEM collector, dashboard, ECS models, event store
│ ├── simulation/ # Attack simulation framework, scenarios, runner
│ └── vulnapp/ # Vulnerable enterprise portal & API
├── terraform/ # Infrastructure as Code modules
└── tests/ # Comprehensive test suite (unit and integration)
├── unit/
└── integration/
This lab is created solely for defensive security engineering research and education.
- All intentionally vulnerable components reside strictly inside the isolated application tier.
- No real secrets, cloud API keys, or production credentials are used.
- Network boundaries strictly isolate the lab from public networks.
This project is licensed under the MIT License - see the LICENSE file for details.