BSTFNet: An Encrypted Malicious Traffic Classification Method Integrating Global Semantic and Spatiotemporal Features
Source abstract
Abstract
While encryption technology safeguards the security of network communications, malicious traffic also uses encryption protocols to obscure its malicious behavior. To address the issues of traditional machine learning methods relying on expert experience and the insufficient representation capabilities of existing deep learning methods for encrypted malicious traffic, we propose an encrypted malicious traffic classification method that integrates global semantic features with local spatiotemporal features, called BERT-based Spatio-Temporal Features Network (BSTFNet). At the packet-level granularity, the model captures the global semantic features of packets through the attention mechanism of the Bidirectional Encoder Representations from Transformers (BERT) model. At the byte-level granularity, we initially employ the Bidirectional Gated Recurrent Unit (BiGRU) model to extract temporal features from bytes, followed by the utilization of the Text Convolutional Neural Network (TextCNN) model with multi-sized convolution kernels to extract local multi-receptive field spatial features. The fusion of features from both granularities serves as the ultimate multidimensional representation of malicious traffic. Our approach achieves accuracy and F1-score of 99.39% and 99.40%, respectively, on the publicly available USTC-TFC2016 dataset, and effectively reduces sample confusion within the Neris and Virut categories. The experimental results demonstrate that our method has outstanding representation and classification capabilities for encrypted malicious traffic.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Internet Traffic Analysis and Secure E-voting · Network Security and Intrusion Detection · Advanced Malware Detection Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (41)
Show source-provided references
1. A review on TLS encryption malware detection: TLS features, machine learning usage, and future directions
2. The rise of traffic classification in IoT networks: A survey10.1016/j.jnca.2020.102538 ↗
3. Features of application of machine learning methods for classification of network traffic (features, advantages, disadvantages)
4. ET-BERT: A contextualized datagram representation with pre-training transformers for encrypted traffic classification
5. A survey on encrypted network traffic analysis applications, techniques, and countermeasures10.1145/3457904 ↗
6. PortVis: A tool for port-based detection of security events
7. A longitudinal study of P2P traffic classification
8. P2P traffic classification for residential network
9. Markov chain fingerprinting to classify encrypted traffic
10. Towards privacy-preserving dynamic deep packet inspection over outsourced middleboxes10.1016/j.hcc.2021.100033 ↗
11. PrivDPI: Privacy-preserving encrypted traffic inspection with reusable obfuscated rules
12. Semi-supervised encrypted traffic classification with deep convolutional generative adversarial networks10.1109/ACCESS.2019.2962106 ↗
13. Network intrusion detection model using fused machine learning technique
14. Deciphering malware’s use of TLS (without decryption)10.1007/s11416-017-0306-6 ↗
15. Detection of encrypted malicious network traffic using machine learning
16. Feature analysis of encrypted malicious traffic10.1016/j.eswa.2019.01.064 ↗
17. Hunting malicious TLS certificates with deep neural networks
18. FlowPic: Encrypted internet traffic classification is as easy as image recognition
19. Research on malicious TLS traffic identification based on hybrid neural network
20. End-to-end encrypted traffic classification with one-dimensional convolution neural networks
21. Deep packet: A novel approach for encrypted traffic classification using deep learning10.1007/s00500-019-04030-2 ↗
22. An unsupervised deep learning model for early network traffic anomaly detection10.1109/ACCESS.2020.2973023 ↗
23. A network traffic classification model based on metric learning
24. FS-Net: A flow sequence network for encrypted traffic classification
25. TSCRNN: A novel classification scheme of encrypted traffic based on flow spatiotemporal features for efficient management of IIoT10.1016/j.comnet.2021.107974 ↗
26. Encrypted traffic classification with a convolutional long short-term memory neural network
27. Attention-based bidirectional GRU networks for efficient HTTPS traffic classification10.1016/j.ins.2020.05.035 ↗
28. MTC: A multi-task model for encrypted network traffic classification based on transformer and 1D-CNN10.32604/iasc.2023.036701 ↗
29. J. Devlin, M. W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” arXiv:1810.04805, 2018.
30. PERT: Payload encoding representation from transformer for encrypted traffic classification
31. BFCN: A novel classification method of encrypted traffic based on BERT and CNN10.3390/electronics12030516 ↗
32. X. Meng, C. C. Lin, Y. Wang, and Y. Zhang, “NetGPT: Generative pretrained transformer for network traffic,” arXiv:2304.09513, 2023.
33. PacketCGAN: Exploratory study of class imbalance for encrypted traffic classification using CGAN
34. Opinion analysis and aspect understanding during COVID-19 pandemic using BERT-Bi-LSTM ensemble method10.1038/s41598-022-21604-7 ↗
35. BERT-LSTM model for sarcasm detection in code-mixed social media post10.1007/s10844-022-00755-z ↗
36. Light gated recurrent units for speech recognition10.1109/TETCI.2017.2762739 ↗
37. An automatic vulnerability classification framework based on BiGRU-TextCNN10.1016/j.procs.2023.08.176 ↗
38. Malicious code classification based on opcode sequences and textCNN network
39. Z. Zhao et al., “UER: An open-source toolkit for pre-training models,” arXiv:1909.05658, 2019.10.18653/v1/D19-3041 ↗
40. Malware traffic classification using convolutional neural network for representation learning
41. FlowPrint: Semi-supervised mobile-app fingerprinting on encrypted network traffic