← Lab /AI/ML

Linking CVEs to ATT&CK tactics and techniques achieves up to 96% macro F1

Their models can accurately associate software vulnerabilities with ATT&CK tactics and techniques

AI/ML arXiv 30 Jun 2026 Benchmark Prototype evidence

Published as “CVE-TTP KG: Knowledge Graph Linking Software Vulnerabilities to Attack Behaviors”

Why it matters

The KG enables more contextual vulnerability analysis and can support automated threat reasoning and prioritization.

Summary

The paper builds a CVE-TTP knowledge graph that links CVE entries to MITRE ATT&CK tactics and techniques, achieving macro F1-scores of 0.8771 for technique classification and 0.9616 for tactic classification with CySecBERT, and macro F1-scores of 0.86 for entity extraction and 0.99 for relation extraction using a pipeline approach (joint model 0.78). Evidence comes from test-set evaluations on a 178,233-record classification set and a 1,080-record extraction set, showing strong quantitative performance but also noting misclassifications and reduced granularity in some KG relations.

What they found 4

  1. CySecBERT achieves high multi-label classification performance

    “CySecBERT achieving macro F1-scores of 87.71% (techniques) and 96.16% (tactics).”

  2. Pipeline extraction yields strong entity and relation scores

    “The pipelinebased approach achieves macro F1-scores of 0.86 (entity extraction) and 0.99 (relation extraction), while a span-based joint model achieves 0.78.”

  3. Annotated dataset size

    “We created an annotated dataset with 24, 820 entities and 43, 608 relations for entity and relation extraction.”

  4. CySecBERT macro F1 for techniques on test set

    “CySecBERT achieves a higher Jaccard score (0.9659) and F1-macro (0.8771).”

Caveats 5

  • The joint model’s macro F1 for entity extraction (0.78) is lower than the pipeline’s 0.86, indicating reduced effectiveness.
  • The pipeline KG often substitutes the precise achieved_through relation with a generic associated_with relation, reducing semantic granularity.
  • Both models failed to correctly identify the Vendor entity “Microsoft”; the pipeline omitted it and the joint model mis-classified it as a Product.
  • this model often replaces the semantically accurate achieved_through relation, which specifies how tactics are operationalized through techniques, with the more generic associated_with relation.
  • both models failed to correctly identify the Vendor entity “Microsoft” and the associated relation has_vendor ⟨Hyper-V Virtual PCI, has_vendor, Microsoft⟩. The pipeline model omitted this entity and relation entirely, whereas the joint model incorrectly classified “Microsoft Hyper-V Virtual PCI” as a Product.

What’s new here 4

  • Provides a manually annotated dataset linking CVE descriptions to ATT&CK tactics, techniques, and vulnerability entities.
  • Applies transformer-based multi-label classification (CySecBERT) to map vulnerabilities to ATT&CK behaviors.
  • Compares pipeline and span-based joint models for joint entity and relation extraction from CVE text.
  • Integrates extracted triples into a Neo4j knowledge graph for structured threat analysis.