/red-team-operations:attack-map <threat actor, intel report, or attack pattern> [--detection] [--atomic] [--navigator]from red-team-operations
Maps a threat actor or intel report to MITRE ATT&CK techniques, producing a TTP matrix with detection requirements. Supports optional Sigma rule stubs, Atomic Red Team test IDs, and ATT&CK Navigator layers.
Ships in red-team-operations. Installing the plugin adds it to Claude Code.
Map threat actor TTPs to MITRE ATT&CK techniques and generate a detection validation checklist.
Use when you need to:
NOTE: This command is for educational and defensive purposes -- building detections that catch these techniques.
--detection -- include detection rule stubs (Sigma format) for each technique--atomic -- include Atomic Red Team test IDs for validation--navigator -- output ATT&CK Navigator JSON layerThreat Intelligence Gathering: Collect publicly available intelligence on the specified threat actor or attack pattern from MITRE CTI, vendor reports, and CISA advisories.
TTP Extraction: Identify each tactic, technique, and procedure used by the adversary. Be specific -- extract sub-techniques (T1059.001 PowerShell, not just T1059 Command and Scripting Interpreter).
ATT&CK Mapping: Map each TTP to the MITRE ATT&CK Enterprise matrix with:
Detection Requirements: For each technique, identify:
Atomic Test Mapping (with --atomic): Map each technique to the corresponding Atomic Red Team test for safe validation.
Detection Rule Generation (with --detection): Generate Sigma rule stubs for each technique that can be deployed to SIEM platforms.
Navigator Layer (with --navigator): Generate a JSON layer file for the ATT&CK Navigator visualization tool.
# ATT&CK Mapping: [Threat Actor / Attack Pattern]
## Intelligence Sources
- [Source 1: Title, Date, URL]
- [Source 2: Title, Date, URL]
## TTP Matrix
### Initial Access
| ID | Technique | Procedure | Confidence | Data Source | Detection |
|----|-----------|-----------|------------|-------------|-----------|
| T1566.001 | Spearphishing Attachment | Sends macro-enabled .docm files themed as invoices | Observed | Email logs, Sysmon EID 1 | Office process spawning cmd/powershell |
| T1078.004 | Cloud Accounts | Compromised OAuth tokens from phishing | Observed | Azure AD sign-in logs | Impossible travel, new device sign-in |
### Execution
[Same table format]
### Persistence
[Same table format]
[...all applicable tactics...]
## Detection Coverage Assessment
| Status | Count | Techniques |
|--------|-------|------------|
| Detected (rule exists) | X | T1566.001, T1059.001, ... |
| Partially detected | X | T1078.004, ... |
| Not detected | X | T1055.001, ... |
## Priority Detection Gaps
1. [Technique with no detection + high usage frequency]
2. [Technique with partial detection + high impact]
3. [...]
## Atomic Red Team Validation (--atomic)
| Technique | Test ID | Command | Expected Detection |
|-----------|---------|---------|-------------------|
| T1059.001 | T1059.001-1 | `powershell -enc [base64]` | Sysmon EID 1 + ScriptBlock 4104 |
## Sigma Rule Stubs (--detection)
[Sigma YAML for each detection gap]
## ATT&CK Navigator Layer (--navigator)
[JSON output for import into ATT&CK Navigator]
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
2 commands in this plugin
npx claudepluginhub ormus-solutions/libresecops-claude-code --plugin red-team-operations