TL;DR
This paper introduces AttacKG+, a novel framework that leverages Large Language Models (LLMs) to automatically construct detailed attack knowledge graphs from cyber threat intelligence (CTI) reports. By enhancing the schema and employing a four-module pipeline, AttacKG+ aims to overcome limitations in existing methods, providing a more comprehensive and accessible way to understand and analyze cyber attack processes.
What Problem Does This Paper Address?
Cyber threat intelligence (CTI) reports are crucial for security analysts to understand and defend against evolving cyber attacks. However, these reports are often unstructured natural language text, making it difficult to extract actionable intelligence. Existing methods for building "attack knowledge graphs" (AKGs) from these reports struggle with generalization to new attack types and require significant domain expertise to design and tune. This limits their effectiveness in capturing the dynamic and complex nature of cyber attacks, leading to potential loss of critical threat information.
Methods
AttacKG+ tackles this problem with a fully automated, LLM-powered framework consisting of four sequential modules:
- Rewriter: This module cleans and organizes CTI reports by filtering out irrelevant information and structuring the content into tactical stages defined by the MITRE ATT&CK framework. This ensures that the core knowledge about the attack process is preserved and presented logically.
- Parser: Given the rewritten sections, this module extracts the "behavior graph." This graph represents the attack as a series of temporally connected atomic events, described as (subject, action, object) triplets, along with temporal and entity-entity relations.
- Identifier: This module matches the extracted behavior graph and rewritten text to specific MITRE ATT&CK techniques and tactics, providing a standardized way to label the attack actions.
- Summarizer: Finally, this module generates a summary for each tactical stage, capturing key information like permission states, file collections, information gathered, and tools used by the attacker.
A key innovation is the proposed "comprehensive attack knowledge schema," which extends existing models by incorporating three layers of representation: the behavior graph, MITRE TTP labels, and state summaries, creating a richer, multi-layered view of an attack.
Datasets
The authors evaluated AttacKG+ using:
- 500 CTI reports: Collected from multiple intelligence sources, including Cisco Talos Intelligence Group and Microsoft Security Intelligence Center.
- MITRE ATT&CK Matrix: Used for its definitions and examples of tactics and techniques.
As a byproduct of their work, they constructed two new datasets: Re-CTI and CTI-TE.
Key Insights and Ideas
- LLMs as a Paradigm Shift: The paper strongly advocates for LLMs as a solution to the limitations of traditional AKG construction, highlighting their superior understanding and zero-shot capabilities.
- Structured, Multi-Layered Attack Representation: The proposed schema, with its behavior graph, TTP labels, and state summaries, offers a more holistic and detailed understanding of cyber attack evolution than previous approaches.
- Temporal Dynamics are Crucial: By explicitly modeling temporal relations and stages, AttacKG+ captures the dynamic nature of attacks, which is essential for effective threat analysis.
- Democratizing CTI Analysis: The LLM-driven, automated approach significantly reduces the need for specialized AI/NLP expertise, making advanced CTI analysis more accessible to security practitioners.
Key Results
- Improved Extraction Accuracy: AttacKG+ significantly outperforms existing CTI parsing solutions like EXTRACTOR and AttacKG in both threat entity/relation extraction and technique identification tasks, achieving higher F-1 scores.
- High-Quality Rewritten Reports: Manual evaluation showed that the rewritten reports by LLMs achieved a high level of delineation accuracy (Level-4 for 14 out of 15 reports), indicating strong content categorization.
- Comprehensive Information Capture: The framework successfully identified thousands of technique instances, entity instances, and relation instances from the evaluated reports.
- Practical Utility: The generated attack graphs were shown to be useful for downstream security practices like attack reconstruction, as demonstrated in the case study.
Limitations and Future Work
- Multimodal Information: The current framework primarily focuses on textual input and does not incorporate visual elements (figures, charts) present in CTI reports, which could provide valuable insights.
- LLM Understanding Nuances: LLMs may still struggle with certain user requirements in specific scenarios, affecting output quality. Future work should focus on better aligning LLMs with expert requirements.
- Further Enhancements: The authors suggest that future work could enhance LLM capabilities by incorporating multimodal threat information and improving LLM alignment with expert needs for more complex task execution.
Summary updated