mlsanityData to 7 Oct 2026

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

arXiv 2602.00204 ↗First posted 30 Jan 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 20 references that are in the map. First posted on arXiv 30 Jan 2026.

Builds on

5 of 20 references.

References · 5

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
  3. 2019A baseline for unsupervised advanced persistent threat detection in system-level provenancecited by 12
  4. 2025OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMscited by 6
  5. 2025An explainable Recursive Feature Elimination to detect Advanced Persistent Threats using Random Forest classifiercited by 1

Built on by

Not cited yet.