Lion Cipher Lab

Query the raw MITRE ATT&CK STIX dataset in Python: from a threat group to the telemetry that detects it

Why it matters

Every threat-intel and detection team eventually asks the same practical question: 'this group is targeting our sector, which of its techniques could we actually see with the logs we collect?' The ATT&CK website answers it one page at a time; the dataset behind the website answers it in seconds, for any group, in a form you can diff, automate and put in a report. But the raw data has traps that quietly produce wrong answers. Objects are kept forever and marked revoked or deprecated rather than deleted, so an ID from a 2019 report still 'exists'. A group's behaviour lives on three different…

What you'll learn

Steps in this lab

  1. What you are about to query, and why not just use the website
  2. Download a PINNED release, not 'the latest'
  3. Inventory the bundle, and meet the encoding trap
  4. Walk a group's techniques along all three paths
  5. Where revoked objects really bite: IDs from an old report
  6. The v18 detection model: strategy, analytic, data component
  7. Score coverage against the telemetry you actually collect
  8. What these numbers do and do not mean (the judgement)
  9. Pinning, measured, and where to go next

Open the full interactive lab →