{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T16:44:10Z","timestamp":1791305050465,"version":"4.3.1"},"reference-count":34,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T00:00:00Z","timestamp":1759968000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T00:00:00Z","timestamp":1759968000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100021546","name":"Suez University","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100021546","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Sci Rep"],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>The classification of encrypted HTTPS traffic is a critical task for network management and security, where traditional port or payload-based methods are ineffective due to encryption and evolving traffic patterns. This study addresses the challenge using the public Kaggle dataset (145,671 flows, 88 features, six traffic categories: Download, Live Video, Music, Player, Upload, Website). An automated preprocessing pipeline is developed to detect the label column, normalize classes, perform a stratified 70\/15\/15 split into training, validation, and testing sets, and apply imbalance-aware weighting. Multiple deep learning architectures are benchmarked, including DNN, CNN, RNN, LSTM, and GRU, capturing different spatial and temporal patterns of traffic features. Experimental results show that CNN achieved the strongest single-model performance (Accuracy 0.9934, F1_macro 0.9912, ROC-AUC_macro 0.9999). To further improve robustness, a stacked ensemble meta-learner based on multinomial logistic regression was trained on model outputs, achieving state-of-the-art performance with Accuracy 0.9949, Precision_macro 0.9923, Recall_macro 0.9941, F1_macro 0.9932, and ROC-AUC_macro 0.9998. The framework also outputs confusion matrices, ROC curves, and learning curves for interpretability. To ensure reproducibility and practical use, the full codebase is publicly available on GitHub, providing researchers and practitioners with a deployment-ready pipeline for encrypted traffic analytics where ensemble learning surpasses individual models.<\/jats:p>","DOI":"10.1038\/s41598-025-21261-6","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T12:39:25Z","timestamp":1760013565000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Enhancing encrypted HTTPS traffic classification based on stacked deep ensembles models"],"prefix":"10.1038","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3048-1920","authenticated-orcid":false,"given":"Ahmed M.","family":"Elshewey","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ahmed M.","family":"Osman","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"21261_CR1","doi-asserted-by":"publisher","unstructured":"Alwhbi, I. A., Zou, C. C. & Alharbi, R. N. Encrypted network traffic analysis and classification utilizing machine learning. Sensors 24, 3509. https:\/\/doi.org\/10.3390\/S24113509 (2024).","DOI":"10.3390\/S24113509"},{"key":"21261_CR2","doi-asserted-by":"publisher","unstructured":"Salau, A. O. & Beyene, M. M. Software defined networking based network traffic classification using machine learning techniques. Sci. Rep. 14, 1\u201316. https:\/\/doi.org\/10.1038\/s41598-024-70983-6 (2024).","DOI":"10.1038\/s41598-024-70983-6"},{"key":"21261_CR3","doi-asserted-by":"publisher","first-page":"11244","DOI":"10.1109\/JIOT.2025.3531231","volume":"12","author":"C Chen","year":"2025","unstructured":"Chen, C. et al. A Deep-Learning-Based traffic classification method for 5G aerial computing networks. IEEE Internet Things J. 12, 11244\u201311257. https:\/\/doi.org\/10.1109\/JIOT.2025.3531231 (2025).","journal-title":"IEEE Internet Things J."},{"key":"21261_CR4","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/s41598-025-13754-1","volume":"15:1","author":"AM Elshewey","year":"2025","unstructured":"Elshewey, A. M., Abbas, S., Osman, A. M., Aldakheel, E. A. & Fouad, Y. DDoS classification of network traffic in software defined networking SDN using a hybrid convolutional and gated recurrent neural network. Sci. Rep.  15, 1\u201321. https:\/\/doi.org\/10.1038\/s41598-025-13754-1 (2025).","journal-title":"Sci. Rep. 2025"},{"key":"21261_CR5","doi-asserted-by":"publisher","unstructured":"Serag, R. H. et al. Machine-learning-based traffic classification in software-defined networks. Electronics 13, 1108. https:\/\/doi.org\/10.3390\/ELECTRONICS13061108 (2024).","DOI":"10.3390\/ELECTRONICS13061108"},{"key":"21261_CR6","doi-asserted-by":"publisher","unstructured":"Sharma, A. & Lashkari, A. H. A survey on encrypted network traffic. Comput. Netw. 257 https:\/\/doi.org\/10.1016\/J.COMNET.2024.110984 (2025).","DOI":"10.1016\/J.COMNET.2024.110984"},{"key":"21261_CR7","doi-asserted-by":"publisher","first-page":"103091","DOI":"10.1016\/J.SYSARC.2024.103091","volume":"149","author":"ZX Wang","year":"2024","unstructured":"Wang, Z. X., Li, Z. Y., Fu, M. Y., Ye, Y. C. & Wang, P. Network traffic classification based on federated semi-supervised learning. J. Syst. Architect. 149, 103091. https:\/\/doi.org\/10.1016\/J.SYSARC.2024.103091 (2024).","journal-title":"J. Syst. Architect."},{"key":"21261_CR8","doi-asserted-by":"publisher","unstructured":"Wang, G. & Gu, Y. Multi-task scenario encrypted traffic classification and parameter analysis. Sensors  24, 3078. https:\/\/doi.org\/10.3390\/S24103078 (2024).","DOI":"10.3390\/S24103078"},{"key":"21261_CR9","doi-asserted-by":"publisher","first-page":"9374","DOI":"10.1109\/TIFS.2024.3433446","volume":"19","author":"Y Liu","year":"2024","unstructured":"Liu, Y., Wang, X., Qu, B. & Zhao, F. ATVITSC: A novel encrypted traffic classification method based on deep learning. IEEE Trans. Inf. Forensics Secur. 19, 9374\u20139389. https:\/\/doi.org\/10.1109\/TIFS.2024.3433446 (2024).","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"21261_CR10","doi-asserted-by":"publisher","unstructured":"Park, J. T., Shin, C. Y., Baek, U. J. & Kim, M. S. Fast and accurate multi-task learning for encrypted network traffic classification. Appl. Sci.  14,  3073. https:\/\/doi.org\/10.3390\/APP14073073 (2024).","DOI":"10.3390\/APP14073073"},{"key":"21261_CR11","doi-asserted-by":"publisher","unstructured":"Mahboob, T. & Chung, M. Y. Neural network-based encrypted traffic classification and application categorization framework for the tor network.Ann. Telecommun.\/Ann. Telecommun.  1\u201321. https:\/\/doi.org\/10.1007\/S12243-025-01106-Z\/METRICS (2025).","DOI":"10.1007\/S12243-025-01106-Z\/METRICS"},{"key":"21261_CR12","doi-asserted-by":"publisher","unstructured":"Liu, L. et al. Method for multi-task learning fusion network traffic classification to address small sample labels. Sci. Rep. 14, 1\u201316. https:\/\/doi.org\/10.1038\/s41598-024-51933-8 (2024).","DOI":"10.1038\/s41598-024-51933-8"},{"key":"21261_CR13","doi-asserted-by":"publisher","unstructured":"Andras Szolga, L. et al. ML-based traffic classification in an SDN-enabled cloud environment.  Electronics 12, 269. https:\/\/doi.org\/10.3390\/ELECTRONICS12020269 (2023).","DOI":"10.3390\/ELECTRONICS12020269"},{"key":"21261_CR14","doi-asserted-by":"publisher","unstructured":"Pathmaperuma, M. H., Rahulamathavan, Y., Dogan, S. & Kondoz, A. M. Deep learning for encrypted traffic classification and unknown data detection. Sensors 22, 7643. https:\/\/doi.org\/10.3390\/S22197643 (2022).","DOI":"10.3390\/S22197643"},{"key":"21261_CR15","doi-asserted-by":"publisher","unstructured":"Ismaeel, A. G. et al. Traffic pattern classification in smart cities using deep recurrent neural network. Sustainability 15, 14522. https:\/\/doi.org\/10.3390\/SU151914522 (2023).","DOI":"10.3390\/SU151914522"},{"key":"21261_CR16","doi-asserted-by":"publisher","unstructured":"Sun, W., Zhang, Y., Li, J., Sun, C. & Zhang, S. A Deep learning-based encrypted VPN traffic classification method using packet block image. Electronics 12, 115. https:\/\/doi.org\/10.3390\/ELECTRONICS12010115 (2022).","DOI":"10.3390\/ELECTRONICS12010115"},{"key":"21261_CR17","doi-asserted-by":"publisher","unstructured":"Shi, Z., Luktarhan, N., Song, Y. & Tian, G. BFCN: A Novel Classification Method of Encrypted Traffic Based on BERT and CNN. Electronics 12, 516. https:\/\/doi.org\/10.3390\/ELECTRONICS12030516 (2023).","DOI":"10.3390\/ELECTRONICS12030516"},{"key":"21261_CR18","doi-asserted-by":"publisher","unstructured":"Lu, B., Luktarhan, N., Ding, C. & Zhang, W. ICLSTM: Encrypted traffic service identification based on inception-LSTM neural network. Symmetry  13,  1080. https:\/\/doi.org\/10.3390\/SYM13061080 (2021).","DOI":"10.3390\/SYM13061080"},{"key":"21261_CR19","doi-asserted-by":"publisher","first-page":"7091","DOI":"10.1109\/TIFS.2024.3428839","volume":"19","author":"Y Chen","year":"2024","unstructured":"Chen, Y. & Wang, Y. MPAF: encrypted traffic classification with Multi-Phase attribute fingerprint. IEEE Trans. Inf. Forensics Secur. 19, 7091\u20137105. https:\/\/doi.org\/10.1109\/TIFS.2024.3428839 (2024).","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"21261_CR20","doi-asserted-by":"publisher","first-page":"1389","DOI":"10.1016\/j.comnet.2023.109648","volume":"225","author":"N Malekghaini","year":"2023","unstructured":"Malekghaini, N. et al. Deep learning for encrypted traffic classification in the face of data drift: an empirical study. Comput. Netw. 225, 1389\u20131286. https:\/\/doi.org\/10.1016\/j.comnet.2023.109648 (2023).","journal-title":"Comput. Netw."},{"key":"21261_CR21","doi-asserted-by":"publisher","first-page":"110403","DOI":"10.1016\/J.COMNET.2024.110403","volume":"245","author":"X Wang","year":"2024","unstructured":"Wang, X. et al. Combine intra- and inter-flow: A multimodal encrypted traffic classification model driven by diverse features. Comput. Netw. 245, 110403. https:\/\/doi.org\/10.1016\/J.COMNET.2024.110403 (2024).","journal-title":"Comput. Netw."},{"key":"21261_CR22","doi-asserted-by":"publisher","first-page":"412","DOI":"10.1016\/J.DCAN.2024.02.003","volume":"11","author":"X Yan","year":"2025","unstructured":"Yan, X. et al. High-speed encrypted traffic classification by using payload features. Digit. Commun. Netw. 11, 412\u2013423. https:\/\/doi.org\/10.1016\/J.DCAN.2024.02.003 (2025).","journal-title":"Digit. Commun. Networks"},{"key":"21261_CR23","doi-asserted-by":"publisher","unstructured":"Chen, Z., Wei, X. & Wang, Y. Encrypted traffic classification encoder based on lightweight graph representation. Sci. Rep. 15, 1\u201314. https:\/\/doi.org\/10.1038\/s41598-025-05225-4 (2025).","DOI":"10.1038\/s41598-025-05225-4"},{"key":"21261_CR24","doi-asserted-by":"publisher","unstructured":"Xu, S., Han, J., Liu, Y., Liu, H. & Bai, Y. Few-shot traffic classification based on autoencoder and deep graph convolutional networks. Sci. Rep. 15, 1\u201316. https:\/\/doi.org\/10.1038\/s41598-025-94240-6 (2025).","DOI":"10.1038\/s41598-025-94240-6"},{"key":"21261_CR25","doi-asserted-by":"publisher","first-page":"110973","DOI":"10.1016\/J.COMNET.2024.110973","volume":"257","author":"M Zhan","year":"2025","unstructured":"Zhan, M., Yang, J., Jia, D. & Fu, G. EAPT: an encrypted traffic classification model via adversarial pre-trained Transformers. Comput. Netw. 257, 110973. https:\/\/doi.org\/10.1016\/J.COMNET.2024.110973 (2025).","journal-title":"Comput. Netw."},{"key":"21261_CR26","doi-asserted-by":"publisher","first-page":"104195","DOI":"10.1016\/J.COSE.2024.104195","volume":"149","author":"Z Li","year":"2025","unstructured":"Li, Z. et al. Hierarchical perception for encrypted traffic classification via class incremental learning. Comput. Secur. 149, 104195. https:\/\/doi.org\/10.1016\/J.COSE.2024.104195 (2025).","journal-title":"Comput. Secur."},{"key":"21261_CR27","doi-asserted-by":"publisher","first-page":"104283","DOI":"10.1016\/J.COSE.2024.104283","volume":"150","author":"SJ Xu","year":"2025","unstructured":"Xu, S. J., Kong, K. C., Jin, X. B. & Geng, G. G. Unveiling traffic paths: explainable path signature feature-based encrypted traffic classification. Comput. Secur. 150, 104283. https:\/\/doi.org\/10.1016\/J.COSE.2024.104283 (2025).","journal-title":"Comput. Secur."},{"key":"21261_CR28","doi-asserted-by":"publisher","first-page":"111499","DOI":"10.1016\/J.COMNET.2025.111499","volume":"270","author":"Z Li","year":"2025","unstructured":"Li, Z. & Jin, Y. EncryptoVision: A dual-modal fusion-based multi-classification model for encrypted traffic recognition. Comput. Netw. 270, 111499. https:\/\/doi.org\/10.1016\/J.COMNET.2025.111499 (2025).","journal-title":"Comput. Netw."},{"key":"21261_CR29","doi-asserted-by":"publisher","unstructured":"Chen, R. et al. TrafficCLIP: A lightweight cross-modal framework for network traffic classification. Comput. Netw. 111662 https:\/\/doi.org\/10.1016\/J.COMNET.2025.111662 (2025).","DOI":"10.1016\/J.COMNET.2025.111662"},{"key":"21261_CR30","doi-asserted-by":"publisher","unstructured":"Yu, G. et al. Balancing complexity and performance in convolutional neural network models for QUIC traffic classification. Sensors 25, 4576. https:\/\/doi.org\/10.3390\/S25154576 (2025).","DOI":"10.3390\/S25154576"},{"key":"21261_CR31","doi-asserted-by":"publisher","first-page":"993","DOI":"10.3390\/S25040993","volume":"25","author":"M Choras","year":"2025","unstructured":"Choras, M., Pawlicki, M., Jung, K. & Kwak, W. I. MTL-DoHTA: Multi-Task Learning-Based DNS over HTTPS traffic analysis for enhanced network security. Sens. 2025. 25,  993. https:\/\/doi.org\/10.3390\/S25040993 (2025).","journal-title":"Sens. 2025"},{"key":"21261_CR32","unstructured":"HTTPS traffic classification. https:\/\/www.kaggle.com\/datasets\/inhngcn\/https-traffic-classification, last accessed 2025\/08\/21."},{"key":"21261_CR33","doi-asserted-by":"publisher","unstructured":"Draper-Gil, G., Lashkari, A. H., Saiful, M., Mamun, I. & Ghorbani, A. A. Characterization of encrypted and VPN traffic using Time-related features. https:\/\/doi.org\/10.5220\/0005740704070414","DOI":"10.5220\/0005740704070414"},{"key":"21261_CR34","first-page":"975","volume":"186","author":"\u00d6 Sebetci","year":"2025","unstructured":"Sebetci, \u00d6. & \u015eim\u015fek, M. Machine Learning-based classification of HTTPS traffic using packet burst statistics: enhancing network security and performance. Int. J. Comput. Appl. 186, 975\u20138887 (2025).","journal-title":"Int. J. Comput. Appl."}],"container-title":["Scientific Reports"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-21261-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-21261-6","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-21261-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T12:39:28Z","timestamp":1760013568000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-21261-6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":34,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["21261"],"URL":"https:\/\/doi.org\/10.1038\/s41598-025-21261-6","relation":{},"ISSN":["2045-2322"],"issn-type":[{"value":"2045-2322","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"21 August 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"19 September 2025","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"9 October 2025","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"35230"}}