Review Open access
Artificial Intelligence for Cybersecurity in Encrypted Network Traffic: A Critical Review of Detection Methods, Privacy Preservation, and Adversarial Challenges
- Oguz Han Engineering and Technology University of Turkmenistan, Ashgabat, Turkmenistan
Corresponding author: Aygul Danliyeva, ayguldanliyeva@gmail.com
Abstract
Encryption has become a fundamental property of contemporary network communication. Protocols such as Transport Layer Security (TLS) and QUIC protect application data against eavesdropping and tampering, but they also reduce the visibility available to conventional network monitoring systems. Defenders must therefore identify malicious activity without routinely decrypting users’ communications. Artificial intelligence (AI), particularly machine learning and deep learning, offers methods for analysing observable traffic characteristics such as packet lengths, flow durations, directionality and timing. This critical narrative review examines how these methods are used for encrypted-traffic classification, anomaly detection and threat identification. It also considers the relationship between traffic analysis and cryptographic confidentiality, with attention to federated learning, secure aggregation, differential privacy, homomorphic encryption and secure multiparty computation, and it discusses the reliability of AI systems under adversarial manipulation, concept drift, imbalanced data and limited explainability. The article synthesises published surveys, primary research and standards; it reports no new experiments and is not a systematic review. On this basis it proposes a conceptual, privacy-aware framework that links privacy-aware feature extraction, AI-based analysis, privacy and model safeguards, and accountable response. The review argues that encrypted-traffic AI should be evaluated not only by detection accuracy but also by privacy impact, robustness, operational cost, generalisation and transparency, and it outlines research priorities for realistic datasets, cross-environment evaluation, robust learning and accountable deployment.
Keywords
- encrypted network traffic
- artificial intelligence
- machine learning
- deep learning
- cybersecurity
- intrusion detection
- TLS
- privacy-preserving machine learning
- adversarial robustness
References
- Rescorla E. The Transport Layer Security (TLS) protocol version 1.3. RFC 9846. Internet Engineering Task Force; 2026. https://doi.org/10.17487/RFC9846.
- Iyengar J, Thomson M. QUIC: a UDP-based multiplexed and secure transport. RFC 9000. Internet Engineering Task Force; 2021. https://doi.org/10.17487/RFC9000.
- Buczak AL, Guven E. A survey of data mining and machine learning methods for cyber security intrusion detection. IEEE Commun Surv Tutor. 2016;18(2):1153-76. https://doi.org/10.1109/COMST.2015.2494502.
- Sommer R, Paxson V. Outside the closed world: on using machine learning for network intrusion detection. In: 2010 IEEE Symposium on Security and Privacy. IEEE; 2010. p. 305-16. https://doi.org/10.1109/SP.2010.25.
- Rezaei S, Liu X. Deep learning for encrypted traffic classification: an overview. IEEE Commun Mag. 2019;57(5):76-81. https://doi.org/10.1109/MCOM.2019.1800819.
- Alwhbi IA, Zou CC, Alharbi RN. Encrypted network traffic analysis and classification utilizing machine learning. Sensors (Basel). 2024;24(11):3509. https://doi.org/10.3390/s24113509.
- Sharma A, Habibi Lashkari A. A survey on encrypted network traffic: a comprehensive survey of identification/classification techniques, challenges, and future directions. Comput Netw. 2025;257:110984. https://doi.org/10.1016/j.comnet.2024.110984.
- Zhou J, Fu W, Hu W, Sun Z, He T, Zhang Z. Challenges and advances in analyzing TLS 1.3-encrypted traffic: a comprehensive survey. Electronics. 2024;13(20):4000. https://doi.org/10.3390/electronics13204000.
- Dong W, Yu J, Lin X, Gou G, Xiong G. Deep learning and pre-training technology for encrypted traffic classification: a comprehensive review. Neurocomputing. 2025;617:128444. https://doi.org/10.1016/j.neucom.2024.128444.
- Arp D, Quiring E, Pendlebury F, Warnecke A, Pierazzi F, Wressnegger C, et al. Dos and don’ts of machine learning in computer security. In: Proceedings of the 31st USENIX Security Symposium. USENIX Association; 2022. p. 3971-88.
- Page MJ, McKenzie JE, Bossuyt PM, Boutron I, Hoffmann TC, Mulrow CD, et al. The PRISMA 2020 statement: an updated guideline for reporting systematic reviews. BMJ. 2021;372:n71. https://doi.org/10.1136/bmj.n71.
- Rimmer V, Preuveneers D, Juarez M, Van Goethem T, Joosen W. Automated website fingerprinting through deep learning. In: Proceedings of the 25th Network and Distributed System Security Symposium (NDSS). Internet Society; 2018. https://doi.org/10.14722/ndss.2018.23105.
- Lin X, Xiong G, Gou G, Li Z, Shi J, Yu J. ET-BERT: a contextualized datagram representation with pre-training transformers for encrypted traffic classification. In: Proceedings of the ACM Web Conference 2022. ACM; 2022. p. 633-42. https://doi.org/10.1145/3485447.3512217.
- Anderson B, McGrew DA. Machine learning for encrypted malware traffic classification: accounting for noisy labels and non-stationarity. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM; 2017. p. 1723-32. https://doi.org/10.1145/3097983.3098163.
- McMahan HB, Moore E, Ramage D, Hampson S, Agüera y Arcas B. Communication-efficient learning of deep networks from decentralized data. In: Proceedings of the 20th International Conference on Artificial Intelligence and Statistics. PMLR 54; 2017. p. 1273-82.
- Belenguer A, Pascual JA, Navaridas J. A review of federated learning applications in intrusion detection systems. Comput Netw. 2025;258:111023. https://doi.org/10.1016/j.comnet.2024.111023.
- Khraisat A, Alazab A, Singh S, Jan T, Gomez A. Survey on federated learning for intrusion detection system: concept, architectures, aggregation strategies, challenges, and future directions. ACM Comput Surv. 2025;57(1):7. https://doi.org/10.1145/3687124.
- Kairouz P, McMahan HB, Avent B, Bellet A, Bennis M, Bhagoji AN, et al. Advances and open problems in federated learning. Found Trends Mach Learn. 2021;14(1-2):1-210. https://doi.org/10.1561/2200000083.
- Zhu L, Liu Z, Han S. Deep leakage from gradients. In: Advances in Neural Information Processing Systems. Vol. 32. Curran Associates; 2019. p. 14774-84.
- Shokri R, Stronati M, Song C, Shmatikov V. Membership inference attacks against machine learning models. In: 2017 IEEE Symposium on Security and Privacy. IEEE; 2017. p. 3-18. https://doi.org/10.1109/SP.2017.41.
- Bonawitz K, Ivanov V, Kreuter B, Marcedone A, McMahan HB, Patel S, et al. Practical secure aggregation for privacy-preserving machine learning. In: Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security. ACM; 2017. p. 1175-91. https://doi.org/10.1145/3133956.3133982.
- Dwork C, Roth A. The algorithmic foundations of differential privacy. Found Trends Theor Comput Sci. 2014;9(3-4):211-487. https://doi.org/10.1561/0400000042.
- Abadi M, Chu A, Goodfellow I, McMahan HB, Mironov I, Talwar K, et al. Deep learning with differential privacy. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security. ACM; 2016. p. 308-18. https://doi.org/10.1145/2976749.2978318.
- Gentry C. Fully homomorphic encryption using ideal lattices. In: Proceedings of the 41st Annual ACM Symposium on Theory of Computing. ACM; 2009. p. 169-78. https://doi.org/10.1145/1536414.1536440.
- Acar A, Aksu H, Uluagac AS, Conti M. A survey on homomorphic encryption schemes: theory and implementation. ACM Comput Surv. 2018;51(4):79. https://doi.org/10.1145/3214303.
- Evans D, Kolesnikov V, Rosulek M. A pragmatic introduction to secure multi-party computation. Found Trends Priv Secur. 2018;2(2-3):70-246. https://doi.org/10.1561/3300000019.
- Biggio B, Roli F. Wild patterns: ten years after the rise of adversarial machine learning. Pattern Recognit. 2018;84:317-31. https://doi.org/10.1016/j.patcog.2018.07.023.
- Vassilev A, Oprea A, Fordyce A, Anderson H, Davies X, Hamin M. Adversarial machine learning: a taxonomy and terminology of attacks and mitigations. NIST AI 100-2e2025. Gaithersburg (MD): National Institute of Standards and Technology; 2025. https://doi.org/10.6028/NIST.AI.100-2e2025.
- Gama J, Žliobaitė I, Bifet A, Pechenizkiy M, Bouchachia A. A survey on concept drift adaptation. ACM Comput Surv. 2014;46(4):44. https://doi.org/10.1145/2523813.
- Sharafaldin I, Habibi Lashkari A, Ghorbani AA. Toward generating a new intrusion detection dataset and intrusion traffic characterization. In: Proceedings of the 4th International Conference on Information Systems Security and Privacy (ICISSP). Vol. 1. SciTePress; 2018. p. 108-16. https://doi.org/10.5220/0006639801080116.
Copyright and licence
© 2026 Aygul Danliyeva, Oguljan Gavirova. This is an open access article distributed under the Creative Commons Attribution 4.0 International licence (CC BY 4.0), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as the original authors and the source are credited.