ACM Transactions on Intelligent Systems and Technology

ATs-RAG: A Customized Retrieval-Augmented Generation Framework for Extracting Adversarial Techniques from CTI Texts

Jianxiao Yu, Hao Hu, Yingchang Jiang, Maomiao Xiao, Feiyang Li, Yongwei Wang, Pengcheng Liu, Yuling Liu

Key points

From the paper's conclusion
  • To address these issues, this paper proposes ATs-RAG, an end-to-end fine-tuned customized Retrieval-Augmented Generation framework for extracting adversarial techniques from CTI texts.

Abstract

Accurately extracting adversarial techniques from unstructured cyber threat intelligence is crucial for understanding disguised attack intents, responding to evolving attack behaviors, and capturing evasion-resistant attack characteristics. However, this task has long been hindered by inherent challenges: the MITRE ATT&CK framework, serving as the standard knowledge base, is large-scale, structurally complex, and rapidly updated, with intricate terminology. Meanwhile, modern attacks often combine multiple techniques, so a single CTI text can correspond to multiple AT labels, leading to notable semantic overlap and contextual redundancy. Although deep learning-based classification models perform well on closed datasets, they exhibit insufficient contextual understanding and perform poorly in complex scenarios. Large language models, particularly when combined with Retrieval-Augmented Generation (RAG), offer a promising path toward such complex semantic comprehension. However, when directly applied to the cybersecurity domain, generic RAG frameworks show clear limitations: their retrievers often lack a deep understanding of ATT&CK-specific terminology and hierarchical structures, resulting in term confusion and insufficient retrieval depth; meanwhile, the generators are prone to hallucinations due to a lack of domain knowledge. To address these issues, this paper proposes ATs-RAG, an end-to-end fine-tuned customized Retrieval-Augmented Generation framework for extracting adversarial techniques from CTI texts. The framework integrates three key components: 1) a hierarchically fine-tuned retriever based on ATT&CK hierarchical feature modeling, enabling precise perception of technical semantics; 2) a quantitative re-ranker incorporating ATT&CK domain-specific instruction fine-tuning, improving the relevance ranking quality of candidate labels; 3) a local generator enhanced with contextual fine-tuning on ATT&CK knowledge, boosting output accuracy and reliability. Experiments demonstrate that ATs-RAG significantly outperforms other baseline methods, achieving F1-score improvements of 36.60 and 33.91 percentage points over the strongest baseline at the technique and sub-technique levels, respectively, particularly in complex multi-label environments. These results validate the precision, adaptability, and stability of ATs-RAG in processing real-world threat intelligence.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

ATs-RAG: A Customized Retrieval-Augmented Generation Framework for Extracting Adversarial Techniques from CTI Texts — Science Skim