加密网络流量对入侵检测构成了重大挑战,由于缺乏有效载荷可见性、标注数据集有限以及良性与恶意活动之间的高类别不平衡。传统数据增强方法难以保持真实网络流量的复杂时间和统计特性。为了解决这些问题,本文探索了使用生成人工智能(GAI)模型合成真实且多样的加密流量轨迹。我们评估了三种方法:变分自编码器(VAE)、生成对抗网络(GAN)和 SMOTE(合成少数类过采样技术),每种方法都结合了预处理流程,包括特征选择和类别平衡。UNSW NB-15 数据集被用作主要基准,重点是 Tor 交通作为异常。我们分析了真实数据和合成数据之间的统计相似性,并使用准确性、F1 分数和 AUC-ROC 等指标评估分类器性能。结果表明,VAE 生成的数据在隐私和性能之间提供了最佳平衡,而 GAN 提供了更高的保真度但有过度拟合的风险。SMOTE 虽然简单,但增强了召回率但可能缺乏多样性。研究结果表明,当使用隐私保护的合成数据训练时,GAI 方法可以显著提高加密流量检测的性能。
英文摘要:
Encrypted network traffic poses significant challenges for intrusion detection due to the lack of payload visibility, limited labeled datasets, and high class imbalance between benign and malicious activities. Traditional data augmentation methods struggle to preserve the complex temporal and statistical characteristics of real network traffic. To address these issues, this work explores the use of Generative AI (GAI) models to synthesize realistic and diverse encrypted traffic traces. We evaluate three approaches: Variational Autoencoders (VAE), Generative Adversarial Networks (GAN), and SMOTE (Synthetic Minority Over-sampling Technique), each integrated with a preprocessing pipeline that includes feature selection and class balancing. The UNSW NB-15 dataset is used as the primary benchmark, focusing on Tor traffic as anomalies. We analyze statistical similarity between real and synthetic data, and assess classifier performance using metrics such as Accuracy, F1-score, and AUC-ROC. Results show that VAE-generated data provides the best balance between privacy and performance, while GANs offer higher fidelity but risk overfitting. SMOTE, though simple, enhances recall but may lack diversity. The findings demonstrate that GAI methods can significantly improve encrypted traffic detection when trained with privacy-preserving synthetic data.
Distinguishing Tor From Other Encrypted Network Traffic Through Character Analysis
King Mongkut’s University of Technology North Bangkok(北曼谷国王科技大学);Fraunhofer Institute for Applied and Integrated Security(弗劳恩霍夫应用与集成安全研究所);Ostbayerische Technische Hochschule Amberg-Weiden(东巴伐利亚应用科学大学安贝格-魏登分校)
ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic Classification
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of the Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
Behavioral Information Leakage in Darknet Traffic: A Multi-Channel Analysis Across Anonymity Networks
School of Computing, Mathematics and Engineering, Charles Sturt University(查尔斯斯特特大学计算、数学与工程学院);AI and Cyber Futures Center, Charles Sturt University(查尔斯斯特特大学人工智能与网络未来中心)
Chameleon: Robust Defense Against Tor Website Fingerprinting via Many-to-Many Traffic Morphing
Bellini College of Artificial Intelligence, Cybersecurity and Computing, University of South Florida(南佛罗里达大学贝利尼人工智能、网络安全与计算学院);Department of Electrical and Computer Engineering, University of South Florida(南佛罗里达大学电气与计算机工程系)