ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classification

ET-BERT: контекстуализированное представление датаграмм с использованием предварительно обученных трансформеров для классификации зашифрованного трафика
Xinjie Lin, Gang Xiong, Gaopeng Gou, Zhen Li, Junzheng Shi, Jing Yu
2022-04-25

ET-BERTcontextualized datagram representationencrypted traffic classificationencrypted traffic datasetspre-training Transformers
Encrypted traffic classification requires discriminative and robust traffic representation captured from content-invisible and imbalanced traffic data for accurate classification, which is challenging but indispensable to achieve network security and network management. The major limitation of existing solutions is that they highly rely on the deep features, which are overly dependent on data size and hard to generalize on unseen data. How to leverage the open-domain unlabeled traffic data to learn representation with strong generalization ability remains a key challenge. In this paper, we propose a new traffic representation model called Encrypted Traffic Bidirectional Encoder Representations from Transformer (ET-BERT), which pre-trains deep contextualized datagram-level representation from large-scale unlabeled data. The pre-trained model can be fine-tuned on a small number of task-specific labeled data and achieves state-of-the-art performance across five encrypted traffic classification tasks, remarkably pushing the F1 of ISCX-VPN-Service to 98.9% (5.2%↑), Cross-Platform (Android) to 92.5% (5.4%↑), CSTNET-TLS 1.3 to 97.4% (10.0%↑). Notably, we provide explanation of the empirically powerful pre-training model by analyzing the randomness of ciphers. It gives us insights in understanding the boundary of classification ability over encrypted traffic. The code is available at: https://github.com/linwhitehat/ET-BERT.
1
Analysis of cipher randomness explains the model’s empirical effectiveness and provides insight into the boundary of classification ability for encrypted traffic.
2
Compared with existing methods, ET-BERT improves F1 by 5.2%, 5.4%, and 10.0% on the three reported benchmarks, respectively.
3
ET-BERT achieves state-of-the-art results across five encrypted traffic classification tasks, including F1 scores of 98.9% on ISCX-VPN-Service, 92.5% on Cross-Platform Android, and 97.4% on CSTNET-TLS 1.3.
4
ET-BERT pre-trains contextualized datagram-level representations from large-scale unlabeled encrypted traffic using a Transformer architecture.
5
The pre-trained model can be fine-tuned with small amounts of task-specific labeled data while maintaining strong generalization for encrypted traffic classification.

Encrypted network datagram-level traffic (traffic datagrams) used for encrypted traffic classification

contextualized datagram-level representations and their generalization and classification performance for encrypted traffic

Publication Details
Publication Date
2022-04-25
Journal
Publisher
ISSN
Cited by
556
Access Type
Author Information
Authors
Xinjie Lin
Gang Xiong
Gaopeng Gou
Zhen Li
Junzheng Shi
Jing Yu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%