Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Versioned adversary tactics, techniques, software, groups, mitigations, and relationships for building threat-model and detection-coverage tools.
From source to product signal
Enterprise ATT&CK represents documented adversary behaviors and their relationships in STIX. Start with attack-pattern objects and their tactic phases. ATT&CK is a knowledge base, not a measure of behavior prevalence or proof that a mapped control detects every implementation of a technique.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
url = "https://raw.githubusercontent.com/mitre-attack/attack-stix-data/master/enterprise-attack/enterprise-attack.json"
response = requests.get(url, timeout=30)
response.raise_for_status()
objects = response.json()["objects"]
techniques = pd.json_normalize([
item for item in objects
if item.get("type") == "attack-pattern" and not item.get("revoked", False)
])
print(techniques[["id", "name", "x_mitre_version"]].head(20))Test a useful signal
Count current Enterprise techniques by tactic and identify areas needing deeper coverage review.
MITRE is a nonprofit source. Last verified 2026-08-13. Temporal coverage: current versioned knowledge base.