EUVIMEDAvasta EUVIMED
Open access · CC BY 4.0

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

Zhaolei Shi, Nurbol Luktarhan, Yangyang Song, Gaoqi Tian

Electronics · 2023-01-19 · 12 (3) · 516

DOI: 10.3390/electronics12030516 ↗

At a glance

Journal article in Electronics, published online on 2023-01-19. Written by Zhaolei Shi and 3 co-authors. Cited 58 times so far (Crossref); 35 references. The full text is freely available (open access, CC BY 4.0). Funded by: National Social Science Fund of China, Innovation Environment Construction Special 355 Project of Xinjiang Uygur Autonomous Region.

AbstraktBibliograafilised andmedCiteRelated studies

Abstract (original language)

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.

Funding

  • National Social Science Fund of China
  • Innovation Environment Construction Special 355 Project of Xinjiang Uygur Autonomous Region

Cite

APA

Shi, Z., Luktarhan, N., Song, Y., & Tian, G. (2023). BFCN: A Novel Classification Method of Encrypted Traffic Based on BERT and CNN. Electronics, 12(3), 516. https://doi.org/10.3390/electronics12030516

Vancouver

Shi Z, Luktarhan N, Song Y, Tian G. BFCN: A Novel Classification Method of Encrypted Traffic Based on BERT and CNN. Electronics. 2023;12(3):516. doi:10.3390/electronics12030516

BibTeX
@article{Shi2023,
  author = {Shi, Zhaolei and Luktarhan, Nurbol and Song, Yangyang and Tian, Gaoqi},
  title = {BFCN: A Novel Classification Method of Encrypted Traffic Based on BERT and CNN},
  journal = {Electronics},
  year = {2023},
  volume = {12},
  number = {3},
  pages = {516},
  doi = {10.3390/electronics12030516}
}
Start for free →