An Encrypted Network Traffic Classification Strategy: Combining Locality-Sensitive Hashing With Transformer Encoder and CNN

Encrypted network traffic classification is fundamental for network management and security, including DDoS detection and mitigation. However, unknown category traffic can interfere with the classification of known traffic categories, leading to low recognition rates. To address this issue, we leverage the capability of Locality-Sensitive Hashing (LSH) to efficiently handle high-dimensional traffic data. By mapping similar flows into the same hash buckets with LSH, the unknown category traffic can be filtered out, thereby reducing the interference from unknown category traffic and improving the classification accuracy of known category traffic. Based on this, we propose an LSH-TECNN strategy that combines the LSH with Convolutional Neural Network (CNN) and Transformer Encoder (TE). Firstly, a combination of K-Nearest Neighbors (KNN) and LSH is used to determine whether the traffic belongs to known categories. Then, a Transformer Encoder and 2D-CNN are used to precisely classify the encrypted traffic. Experimental results demonstrate that our method improves classification accuracy by up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 2 \%}$</tex> and precision by up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$10 \%$</tex> compared to existing encrypted traffic classification methods.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/icnp61940.2024.10858557
Citations
2
Primary Topic
Internet Traffic Analysis and Secure E-voting
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Encrypted Network Traffic Classification Strategy: Combining Locality-Sensitive Hashing With Transformer Encoder and CNN

Wenyong Wang, Shaogang Hu, Junrui Wu, Yuwei Li et al.
2 citations
Internet Traffic Analysis and Secure E-voting
0.69
article

An Encrypted Network Traffic Classification Strategy: Combining Locality-Sensitive Hashing With Transformer Encoder and CNN

Wenyong Wang, Shaogang Hu, Junrui Wu, Yuwei Li, Yubo Li, Haoran Luo
article en
2 citations

Abstract

Encrypted network traffic classification is fundamental for network management and security, including DDoS detection and mitigation. However, unknown category traffic can interfere with the classification of known traffic categories, leading to low recognition rates. To address this issue, we leverage the capability of Locality-Sensitive Hashing (LSH) to efficiently handle high-dimensional traffic data. By mapping similar flows into the same hash buckets with LSH, the unknown category traffic can be filtered out, thereby reducing the interference from unknown category traffic and improving the classification accuracy of known category traffic. Based on this, we propose an LSH-TECNN strategy that combines the LSH with Convolutional Neural Network (CNN) and Transformer Encoder (TE). Firstly, a combination of K-Nearest Neighbors (KNN) and LSH is used to determine whether the traffic belongs to known categories. Then, a Transformer Encoder and 2D-CNN are used to precisely classify the encrypted traffic. Experimental results demonstrate that our method improves classification accuracy by up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 2 \%}$</tex> and precision by up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$10 \%$</tex> compared to existing encrypted traffic classification methods.

University of Electronic Science and Technology of China (CN)
Sustainable cities and communities
Openalex Percentile: Top 22%
Internet Traffic Analysis and Secure E-voting
0.69
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.