Queries MITRE ATT&CK techniques, groups, software, and mitigations from a local enterprise-attack.json STIX 2.1 dataset.
Ships in cti-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Local file: mitre-attack/enterprise-attack.json (~45 MB STIX 2.1 bundle).
First use — if the file is missing, run the bundled download script before any query:
./scripts/download-mitre.sh
The script is idempotent (skips if the file is already present) and supports --force for refresh. If scripts/download-mitre.sh is not present in the install (e.g. for plugin-only deployments), fall back to:
mkdir -p mitre-attack
curl -fsSL https://raw.githubusercontent.com/mitre/cti/master/enterprise-attack/enterprise-attack.json \
-o mitre-attack/enterprise-attack.json
This yields a STIX 2.1 bundle containing all Enterprise ATT&CK objects.
The dataset is a JSON file with a objects array. Each object has a type field.
cat mitre-attack/enterprise-attack.json | python3 -c "
import json, sys
data = json.load(sys.stdin)
tid = 'T1566' # Change as needed
for obj in data['objects']:
refs = obj.get('external_references', [])
for ref in refs:
if ref.get('external_id') == tid:
print(json.dumps(obj, indent=2))
break
"
Tactics are mapped via kill_chain_phases[].phase_name:
reconnaissance, resource-development, initial-access, execution, persistenceprivilege-escalation, defense-evasion, credential-access, discoverylateral-movement, collection, command-and-control, exfiltration, impact# Groups have type "intrusion-set"
cat mitre-attack/enterprise-attack.json | python3 -c "
import json, sys
data = json.load(sys.stdin)
name = 'APT28' # Change as needed
for obj in data['objects']:
if obj.get('type') == 'intrusion-set':
aliases = obj.get('aliases', [])
if name in aliases or obj.get('name') == name:
print(json.dumps(obj, indent=2))
"
Groups link to techniques via relationship objects with relationship_type: "uses".
Software objects have type malware or tool.
| Type | ATT&CK Concept | Key Fields |
|---|---|---|
attack-pattern | Technique | name, description, kill_chain_phases, external_references (technique ID) |
intrusion-set | Group | name, aliases, description |
malware | Malware | name, description, labels |
tool | Tool | name, description |
course-of-action | Mitigation | name, description |
relationship | Links objects | source_ref, target_ref, relationship_type |
x-mitre-tactic | Tactic | name, x_mitre_shortname |
| ID | Name | Common Use |
|---|---|---|
| T1566 | Phishing | Initial access via email |
| T1566.001 | Spearphishing Attachment | Malicious attachment |
| T1566.002 | Spearphishing Link | Malicious URL |
| T1059 | Command and Scripting Interpreter | Execution via scripts |
| T1059.001 | PowerShell | PowerShell execution |
| T1078 | Valid Accounts | Using legitimate credentials |
| T1071 | Application Layer Protocol | C2 over HTTP/HTTPS/DNS |
| T1055 | Process Injection | Code injection for evasion |
| T1053 | Scheduled Task/Job | Persistence via scheduled tasks |
| T1547 | Boot or Logon Autostart | Persistence via autostart |
| T1562 | Impair Defenses | Disabling security tools |
| T1486 | Data Encrypted for Impact | Ransomware encryption |
| T1190 | Exploit Public-Facing Application | Vulnerability exploitation |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
No slash command · from cti-skills
npx claudepluginhub liberty91ltd/cti-skills --plugin cti-skills78 skills in this plugin
/abuseipdb-apiAbuseIPDB API reference. IP reputation and abuse report lookups./achAnalysis of Competing Hypotheses — structured technique for evaluating multiple explanations against evidence. Use when facing ambiguous attribution or multiple plausible scenarios. Prefers graded evidence items from /quality-of-information-check and runs that skill first when handed raw URLs or text. Runs on ungraded evidence when asked, labelled as such, unweighted, and capped at Moderate confidence./campaign-trackingUse when documenting a named campaign across time and victims, the user asks to start or update a campaign record, or another skill identified a multi-incident cluster that warrants formal tracking. Provides the template (timeline, attribution, victimology, attack chain, Diamond Model mapping, IOC clusters) and the lifecycle from active to historical.Other plugins' skills for the same job