arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.09385cs.CR
收藏

APT-LLM:基于嵌入的网络高级持续性威胁异常检测——利用大语言模型

APT-LLM: Embedding-Based Anomaly Detection of Cyber Advanced Persistent Threats Using Large Language Models

Sidahmed Benabderrahmane, Petko Valtchev, James Cheney, Talal Rahwan

AI总结:

针对高级持续性威胁(APTs)检测难的问题,提出APT-LLM框架,结合BERT等大语言模型与自动编码器架构,在极端不平衡数据集上显著提升检测性能,优于传统方法。

摘要:

高级持续性威胁(APTs)因隐蔽性及模仿正常系统行为的能力构成重大网络安全挑战,在高度不平衡数据集中检测尤为困难。传统异常检测方法难以有效区分APT相关活动与良性进程,限制其实际场景适用性。本文提出APT-LLM,一种新颖的基于嵌入的异常检测框架,整合大语言模型(LLMs)——BERT、ALBERT、DistilBERT和RoBERTa——与自动编码器架构以检测APT。与依赖手工特征或传统异常检测模型的现有方法不同,APT-LLM利用LLMs将进程-动作溯源轨迹编码为语义丰富的嵌入,捕捉细微行为模式。这些嵌入通过三种自动编码器架构——基线自动编码器(AE)、变分自动编码器(VAE)和去噪自动编码器(DAE)——分析,以建模正常进程行为并识别异常。选择性能最佳的模型与传统方法比较。该框架在DARPA透明计算项目的真实高度不平衡溯源轨迹数据集上评估,其中类APT攻击在多个操作系统(Android、Linux、BSD和Windows)及攻击场景中占比仅0.004%。结果表明,APT-LLM在极端不平衡条件下显著提升检测性能,优于现有异常检测方法,凸显LLM基特征提取在网络安全中的有效性。

英文摘要:

Advanced Persistent Threats (APTs) pose a major cybersecurity challenge due to their stealth and ability to mimic normal system behavior, making detection particularly difficult in highly imbalanced datasets. Traditional anomaly detection methods struggle to effectively differentiate APT-related activities from benign processes, limiting their applicability in real-world scenarios. This paper introduces APT-LLM, a novel embedding-based anomaly detection framework that integrates large language models (LLMs) -- BERT, ALBERT, DistilBERT, and RoBERTa -- with autoencoder architectures to detect APTs. Unlike prior approaches, which rely on manually engineered features or conventional anomaly detection models, APT-LLM leverages LLMs to encode process-action provenance traces into semantically rich embeddings, capturing nuanced behavioral patterns. These embeddings are analyzed using three autoencoder architectures -- Baseline Autoencoder (AE), Variational Autoencoder (VAE), and Denoising Autoencoder (DAE) -- to model normal process behavior and identify anomalies. The best-performing model is selected for comparison against traditional methods. The framework is evaluated on real-world, highly imbalanced provenance trace datasets from the DARPA Transparent Computing program, where APT-like attacks constitute as little as 0.004\% of the data across multiple operating systems (Android, Linux, BSD, and Windows) and attack scenarios. Results demonstrate that APT-LLM significantly improves detection performance under extreme imbalance conditions, outperforming existing anomaly detection methods and highlighting the effectiveness of LLM-based feature extraction in cybersecurity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑