Harnessing Unsupervised <scp>LSTM</scp> Autoencoders for Anomaly Detection in Cybersecurity Time Series

ABSTRACT The rapid growth of cyber threats demands effective anomaly detection systems. However, current methods often struggle with novel attacks, high false‐positive rates, and poor interpretability, especially in imbalanced environments. To address these gaps, this study proposes an unsupervised LSTM Autoencoder that learns a tightly defined baseline of normal behavior. The model was trained exclusively on the most frequent normal connection state from the CTU‐13 dataset and then tested on mixed traffic. It achieved an overall accuracy of 93.1% and an AUC of 0.87, demonstrating its effectiveness in identifying traffic that matched the learned baseline. Despite this, its performance on malicious botnet traffic was modest (F1‐score: 0.24), revealing a critical trade‐off between specialization and generalization. This work contributes a transparent anomaly detection strategy and offers clear insights into the challenge of distinguishing novel benign behaviors from genuine threats in network data.

Authors

Institutions

Publication Details

Journal
Security and Privacy
Published
2025-10-12
DOI
https://doi.org/10.1002/spy2.70118
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Harnessing Unsupervised LSTM Autoencoders for Anomaly Detection in Cybersecurity Time Series

Jing Liang
Security and Privacy
Anomaly Detection Techniques and Applications
article

Harnessing Unsupervised LSTM Autoencoders for Anomaly Detection in Cybersecurity Time Series

Jing Liang
article en

Abstract

ABSTRACT The rapid growth of cyber threats demands effective anomaly detection systems. However, current methods often struggle with novel attacks, high false‐positive rates, and poor interpretability, especially in imbalanced environments. To address these gaps, this study proposes an unsupervised LSTM Autoencoder that learns a tightly defined baseline of normal behavior. The model was trained exclusively on the most frequent normal connection state from the CTU‐13 dataset and then tested on mixed traffic. It achieved an overall accuracy of 93.1% and an AUC of 0.87, demonstrating its effectiveness in identifying traffic that matched the learned baseline. Despite this, its performance on malicious botnet traffic was modest (F1‐score: 0.24), revealing a critical trade‐off between specialization and generalization. This work contributes a transparent anomaly detection strategy and offers clear insights into the challenge of distinguishing novel benign behaviors from genuine threats in network data.

Security and PrivacyVol. 8(6)
Chongqing Vocational Institute of Engineering (CN)
Openalex Percentile: Top 85%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.