arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.13804cs.NI
收藏

使用小波特征和机器学习的二进制 VPN 流量检测

Binary VPN Traffic Detection Using Wavelet Features and Machine Learning

Yasameen Sajid Razooqi, Adrian Pekar

AI总结:

本研究利用基于小波变换的特征和多种机器学习模型解决二进制 VPN 流量检测问题,发现 Random Forest 在显著不平衡和过滤后的数据集中表现最优,确立了其作为最可靠模型的地位。

摘要:

随着加密技术使传统的深度包检测失效,加密流量分类面临着日益严峻的挑战。本研究致力于解决二进制 VPN 检测问题,利用基于小波变换的特征在多个机器学习模型中区分 VPN 加密流量与非 VPN 流量。与以往专注于加密流量内应用级分类的研究不同,我们专门评估了不区分应用类型的 VPN 识别这一基础任务。我们分析了小波分解层级和数据集过滤对显著不平衡数据分类性能的影响,其中过滤使某些流量类别减少了高达 95%。结果表明,Random Forest (RF) 表现出优越的性能,F1分数达到 99%,即使在显著的数据集过滤后仍保持稳健的准确率。Neural Networks (NN) 在小波层级 12 上训练时表现出相当的有效性,F1分数为 98%,而 Support Vector Machines (SVM) 对数据集缩减表现出显著的敏感性,过滤后 F1分数从 90% 降至 85%。比较层级 5 和层级 12 的小波分解,我们观察到在层级 12 的分类性能有所提升,特别是对于可变流量类型,尽管边际收益可能不足以证明额外的计算开销是合理的。这些发现确立了 RF 作为 VPN 流量分类最可靠的模型,同时突出了特征提取和预处理中的关键性能权衡。

英文摘要:

Encrypted traffic classification faces growing challenges as encryption renders traditional deep packet inspection ineffective. This study addresses binary VPN detection, distinguishing VPN-encrypted from non-VPN traffic using wavelet transform-based features across multiple machine learning models. Unlike previous studies focused on application-level classification within encrypted traffic, we specifically evaluate the fundamental task of VPN identification regardless of application type. We analyze the impact of wavelet decomposition levels and dataset filtering on classification performance across significantly imbalanced data, where filtering reduces some traffic categories by up to 95%. Our results demonstrate that Random Forest (RF) achieves superior performance with an F1-score of 99%, maintaining robust accuracy even after significant dataset filtering. Neural Networks (NN) show comparable effectiveness with an F1-score of 98% when trained on wavelet level 12, while Support Vector Machines (SVM) exhibit notable sensitivity to dataset reduction, with F1-scores dropping from 90% to 85% after filtering. Comparing wavelet decomposition at levels 5 and 12, we observe improved classification performance at level 12, particularly for variable traffic types, though the marginal gains may not justify the additional computational overhead. These findings establish RF as the most reliable model for VPN traffic classification while highlighting key performance tradeoffs in feature extraction and preprocessing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑