Saved in:
Bibliographic Details
Main Authors: Dong, Zhibo, Huang, Yong, Sun, Shubao, Cui, Wentao, Wang, Zhihua
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.05193
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911253783379968
author Dong, Zhibo
Huang, Yong
Sun, Shubao
Cui, Wentao
Wang, Zhihua
author_facet Dong, Zhibo
Huang, Yong
Sun, Shubao
Cui, Wentao
Wang, Zhihua
contents With their widespread popularity, web services have become the main targets of various cyberattacks. Existing traffic anomaly detection approaches focus on flow-level attacks, yet fail to recognize behavior-level attacks, which appear benign in individual flows but reveal malicious purpose using multiple network flows. To transcend this limitation, we propose a novel unsupervised traffic anomaly detection system, BLADE, capable of detecting not only flow-level but also behavior-level attacks in web services. Our key observation is that application-layer operations of web services exhibit distinctive communication patterns at the network layer from a multi-flow perspective. BLADE first exploits a flow autoencoder to learn a latent feature representation and calculates its reconstruction losses per flow. Then, the latent representation is assigned a pseudo operation label using an unsupervised clustering method. Next, an anomaly score is computed based on the reconstruction losses. Finally, the triplets of timestamps, pseudo labels, and anomaly scores from multiple flows are aggregated and fed into a one-class classifier to characterize the behavior patterns of legitimate web operations, enabling the detection of flow-level and behavior-level anomalies. BLADE is extensively evaluated on both the custom dataset and the CIC-IDS2017 dataset. The experimental results demonstrate BLADE's superior performance, achieving high F1 scores of 0.9732 and 0.9801, respectively, on the two datasets, and outperforming traditional single-flow anomaly detection baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2511_05193
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle BLADE: Behavior-Level Anomaly Detection Using Network Traffic in Web Services
Dong, Zhibo
Huang, Yong
Sun, Shubao
Cui, Wentao
Wang, Zhihua
Cryptography and Security
With their widespread popularity, web services have become the main targets of various cyberattacks. Existing traffic anomaly detection approaches focus on flow-level attacks, yet fail to recognize behavior-level attacks, which appear benign in individual flows but reveal malicious purpose using multiple network flows. To transcend this limitation, we propose a novel unsupervised traffic anomaly detection system, BLADE, capable of detecting not only flow-level but also behavior-level attacks in web services. Our key observation is that application-layer operations of web services exhibit distinctive communication patterns at the network layer from a multi-flow perspective. BLADE first exploits a flow autoencoder to learn a latent feature representation and calculates its reconstruction losses per flow. Then, the latent representation is assigned a pseudo operation label using an unsupervised clustering method. Next, an anomaly score is computed based on the reconstruction losses. Finally, the triplets of timestamps, pseudo labels, and anomaly scores from multiple flows are aggregated and fed into a one-class classifier to characterize the behavior patterns of legitimate web operations, enabling the detection of flow-level and behavior-level anomalies. BLADE is extensively evaluated on both the custom dataset and the CIC-IDS2017 dataset. The experimental results demonstrate BLADE's superior performance, achieving high F1 scores of 0.9732 and 0.9801, respectively, on the two datasets, and outperforming traditional single-flow anomaly detection baselines.
title BLADE: Behavior-Level Anomaly Detection Using Network Traffic in Web Services
topic Cryptography and Security
url https://arxiv.org/abs/2511.05193