arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00204cs.CRcs.AI
收藏

基于语义的高级持续性威胁检测:使用自动编码器对LLM编码的系统日志进行分析

Semantic-Aware Advanced Persistent Threat Detection Using Autoencoders on LLM-Encoded System Logs

Faculty of Artificial Intelligence and Engineering, Multimedia University Cyberjaya, Malaysia(人工智能与工程学院,多媒体大学(Cyberjaya校区));Centre for Image and Vision Computing, Centre of Excellence for Artificial Intelligence, Faculty of Artificial Intelligence and Engineering, Multimedia University, Cyberjaya, Selangor, Malaysia(图像与视觉计算中心,人工智能卓越中心,人工智能与工程学院,多媒体大学(Cyberjaya校区,Selangor州));Computer Science, New York University Abu Dhabi, UAE(计算机科学,纽约大学阿布扎克校区)

Waleed Khan Mohammed, Zahirul Arief Irfan Bin Shahrul Anuar, Mousa Sufian Mousa Mitani, Hezerul Abdul Karim, Nouar AlDahoul

AI总结:

本文提出利用LLM生成的语义嵌入和自动编码器,提升对高级持续性威胁的检测能力,实验显示其在复杂威胁场景中表现更优。

摘要:

高级持续性威胁(APTs)是检测最具挑战性的网络攻击之一。它们由高度熟练的攻击者精心研究目标并以隐蔽、长期的方式操作。由于APTs表现出“低速低频”的行为,传统统计方法和浅层机器学习技术往往无法检测到它们。先前关于APTs检测的研究探索了机器学习方法和溯源图分析。然而,基于溯源的方法通常无法捕捉系统活动背后的语义意图。本文提出了一种新颖的异常检测方法,利用由大型语言模型(LLMs)生成的语义嵌入。该方法通过从非结构化系统日志数据中提取有意义的语义表示来增强APTs检测。首先,原始系统日志通过预训练的Transformer模型转换为高维语义嵌入。这些嵌入随后通过自动编码器(AE)进行分析,以识别异常和潜在恶意模式。所提出的方法在DARPA透明计算(TC)数据集上进行评估,该数据集包含由红队在真实环境中生成的现实APT攻击场景。实验结果表明,基于LLM衍生嵌入训练的AE在广泛使用的无监督基线方法,包括隔离森林(IForest)、单类支持向量机(OC-SVM)和主成分分析(PCA)上表现更优。性能通过接收者操作特征曲线面积(AUC-ROC)进行测量,所提出的方法在复杂威胁场景中也 consistently 展现出优越的结果。这些发现突显了语义理解在检测非线性和隐蔽攻击行为方面的重要性,这些行为通常被传统检测技术所遗漏。

英文摘要:

Advanced Persistent Threats (APTs) are among the most challenging cyberattacks to detect. They are carried out by highly skilled attackers who carefully study their targets and operate in a stealthy, long-term manner. Because APTs exhibit "low-and-slow" behavior, traditional statistical methods and shallow machine learning techniques often fail to detect them. Previous research on APT detection has explored machine learning approaches and provenance graph analysis. However, provenance-based methods often fail to capture the semantic intent behind system activities. This paper proposes a novel anomaly detection approach that leverages semantic embeddings generated by Large Language Models (LLMs). The method enhances APT detection by extracting meaningful semantic representations from unstructured system log data. First, raw system logs are transformed into high-dimensional semantic embeddings using a pre-trained transformer model. These embeddings are then analyzed using an Autoencoder (AE) to identify anomalous and potentially malicious patterns. The proposed method is evaluated using the DARPA Transparent Computing (TC) dataset, which contains realistic APT attack scenarios generated by red teams in live environments. Experimental results show that the AE trained on LLM-derived embeddings outperforms widely used unsupervised baseline methods, including Isolation Forest (IForest), One-Class Support Vector Machine (OC-SVM), and Principal Component Analysis (PCA). Performance is measured using the Area Under the Receiver Operating Characteristic Curve (AUC-ROC), where the proposed approach consistently achieves superior results, even in complex threat scenarios. These findings highlight the importance of semantic understanding in detecting non-linear and stealthy attack behaviors that are often missed by conventional detection techniques.

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

↑