NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AttacKG+: Boosting attack graph construction with Large Language Models

Yongheng Zhang, Tingwen Du, Yunshan Ma, Xiang Wang, Yi Xie, Guozheng Yang, Yuliang Lu, Ee-Chien Chang

Introduction

Cyber Threat Intelligence (CTI) reports are essential for security analysts but suffer from being unstructured, jargon-heavy, and inconsistent in style. Manually extracting actionable data from these narratives is a slow, expert-intensive process. AttacKG+ addresses this by leveraging Large Language Models (LLMs) to automatically transform messy CTI reports into structured, multi-layered "Attack Knowledge Graphs."

Problem Statement

The cybersecurity community relies on CTI reports to understand adversary movements. However, existing construction tools for Attack Knowledge Graphs face two major hurdles:

  1. Limited Generalization: Traditional models struggle with emerging attack scenarios due to reliance on fixed training data or rigid regular expressions.
  2. Expertise Bottleneck: Designing these models requires deep expertise in both NLP and cybersecurity, hindering deployment for average practitioners.

Furthermore, most tools extract isolated entities (e.g., IP addresses) but fail to capture the temporal flow of an attack or the evolving state of the victim's system, such as changes in administrative privileges.

Methods

AttacKG+ utilizes a pipeline of four LLM-powered modules that employ instruction prompting and in-context learning to process reports without requiring specialized model training.

The AttacKG+ pipeline architecture, illustrating the four LLM-powered modules: Rewriter, Parser, Identifier, and Summarizer.
  • The Rewriter: Acts as a noise filter, "slicing" raw reports into sections based on the 14 tactical stages of the MITRE ATT&CK matrix.
  • The Parser: Extracts "atomic event triplets"—(subject, action, object)—and identifies temporal relationships to build a behavior graph.
  • The Identifier: Maps extracted behaviors to specific MITRE technique labels (e.g., T1195 - Supply Chain Compromise).
  • The Summarizer: A novel module that provides a "state summary" for each stage, tracking permission states, file collections, information obtained, and toolsets used.

Key Insights and Ideas

A central innovation of AttacKG+ is its multi-layered representation. The authors argue that a simple graph of entities is insufficient for modern threat analysis. By layering behavior, TTPs, and state summaries, the framework provides a holistic view of an attack's evolution.

The multi-layered Attack Knowledge Graph structure, integrating TTP labels, behavior graphs, and situational state summaries.

Additionally, Tactical Slicing proved crucial. Rewriting reports into tactical stages before extraction significantly reduces noise and improves the accuracy of downstream tasks. This approach demonstrates that LLMs can effectively bridge the expertise gap, allowing practitioners to generate complex graphs without custom extraction rules.

Datasets and Evaluation

The researchers evaluated AttacKG+ using 500 real-world CTI reports from sources like Cisco Talos and Microsoft Security Intelligence. They introduced two new benchmarks, Re-CTI (Rewritten CTI) and CTI-TE (Threat Extraction), to the community. Ground truth was established through expert annotation of 15 reports to provide baseline precision and recall metrics.

Key Results

AttacKG+ significantly outperformed state-of-the-art tools like EXTRACTOR and the original AttacKG:

  • Entity Extraction: Achieved an F1 score of 0.698, compared to EXTRACTOR’s 0.039 in open-world scenarios.
  • Technique Identification: Reached an F1 score of 0.566, nearly doubling the performance of the previous AttacKG (0.258).
  • Human-Level Quality: In manual assessments, 14 out of 15 rewritten reports received the highest tier rating, indicating full consistency with expert reports.

Limitations and Future Work

Despite its performance, AttacKG+ currently lacks multimodal capabilities, ignoring vital information in charts and diagrams. Future work aims to move toward multimodal threat intelligence analysis and further refine LLM alignment with expert security reasoning to handle highly specific, niche requirements.

Summary updated

BibTeX
@article{zhang2025attackg,
  author = {Yongheng Zhang and Tingwen Du and Yunshan Ma and Xiang Wang and Yi Xie and Guozheng Yang and Yuliang Lu and Ee-Chien Chang},
  title = {{AttacKG+: Boosting attack graph construction with Large Language Models}},
  journal = {Comput. Secur.},
  year = {2025},
  doi = {10.1016/j.cose.2024.104220},
}

Loading related content...

Figure