Enterprise-grade adversary emulation you can run against your own environment β safely, by default.
Emulate real APT29 (Cozy Bear), Lazarus Group, and ransomware operator tradecraft, mapped to MITRE ATT&CK, and find out what your detection stack actually catches β before a real attacker does.
Quickstart Β· Features Β· Dashboard Β· How it works Β· Comparison Β· Roadmap
Most security teams don't actually know how many of their detection rules fire under real attacker tradecraft β they know how many rules they have. This platform closes that gap: it runs realistic, safe-by-default technique sequences modeled on real threat actors, tells you exactly which ones your stack missed, and hands you the artifacts to fix it β Sigma rules, a MITRE Navigator layer, and an exec-ready report β instead of just a pass/fail score.
It's built for the same use case as Caldera or Atomic Red Team: purple-team exercises, detection engineering validation, and demonstrating security ROI to leadership. Only run this against systems you own or are explicitly authorized to test.
Adversary emulation
- π·πΊ APT29 (Cozy Bear) β 11 techniques spanning spearphishing through data exfiltration, modeled on the SolarWinds-era playbook
- π°π΅ Lazarus Group β financially-motivated and destructive tradecraft
- π Ransomware Operator β the full encrypt-and-extort chain
- π§ 25 techniques across 12 MITRE ATT&CK tactics, every one tagged with its technique ID
Safe by design
- SAFE mode is the default β techniques are described, never executed, until you explicitly opt in
- Isolated execution modes (
SAFE/DRY_RUN/SIMULATED/REAL) instead of one code path doing everything - Rate-limited, hardened web API (secure cookies, CORS allowlist, random secret key, no debug mode in production)
Reporting & detection engineering
- π Executive + CISO-ready reports β success rate, detection rate, and business impact scoring
- π§© MITRE ATT&CK Navigator export β drop straight into Navigator to visualize coverage gaps
- π Sigma rule generation β every undetected technique becomes a draft Sigma rule, portable to Splunk, Elastic, Sentinel, or any SIEM that speaks Sigma
- π Trend analysis β track detection coverage across repeated campaigns over time
- π¬ Campaign replay β step through exactly what ran and what got caught
- π Slack / Discord notifications β post live campaign results to your team channel
Ops-ready
- π³ One-command Docker deployment with a non-root container user and health checks
- β CI pipeline that actually gates on test results
- π₯οΈ CLI for automation, or a full web dashboard for click-through assessments
Pick a threat actor, tune detection maturity, and run the assessment β the dashboard streams results back with a full technique-by-technique breakdown.
git clone https://github.com/kakashi-kx/apt-emulation-platform.git
cd apt-emulation-platform
docker compose up
Then open http://localhost:5000.
git clone https://github.com/kakashi-kx/apt-emulation-platform.git
cd apt-emulation-platform
pip install -r requirements.txt
# Always start here β SAFE mode describes techniques, never executes them
python3 main.py --apt-group apt29 --safe-mode
Sample output
============================================================
π RESULTS SUMMARY
============================================================
π― APT29 (Cozy Bear)
Success Rate: 100.0%
Detection Rate: 0.0%
Impact Score: 8.8/10
Total Techniques: 11
β
Successful: 11
β Failed: 0
π‘οΈ Detected: 0
============================================================
β
COMPLETE! Report saved to campaign_results.json
============================================================
pip install -r requirements.txt -r requirements-web.txt
python3 web/app.py
flowchart LR
CLI["CLI (main.py)"] --> CM[Campaign Manager]
WEB["Web Dashboard"] --> CM
CM --> A[APT29 Profile]
CM --> L[Lazarus Profile]
CM --> R[Ransomware Profile]
A & L & R --> EX[Technique Executor]
EX -->|SAFE / DRY_RUN / SIMULATED, default| RES[Campaign Result]
EX -.->|REAL, explicit opt-in only| RES
RES --> REPORT[Executive Report]
RES --> SIGMA[Sigma Rules]
RES --> NAV["MITRE Navigator Layer"]
RES --> TREND[Trend Analysis]
RES --> REPLAY[Campaign Replay]
RES --> NOTIFY["Slack / Discord"]
Each technique carries its MITRE ATT&CK ID, tactic, detection risk, and success rate. The executor runs it through whichever mode you've selected, and every downstream feature β reports, Sigma rules, the Navigator export β reads off the same result set, so what you see in the dashboard is what ends up in your SIEM.
| This platform | MITRE Caldera | Atomic Red Team | |
|---|---|---|---|
| Setup | docker compose up |
Server + agent install | Framework install |
| Threat-actor profiles | APT29, Lazarus, Ransomware | Adversary plugins | Individual tests, no narrative |
| Sigma rule generation | β Automatic from gaps | β | β |
| MITRE Navigator export | β Built in | Via plugin | Manual |
| Executive/CISO reporting | β Built in | β | β |
| Web dashboard | β | β | β (CLI only) |
| Safe-by-default execution | β | Depends on plugin | β |
Not a replacement for Caldera's agent-based lateral emulation or Atomic Red Team's sheer test-library size β this trades breadth for a tighter loop from technique run β detection gap β Sigma rule β exec report.
- Adaptive AI adversary β an LLM-driven engine that picks its next technique based on what got detected so far, instead of a fixed sequence
- Expand technique coverage per profile (25 β 100+)
- Cloud (AWS/Azure/GCP) and container/Kubernetes technique sets
- Expose
SIMULATEDmode (probabilistic success/detection) through the CLI and web UI - Plugin system for community-contributed threat-actor profiles
Issues and PRs are welcome β see CONTRIBUTING.md. New technique definitions, additional threat-actor profiles, and SIEM export formats are especially appreciated.
Found a vulnerability? Please see SECURITY.md for responsible disclosure instead of opening a public issue.
MIT β see LICENSE.
This tool is for security testing and educational purposes only. Only use against systems you own or have explicit permission to test. The author is not responsible for any misuse or damage caused by this tool.
- GitHub: @kakashi-kx
- LinkedIn: abhixjith
- Project Issues: GitHub Issues
If this is useful to you, a β helps other people find it.
Created with β€οΈ by kakashi-kx/kakashi4kx | Security Researcher

