Skip to main content
QUICK REVIEW

[Paper Review] AttacKG: Constructing Technique Knowledge Graph from Cyber Threat Intelligence Reports

Zhenyuan Li, Jun Zeng|arXiv (Cornell University)|Nov 13, 2021
Cybercrime and Law Enforcement StudiesComputer Science8 citations
TL;DR

AttacKG is a novel framework that automatically extracts and aggregates attack techniques from unstructured cyber threat intelligence (CTI) reports to construct a Technique Knowledge Graph (TKG). By combining NLP-based entity and dependency extraction with graph alignment against MITRE ATT&CK templates, AttacKG achieves high F1-scores (0.887 for entities, 0.896 for dependencies, 0.789 for techniques) and identifies 28,262 attack techniques with 8,393 unique IoCs across 1,515 reports, significantly outperforming prior state-of-the-art methods.

ABSTRACT

Cyber attacks are becoming more sophisticated and diverse, making detection increasingly challenging. To combat these attacks, security practitioners actively summarize and exchange their knowledge about attacks across organizations in the form of cyber threat intelligence (CTI) reports. However, as CTI reports written in natural language texts are not structured for automatic analysis, the report usage requires tedious manual efforts of cyber threat intelligence recovery. Additionally, individual reports typically cover only a limited aspect of attack patterns (techniques) and thus are insufficient to provide a comprehensive view of attacks with multiple variants. To take advantage of threat intelligence delivered by CTI reports, we propose AttacKG to automatically extract structured attack behavior graphs from CTI reports and identify the adopted attack techniques. We then aggregate cyber threat intelligence across reports to collect different aspects of techniques and enhance attack behavior graphs into technique knowledge graphs (TKGs). In our evaluation against 1,515 real-world CTI reports from diverse intelligence sources, AttacKG effectively identifies 28,262 attack techniques with 8,393 unique Indicators of Compromises (IoCs). To further verify the accuracy of AttacKG in extracting threat intelligence, we run AttacKG on 16 manually labeled CTI reports. Empirical results show that AttacKG accurately identifies attack-relevant entities, dependencies, and techniques with F1-scores of 0.887, 0.896, and 0.789, which outperforms the state-of-the-art approaches Extractor and TTPDrill. Moreover, the unique technique-level intelligence will directly benefit downstream security tasks that rely on technique specifications, e.g., APT detection and cyber attack reconstruction.

Motivation & Objective

  • To address the challenge of manually recovering attack knowledge from unstructured CTI reports, which are often informal and lack machine-readability.
  • To overcome the limitation of isolated insights from individual reports by aggregating threat intelligence across multiple reports at the technique level.
  • To construct a comprehensive, knowledge-enhanced attack graph—called a Technique Knowledge Graph (TKG)—that captures complete attack chains with enriched contextual and behavioral details.
  • To improve detection robustness by shifting from IoC-based to technique-based threat modeling, which is more resilient to evasion tactics like domain flipping.
  • To enable downstream security tasks such as APT detection and attack reconstruction by providing structured, actionable technique-level intelligence.

Proposed method

  • A pipeline extracts attack-relevant entities (e.g., CVEs, IPs) and their dependencies (e.g., command-and-control connections) from CTI reports using NLP techniques.
  • Technique templates are initialized using real-world attack procedure examples from the MITRE ATT&CK knowledge base to serve as reference patterns.
  • A revised graph alignment algorithm computes node and edge-level alignment scores between attack graphs and technique templates using node similarity, minimal path distance, and node occurrence frequency.
  • Alignment scores are normalized to [0,1] and compared against a threshold to identify matched subgraphs, enabling mapping of real-world attack behaviors to standardized techniques.
  • Technique templates are dynamically updated by merging new IoCs and natural language descriptions from aligned attack graphs, enabling continuous knowledge aggregation.
  • The framework supports multi-report, multi-technique integration, allowing the construction of a unified TKG that captures variant behaviors and alternative attack paths.

Experimental results

Research questions

  • RQ1Can a system automatically extract structured attack behavior graphs from unstructured CTI reports with high precision and recall?
  • RQ2How effectively can attack graphs from multiple reports be aligned with standardized technique templates to identify common adversarial techniques?
  • RQ3To what extent does aggregating intelligence across reports improve the completeness and accuracy of attack technique representation compared to single-report analysis?
  • RQ4How does the proposed method compare to state-of-the-art CTI parsing tools in terms of entity, dependency, and technique extraction performance?
  • RQ5Can the resulting Technique Knowledge Graph (TKG) support advanced security tasks like APT detection and attack reconstruction through enriched, actionable intelligence?

Key findings

  • AttacKG achieves an F1-score of 0.887 for attack-relevant entity extraction and 0.896 for dependency extraction, outperforming existing methods like Extractor and TTPDrill.
  • The system identifies adversarial techniques with an F1-score of 0.789, demonstrating robustness in mapping real-world attack behaviors to standardized techniques.
  • From 1,515 CTI reports, AttacKG successfully extracts 28,262 unique attack techniques and 8,393 distinct Indicators of Compromise (IoCs).
  • The graph alignment algorithm effectively maps diverse attack graphs to technique templates, enabling the aggregation of variant behaviors and alternative attack paths across reports.
  • The dynamic updating of technique templates allows continuous enrichment of IoCs and descriptive metadata, enhancing the knowledge base over time.
  • The resulting Technique Knowledge Graph (TKG) provides a comprehensive, causal representation of attack chains, supporting advanced threat detection and response workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.