Threat Behavior Textual Search by Attention Graph Isomorphism
Chanwoo Bae, Guanhong Tao, Zhuo Zhang, Xiangyu Zhang
TL;DR
This work addresses the challenge of threat intelligence search in the presence of obfuscated malware and unstructured reports by introducing attention-graph isomorphism, which builds domain-specific semantic graphs from Transformer self-attention. The approach leverages a large, unlabeled CTI corpus and a subgraph-isomorphism-based similarity to compare threat reports, achieving substantial gains over keyword and embedding baselines. In real-world forensics, it improves attack-origin attribution (8/10 correct) versus Google (3/10) and IoC-based methods (2/10), while maintaining practical efficiency through graph caching and sentence clustering. The combination of a large multi-vendor dataset, unsupervised attention-driven graph construction, and robust evaluation demonstrates a promising path for faster and more accurate cyber threat investigation, with an accompanying dataset release to enable further research.
Abstract
Cyber attacks cause over \$1 trillion loss every year. An important task for cyber security analysts is attack forensics. It entails understanding malware behaviors and attack origins. However, existing automated or manual malware analysis can only disclose a subset of behaviors due to inherent difficulties (e.g., malware cloaking and obfuscation). As such, analysts often resort to text search techniques to identify existing malware reports based on the symptoms they observe, exploiting the fact that malware samples share a lot of similarity, especially those from the same origin. In this paper, we propose a novel malware behavior search technique that is based on graph isomorphism at the attention layers of Transformer models. We also compose a large dataset collected from various agencies to facilitate such research. Our technique outperforms state-of-the-art methods, such as those based on sentence embeddings and keywords by 6-14%. In the case study of 10 real-world malwares, our technique can correctly attribute 8 of them to their ground truth origins while using Google only works for 3 cases.
