{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,6]],"date-time":"2026-11-06T08:50:16Z","timestamp":1793955016461,"version":"4.8.0"},"reference-count":26,"publisher":"MDPI AG","issue":"24","license":[{"start":{"date-parts":[[2021,12,9]],"date-time":"2021-12-09T00:00:00Z","timestamp":1639008000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["61772548"],"award-info":[{"award-number":["61772548"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>With the rapid increase in encrypted traffic in the network environment and the increasing proportion of encrypted traffic, the study of encrypted traffic classification has become increasingly important as a part of traffic analysis. At present, in a closed environment, the classification of encrypted traffic has been fully studied, but these classification models are often only for labeled data and difficult to apply in real environments. To solve these problems, we propose a transferable model called CBD with generalization abilities for encrypted traffic classification in real environments. The overall structure of CBD can be generally described as a of one-dimension CNN and the encoder of Transformer. The model can be pre-trained with unlabeled data to understand the basic characteristics of encrypted traffic data, and be transferred to other datasets to complete the classification of encrypted traffic from the packet level and the flow level. The performance of the proposed model was evaluated on a public dataset. The results showed that the performance of the CBD model was better than the baseline methods, and the pre-training method can improve the classification ability of the model.<\/jats:p>","DOI":"10.3390\/s21248231","type":"journal-article","created":{"date-parts":[[2021,12,9]],"date-time":"2021-12-09T21:46:58Z","timestamp":1639086418000},"page":"8231","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":17,"title":["CBD: A Deep-Learning-Based Scheme for Encrypted Traffic Classification with a General Pre-Training Method"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-5846-1454","authenticated-orcid":false,"given":"Xinyi","family":"Hu","sequence":"first","affiliation":[{"name":"State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China"},{"name":"Henan Key Laboratory of Network Cryptography Technology, Zhengzhou 450001, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chunxiang","family":"Gu","sequence":"additional","affiliation":[{"name":"State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China"},{"name":"Henan Key Laboratory of Network Cryptography Technology, Zhengzhou 450001, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yihang","family":"Chen","sequence":"additional","affiliation":[{"name":"State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fushan","family":"Wei","sequence":"additional","affiliation":[{"name":"State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China"},{"name":"Henan Key Laboratory of Network Cryptography Technology, Zhengzhou 450001, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,12,9]]},"reference":[{"key":"ref_1","first-page":"1","article-title":"The Applications of Deep Learning on Traffic Identification","volume":"24","author":"Wang","year":"2015","journal-title":"BlackHat USA"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"H\u00f6chst, J., Baumg\u00e4rtner, L., Hollick, M., and Freisleben, B. (2017, January 9\u201312). Unsupervised Traffic Flow Classification Using a Neural Autoencoder. Proceedings of the 2017 IEEE 42nd Conference on Local Computer Networks (LCN), Singapore.","DOI":"10.1109\/LCN.2017.57"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Li, R., Xiao, X., Ni, S., Zheng, H., and Xia, S. (2018, January 4\u20136). Byte Segment Neural Network for Network Traffic Classification. Proceedings of the 2018 IEEE\/ACM 26th International Symposium on Quality of Service (IWQoS), Banff, AB, Canada.","DOI":"10.1109\/IWQoS.2018.8624128"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Mar\u00edn, G., Casas, P., and Capdehourat, G. (2019, January 23). Deep in the Dark\u2014Deep Learning-Based Malware Traffic Detection without Expert Knowledge. Proceedings of the 2019 IEEE Security and Privacy Workshops (SPW), San Francisco, CA, USA.","DOI":"10.1109\/SPW.2019.00019"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"107213","DOI":"10.1016\/j.comnet.2020.107213","article-title":"A framework to classify heterogeneous Internet traffic with Machine Learning and Deep Learning techniques for satellite communications","volume":"173","author":"Pacheco","year":"2020","journal-title":"Comput. Netw."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"306","DOI":"10.1016\/j.neucom.2020.05.036","article-title":"Toward effective mobile encrypted traffic classification through deep learning","volume":"409","author":"Aceto","year":"2020","journal-title":"Neurocomputing"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"5518460","DOI":"10.1155\/2021\/5518460","article-title":"CLD-Net: A Network Combining CNN and LSTM for Internet Encrypted Traffic Classification","volume":"2021","author":"Hu","year":"2021","journal-title":"Secur. Commun. Netw."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Lashkari, A., Draper-Gil, G., Mamun, M., and Ghorbani, A. (2016, January 19\u201321). Characterization of Encrypted and VPN Traffic Using Time-Related Features. Proceedings of the International Conference on Information Systems Security and Privacy (ICISSP), Rome, Italy.","DOI":"10.5220\/0005740704070414"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"297","DOI":"10.1109\/TKDE.2009.191","article-title":"A Survey on Transfer Learning","volume":"22","author":"Pan","year":"2010","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Taheri, S., Salem, M., and Yuan, J. (2018). Leveraging Image Representation of Network Traffic Data and Transfer Learning in Botnet Detection. Big Data Cogn. Comput., 2.","DOI":"10.3390\/bdcc2040037"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"100","DOI":"10.1016\/j.cose.2014.05.011","article-title":"An empirical comparison of botnet detection methods","volume":"45","author":"Garcia","year":"2014","journal-title":"Comput. Secur. J."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"920","DOI":"10.1016\/j.compeleceng.2018.03.005","article-title":"Network traffic classification based on transfer learning","volume":"69","author":"Sun","year":"2018","journal-title":"Comput. Electr. Eng."},{"key":"ref_13","first-page":"297","article-title":"Attention-based bidirectional GRU networks for efficient HTTPS traffic classification","volume":"541","author":"Liu","year":"2020","journal-title":"J. Inf. Sci. Eng."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Hu, X., Gu, C., Chen, Y., and Wei, F. (2021, January 15\u201317). tCLD-Net: A Transfer Learning Internet Encrypted Traffic Classification Scheme Based on Convolution Neural Network and Long Short-Term Memory Network. Proceedings of the 2021 International Conference on Communications, Computing, Cybersecurity, and Informatics (CCCI), Beijing, China.","DOI":"10.1109\/CCCI52664.2021.9583214"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Wang, C., Dani, J., Li, X., Jia, X., and Wang, B. (2021, January 26\u201328). Adaptive Fingerprinting: Website Fingerprinting over Few Encrypted Traffic. Proceedings of the 11th ACM Conference on Data and Application Security and Privacy, Virtual Event.","DOI":"10.1145\/3422337.3447835"},{"key":"ref_16","first-page":"2030","article-title":"Domain-adversarial training of neural networks","volume":"17","author":"Ganin","year":"2016","journal-title":"J. Mach. Learn. Res."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Tzeng, E., Hoffman, J., Saenko, K., and Darrell, T. (2017, January 21\u201326). Adversarial Discriminative Domain Adaptation. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.316"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Sirinam, P., Mathews, N., Rahman, M., and Wright, M. (2019, January 11\u201315). Triplet Fingerprinting: More Practical and Portable Website Fingerprinting with N-shot Learning. Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, London, UK.","DOI":"10.1145\/3319535.3354217"},{"key":"ref_19","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A., Kaiser, L., and Polosukhin, I. (2017). Attention is all you need. Adv. Neural Inf. Process. Syst., 5998\u20136008."},{"key":"ref_20","first-page":"11","article-title":"Generative transformer framework for network traffic generation and classification","volume":"14","author":"Bikmukhamedo","year":"2020","journal-title":"T-Comm-Telecommun. Transp."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Wang, H., and Li, W. (2021). DDosTC: A Transformer-Based Network Attack Detection Hybrid Mechanism in SDN. Sensors, 21.","DOI":"10.3390\/s21155047"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Sharafaldin, I., Lashkari, A., Hakak, S., and Ghorbani, A. (2019, January 1\u20133). Developing Realistic Distributed Denial of Service (DDoS) Attack Dataset and Taxonomy. Proceedings of the IEEE 53rd International Carnahan Conference on Security Technology, Chennai, India.","DOI":"10.1109\/CCST.2019.8888419"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"1441","DOI":"10.1007\/s10044-021-00980-2","article-title":"A new method of hybrid time window embedding with transformer-based traffic data classification in IoT-networked environment","volume":"24","author":"Kozik","year":"2021","journal-title":"Pattern Anal. Appl."},{"key":"ref_24","unstructured":"Garcia, S., Parmisano, A., and Erquiaga, M. (2020). IoT-23: A labeled dataset with malicious and benign IoT network traffic (Version 1.0.0) [Data set]. Zenodo."},{"key":"ref_25","unstructured":"Devlin, J., Chang, M., Lee, K., and Toutanova, K. (2019, January 2\u20137). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), Minneapolis, MN, USA."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"He, H., Yang, Z., and Chen, X. (2020, January 7\u201311). PERT: Payload Encoding Representation from Transformer for Encrypted Traffic Classification. Proceedings of the 2020 ITU Kaleidoscope: Industry-Driven Digital Transformation (ITU K), Online.","DOI":"10.23919\/ITUK50268.2020.9303204"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/24\/8231\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T07:44:07Z","timestamp":1760168647000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/24\/8231"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,12,9]]},"references-count":26,"journal-issue":{"issue":"24","published-online":{"date-parts":[[2021,12]]}},"alternative-id":["s21248231"],"URL":"https:\/\/doi.org\/10.3390\/s21248231","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,12,9]]}}}