How mugheeskhan5/detection-engineering works
This repository implements a detection-engineering workflow: trigger selected ATT&CK techniques on a Windows lab VM, check and convert their Sigma rules, query recent Elasticsearch telemetry, write verdict reports, and render an ATT&CK Navigator heatmap. The README documents telemetry collection and the lab topology; the sampled pipeline shows the execution and report-generation logic. The graph preserves the documented telemetry and visualization capabilities, but does not map unsampled workflow internals or claim that GitHub Actions implements a specific call path.
Main entry points: pipeline.py Pipeline runner · rules Sigma rules · heatmap_layer.json ATT&CK heatmap
Components 15
Lab telemetry
- Windows VM
- Sysmon logs
- Winlogbeat
- Elasticsearch
Detection pipeline
- Pipeline runner
scripts/pipeline.py - Technique trigger
scripts/pipeline.py - Sigma rules
rules - Rule linting
scripts/pipeline.py - Rule validation
scripts/pipeline.py - Sigma conversion
scripts/pipeline.py - Telemetry query
scripts/pipeline.py
Coverage outputs
- Verdict reports
scripts/pipeline.py - Latest verdicts
scripts/pipeline.py - ATT&CK heatmap
heatmap_layer.json
Other components
- Detection engineer
Connections 19
- Detection engineer → Pipeline runner: starts pipeline
README.md - Pipeline runner → Technique trigger: calls trigger
scripts/pipeline.py - Technique trigger → Windows VM: runs commands
scripts/pipeline.py - Windows VM → Sysmon logs: generates events
README.md - Sysmon logs → Winlogbeat: collects logs
README.md - Winlogbeat → Elasticsearch: ships telemetry
README.md - Pipeline runner → Rule linting: calls lint
scripts/pipeline.py - Pipeline runner → Rule validation: calls validation
scripts/pipeline.py - Pipeline runner → Sigma conversion: calls conversion
scripts/pipeline.py - Sigma rules → Rule linting: checks rule
scripts/pipeline.py - Sigma rules → Rule validation: reads rule
scripts/pipeline.py - Sigma rules → Sigma conversion: converts rule
scripts/pipeline.py - Pipeline runner → Telemetry query: calls query
scripts/pipeline.py - Sigma conversion → Telemetry query: supplies query
scripts/pipeline.py - Telemetry query → Elasticsearch: searches events
scripts/pipeline.py - Pipeline runner → Verdict reports: writes verdict
scripts/pipeline.py - Pipeline runner → Latest verdicts: loads reports
scripts/pipeline.py - Latest verdicts → Verdict reports: reads latest
scripts/pipeline.py - Pipeline runner → ATT&CK heatmap: writes layer
scripts/pipeline.py