← All field notes
Building a CTI Platform From Scratch (4 of 10)

Mapping CVEs to MITRE ATT&CK and CWE Automatically

A CVE number is an index, not an explanation. It tells you that something was assigned an identifier, not what kind of flaw it is or how an attacker actually uses it. Two layers of enrichment turn that identifier into something a defender can act on, CWE, which classifies the underlying weakness, and MITRE ATT&CK, which classifies the technique an attacker would use to exploit it.

The platform carries 691 MITRE ATT&CK techniques mapped against the vulnerabilities and threat actor data it tracks. CWE classification tells you what kind of bug this is, an out of bounds write, an improper authentication check, a path traversal. ATT&CK tells you what an attacker does with it, initial access, privilege escalation, lateral movement. Knowing both means you can look at a new CVE and immediately place it in the kill chain instead of treating it as an isolated event.

This matters most when you are trying to build detections ahead of exploitation instead of after it. The platform also tracks 3,800 Sigma detection rules mapped against specific techniques, so when a new CVE comes in classified under a given ATT&CK technique, I can immediately check whether existing detection coverage would catch exploitation of it, or whether this is a genuine gap. That is a very different posture than reading a CVE description and hoping your EDR vendor has you covered.

The honest limitation here is attribution. The platform distinguishes between two kinds of actor linkage, inferred associations built from keyword and technique overlap, which are useful for hypothesis generation but not proof, and a much smaller set of actual MITRE-cited attribution pairs, under 400 of them, where a named threat actor has been formally tied to a specific CVE by a credible source. Conflating the two is one of the most common mistakes in threat intel writeups. I keep them in separate tables on purpose, so I am never tempted to present an inference as a fact.

Enrichment is not optional if you want a platform that argues for itself. A raw CVE list is data. A CVE list with weakness class, attacker technique, and honest attribution confidence attached is the beginning of an actual threat model.

Next: enrichment tells you what a vulnerability is. The next question is whether it is sitting on something you own.