Skip to main content
QUICK REVIEW

[Paper Review] AttacKG+:Boosting Attack Knowledge Graph Construction with Large Language Models

Yongheng Zhang, Tingwen Du|arXiv (Cornell University)|May 8, 2024
Topic ModelingComputer Science3 citations
TL;DR

AttacKG+ proposes a fully automatic, LLM-powered framework for constructing attack knowledge graphs from cyber threat intelligence reports, using instruction-tuned prompting and in-context learning across four modules: rewriter, parser, identifier, and summarizer. It achieves high-fidelity extraction of temporal attack behavior, MITRE TTP mappings, and stage-wise summaries, significantly improving generalization and usability for security analysts without requiring NLP expertise.

ABSTRACT

Attack knowledge graph construction seeks to convert textual cyber threat intelligence (CTI) reports into structured representations, portraying the evolutionary traces of cyber attacks. Even though previous research has proposed various methods to construct attack knowledge graphs, they generally suffer from limited generalization capability to diverse knowledge types as well as requirement of expertise in model design and tuning. Addressing these limitations, we seek to utilize Large Language Models (LLMs), which have achieved enormous success in a broad range of tasks given exceptional capabilities in both language understanding and zero-shot task fulfillment. Thus, we propose a fully automatic LLM-based framework to construct attack knowledge graphs named: AttacKG+. Our framework consists of four consecutive modules: rewriter, parser, identifier, and summarizer, each of which is implemented by instruction prompting and in-context learning empowered by LLMs. Furthermore, we upgrade the existing attack knowledge schema and propose a comprehensive version. We represent a cyber attack as a temporally unfolding event, each temporal step of which encapsulates three layers of representation, including behavior graph, MITRE TTP labels, and state summary. Extensive evaluation demonstrates that: 1) our formulation seamlessly satisfies the information needs in threat event analysis, 2) our construction framework is effective in faithfully and accurately extracting the information defined by AttacKG+, and 3) our attack graph directly benefits downstream security practices such as attack reconstruction. All the code and datasets will be released upon acceptance.

Motivation & Objective

  • To address the limited generalization of existing attack knowledge graph construction methods to diverse and novel cyber threats.
  • To reduce reliance on expert-tuned NLP models and manual feature engineering, making threat intelligence extraction accessible to non-AI security practitioners.
  • To enhance the expressiveness of attack knowledge graphs by introducing a multi-layered schema encompassing behavior, MITRE TTPs, and stage-level summaries.
  • To demonstrate the effectiveness of LLMs in zero-shot and few-shot settings for cyber threat information extraction without fine-tuning.
  • To release open-source datasets and code to support reproducibility and future research in automated CTI processing.

Proposed method

  • The framework employs four LLM-driven modules: rewriter to structure and filter CTI reports into tactical stages, parser to extract atomic event triplets and temporal relations, identifier to map behaviors to MITRE TTPs using in-context learning, and summarizer to generate stage-level situational overviews.
  • Each module is implemented via instruction prompting and few-shot in-context learning, enabling zero-shot or few-shot adaptation without model fine-tuning.
  • A new, comprehensive attack knowledge schema is proposed, representing each temporal stage with three layers: behavior graph, MITRE TTP labels, and state summary (e.g., permissions, files, tools, data).
  • The approach leverages the broad-world knowledge and contextual reasoning of LLMs to generalize across diverse cyber threat types and novel attack patterns.
  • The framework is evaluated on two newly constructed datasets, Re-CTI and CTI-TE, to validate its performance in real-world threat analysis scenarios.
  • Evaluation uses both automatic metrics (e.g., F1 scores) and qualitative analysis to assess fidelity, completeness, and utility in downstream tasks like attack reconstruction.

Experimental results

Research questions

  • RQ1Can LLMs effectively extract structured attack knowledge from unstructured CTI reports without fine-tuning, achieving high accuracy and generalization across diverse threat types?
  • RQ2How well can LLM-based modules (rewriter, parser, identifier, summarizer) preserve semantic richness and temporal coherence in attack narratives?
  • RQ3To what extent does the proposed multi-layered attack knowledge schema (behavior, TTPs, summaries) improve the utility of attack graphs for threat analysis and incident response?
  • RQ4Can the LLM-based framework outperform traditional rule-based or model-tuned approaches in terms of coverage, accuracy, and ease of deployment for non-expert users?
  • RQ5How does the integration of in-context learning and instruction prompting enable robust zero-shot performance on unseen cyber threat reports?

Key findings

  • The AttacKG+ framework achieves high F1 scores in entity and relation extraction, demonstrating strong fidelity in capturing attack behaviors and temporal sequences from unstructured CTI reports.
  • The LLM-based modules successfully identify and map threat actions to MITRE TTPs with high precision, even in complex, multi-stage attack scenarios.
  • The inclusion of stage-wise summaries significantly enhances the interpretability and utility of attack graphs for security analysts conducting post-incident analysis.
  • The framework enables fully automatic, end-to-end construction of attack knowledge graphs with minimal human intervention, reducing dependency on AI expertise.
  • The proposed schema enables richer, more actionable representations of cyber attacks, directly benefiting downstream tasks such as attack reconstruction and threat hunting.
  • The evaluation confirms that AttacKG+ outperforms existing methods in generalization to novel attack patterns and diverse knowledge types, particularly in zero-shot settings.

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.