基于LLM编码系统日志与自编码器的语义感知高级持续性威胁检测 Semantic-Aware Advanced Persistent Threat Detection Using Autoencoders on LLM-Encoded System Logs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-01-30
👁️ 预览文献
💡 AI 中文简介
高级持续性威胁(APT)攻击隐蔽且长期潜伏,传统方法难以检测。本文提出一种新方法:先用大语言模型(LLM)将原始系统日志转化为高维语义嵌入,再用自编码器(AE)分析这些嵌入以发现异常模式。在DARPA透明计算数据集上,该方法在AUC-ROC指标上优于孤立森林、单类SVM和PCA等无监督基线,即使在复杂攻击场景下也表现更佳,表明语义理解对检测隐蔽攻击至关重要。
领域网络安全 / 入侵检测
适合谁读需要一定专业背景(了解机器学习、网络安全基础)
核心贡献1. 首次将LLM生成的语义嵌入用于APT检测,捕捉系统活动的语义意图;2. 结合自编码器实现无监督异常检测,在真实APT场景下超越传统方法。
关键数据在DARPA TC数据集上,基于LLM嵌入的AE在AUC-ROC指标上持续优于IForest、OC-SVM和PCA,尤其在复杂威胁场景下表现更优。
推荐理由如果你关注用大模型提升网络安全检测效果,这篇论文提供了新颖且有效的思路,实验扎实,值得一读。
关键词["高级持续性威胁检测", "大语言模型", "自编码器", "系统日志分析", "语义嵌入", "异常检测"]

原文摘要

查看英文原文摘要

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.