Towards Effective Identification of Attack Techniques in Cyber Threat Intelligence Reports using Large Language Models

Hoang Cuong Nguyen, Shahroz Tariq, Mohan Baruwal Chhetri, Bao Quoc VoarXiv 2025 · DOI

TL;DR

This paper introduces a novel two-step pipeline to automate the extraction of cyberattack techniques from threat reports. By combining LLM-based summarization with a SciBERT model retrained on a rebalanced, augmented dataset, the researchers achieved significant performance gains, with several attack techniques reaching F1-scores above 0.90.

What Problem Does This Paper Address?

Cyber Threat Intelligence (CTI) reports are vital for understanding how hackers operate, but they are notoriously difficult to process. Security Operations Center (SOC) analysts are often buried under a mountain of unstructured, verbose documents—sometimes dozens of pages long—where the actual "meat" of the attack description is hidden in just a few paragraphs. This leads to "alert fatigue," where analysts become overwhelmed and may even disable alerts to cope.

Automating this extraction using Natural Language Processing (NLP) is the obvious solution, but it faces three major hurdles:

  1. Domain Complexity: Cybersecurity has its own specialized "dialect" that generic NLP models struggle to parse.
  2. Verbosity: Reports contain a lot of "noise" that distracts models from the actual attack techniques.
  3. Class Imbalance: In the wild, some attack techniques (like "Phishing") appear constantly, while others are rare. Standard models tend to overfit the common ones and ignore the rare ones.

Methods

The authors evaluated four different configurations to find the most effective way to map report text to the MITRE ATT&CK framework, a globally recognized taxonomy of adversary tactics and techniques.

Figure 1: Our evaluation methodology uses four configurations.

The configurations included:

  • Standalone LLMs: Testing vanilla Llama2 (7B, 13B, and 70B) using zero-shot prompting.
  • Original TRAM: Using the existing Threat Report ATT&CK Mapper (TRAM) tool, which relies on a pre-trained SciBERT model.
  • aCTIon (Summarization + TRAM): A configuration where GPT-3.5 first summarizes the reports to remove noise before passing them to the SciBERT classifier.
  • The Proposed Pipeline (Summarization + Rebalancing + Retraining): This is the paper's core contribution. They used GPT-3.5 to summarize reports and to generate synthetic data for underrepresented attack techniques. They then retrained the SciBERT model on this rebalanced dataset.

Datasets

The study utilized two primary ground-truth datasets:

  1. Adversary Emulation Library (AEL): A collection of concise reports on major attack campaigns (like APT29 and FIN6) annotated with MITRE ATT&CK IDs.
  2. Attack-Technique-Dataset (ATD): A dataset containing longer, more complex reports (e.g., OceanLotus, MuddyWater) with detailed technique annotations.

Key Insights and Ideas

  • Bigger isn't always better for zero-shot CTI: Surprisingly, the Llama2-70B model produced significantly more false positives than its smaller 7B counterpart. While the 70B model had higher recall (finding more true techniques), its precision was hampered by "hallucinating" techniques that weren't actually in the text.
  • Summarization is a powerful denoiser: By using an LLM to strip away extraneous content before classification, the downstream SciBERT model could focus on the most relevant sentences, leading to a noticeable performance bump.
  • Synthetic data fixes the "Long Tail": One of the biggest wins came from using LLMs to augment rare classes. By generating synthetic examples of infrequent attack techniques, the authors were able to train a much more robust classifier that didn't just default to the most common labels.

Key Results

The proposed pipeline significantly outperformed existing baselines. The retrained SciBERT model on a rebalanced dataset saw a median F1-score increase of approximately seven percentage points compared to the baseline.

Figure 2: Performance of TRAM using different Configura- tions proposed in our work on ATD dataset.

As shown in the results for specific techniques, the model achieved high accuracy on several critical attack vectors:

  • T1070.004 (Indicator Removal on Host): F1-score of 0.9231.
  • T1566.001 (Phishing: Spearphishing Attachment): F1-score of 0.9109.
  • T1057 (Process Discovery): Achieved a perfect 1.0000 recall.

Limitations and Future Work

Despite the improvements, the authors noted that very rare techniques still pose a challenge, and the system still generates some false positives that could annoy analysts.

The paper suggests that the next frontier is Human-AI Teaming. Rather than trying to replace the analyst, future systems should focus on collaborative platforms where AI handles the heavy lifting of extraction and summarization, while human experts provide the final verification and context. They also suggest that fine-tuning LLMs specifically on cybersecurity corpora (rather than just using zero-shot prompting) could further reduce errors.

Summary updated

BibTeX
@misc{nguyen2025towards,
  author = {Hoang Cuong Nguyen and Shahroz Tariq and Mohan Baruwal Chhetri and Bao Quoc Vo},
  title = {{Towards Effective Identification of Attack Techniques in Cyber Threat Intelligence Reports using Large Language Models}},
  year = {2025},
  eprint = {2505.03147},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.03147},
}
Figure