Litcius/Paper detail

BFCN: A Novel Classification Method of Encrypted Traffic Based on BERT and CNN

Zhaolei Shi, Nurbol Luktarhan, Yangyang Song, Gaoqi Tian

2023Electronics53 citationsDOIOpen Access PDF

Abstract

With the speedy advancement of encryption technology and the exponential increase in applications, network traffic classification has become an increasingly important research topic. Existing methods for classifying encrypted traffic have certain limitations. For example, traditional approaches such as machine learning rely heavily on feature engineering, deep learning approaches are susceptible to the amount and distribution of labeled data, and pretrained models focus merely on the global traffic features while ignoring local features. To solve the above problem, we propose a BERT-based byte-level feature convolutional network (BFCN) model consisting of two novel modules. The first is a packet encoder module, in which we use the BERT pretrained encrypted traffic classification model to capture global traffic features through its attention mechanism; the second is a CNN module, which captures byte-level local features in the traffic through convolutional operations. The packet-level and byte-level features are concatenated as the traffic’s final representation, which can better represent encrypted traffic. Our approach achieves state-of-the-art performance on the publicly available ISCX-VPN dataset for the traffic service and application identification task, achieving F1 scores of 99.11% and 99.41%, respectively, on these two tasks. The experimental results demonstrate that our method further improves the performance of encrypted traffic classification.

Topics & Concepts

Computer scienceTraffic classificationEncryptionByteConvolutional neural networkArtificial intelligenceNetwork packetDeep packet inspectionFeature (linguistics)Deep learningMachine learningData miningComputer networkOperating systemPhilosophyLinguisticsInternet Traffic Analysis and Secure E-votingNetwork Security and Intrusion DetectionDigital and Cyber Forensics