APTSniffer: Detecting APT Attack Traffic Using Retrieval-Augmented Large Language Models
Advanced Persistent Threats (APT) differ from traditional attacks by using more complex and covert strategies for long-term assaults, posing a severe threat to organizational and national security. Due to problems like the shortage of APT traffic data and encrypted traffic obfuscation, existing methods cannot accurately identify APT traffic with just a few traffic samples. To overcome the above limitation, we propose a novel encrypted APT traffic detection model, APTSniffer, which combines large language models (LLM) and retrieval-augmented technology. APTSniffer utilizes the few-shot inference and generalization abilities of large language models by converting raw traffic data into natural language inference examples understandable by the LLM. Experimental results show that, compared to other baseline models, APTSniffer exhibits SOTA performance. It achieves F1 scores above 97% on three APT datasets, making it practically applicable for APT traffic detection tasks.
Authors
- Peishuai Sun (ORCID: https://orcid.org/0000-0003-1135-8297)
- Chengxiang Si (ORCID: https://orcid.org/0000-0003-2646-6100)
- Chenxu Wang (ORCID: https://orcid.org/0000-0002-1174-8933)
- Qingyun Liu (ORCID: https://orcid.org/0000-0003-4815-3463)
- Hongbo Xu (ORCID: https://orcid.org/0000-0001-7594-3140)
- Zhouzhou
Institutions
- Chinese Academy of Sciences (CN)
- National Computer Network Emergency Response Technical Team/Coordination Center of Chinar (CN)
- Institute of Information Engineering (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10888022
- Citations
- 4
- Primary Topic
- Hate Speech and Cyberbullying Detection
- Type
- article
- Field-Weighted Citation Impact
- 9.92