arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.04798cs.CR
收藏

仅有低质量训练数据?一种用于检测加密恶意网络流量的鲁棒框架

Low-Quality Training Data Only? A Robust Framework for Detecting Encrypted Malicious Network Traffic

Yuqi Qing, Qilei Yin, Xinhao Deng, Yihao Chen, Zhuotao Liu, Kun Sun, Ke Xu, Jia Zhang, Qi Li

AI总结:

针对低质量训练数据导致加密恶意流量检测性能下降的问题,提出RAPIER框架,利用正常与恶意数据在特征空间的分布差异增强数据并纠正标签噪声,在公开及真实数据集上显著提升F1分数。

摘要:

机器学习(ML)在准确检测加密网络流量中的恶意流方面极具前景;然而,收集包含足够数量且带有正确标签的加密恶意数据的训练数据集是一项挑战。当ML模型使用低质量训练数据进行训练时,其性能会下降。在本文中,我们旨在解决现实世界的低质量训练数据集问题,即检测由不断演化的恶意软件生成的加密恶意流量。我们开发了RAPIER,它充分利用了正常和恶意流量数据在特征空间中的不同分布,其中正常数据紧密分布在特定区域,而恶意数据散布在整个特征空间中,以此来增强用于模型训练的训练数据。RAPIER包含两个预处理模块,用于将流量转换为特征向量并纠正标签噪声。我们在两个公开数据集和一个组合数据集上评估了我们的系统。在每个数据集仅有1000个样本和45%噪声的情况下,我们的系统分别实现了0.770、0.776和0.855的F1分数,相比现有方法分别实现了352.6%、284.3%和214.9%的平均提升。此外,我们使用从安全企业获取的真实世界数据集评估了RAPIER。RAPIER有效地实现了加密恶意流量检测,其最佳F1分数达到0.773,并将现有方法的F1分数平均提高了272.5%。

英文摘要:

Machine learning (ML) is promising in accurately detecting malicious flows in encrypted network traffic; however, it is challenging to collect a training dataset that contains a sufficient amount of encrypted malicious data with correct labels. When ML models are trained with low-quality training data, they suffer degraded performance. In this paper, we aim at addressing a real-world low-quality training dataset problem, namely, detecting encrypted malicious traffic generated by continuously evolving malware. We develop RAPIER that fully utilizes different distributions of normal and malicious traffic data in the feature space, where normal data is tightly distributed in a certain area and the malicious data is scattered over the entire feature space to augment training data for model training. RAPIER includes two pre-processing modules to convert traffic into feature vectors and correct label noises. We evaluate our system on two public datasets and one combined dataset. With 1000 samples and 45% noises from each dataset, our system achieves the F1 scores of 0.770, 0.776, and 0.855, respectively, achieving average improvements of 352.6%, 284.3%, and 214.9% over the existing methods, respectively. Furthermore, We evaluate RAPIER with a real-world dataset obtained from a security enterprise. RAPIER effectively achieves encrypted malicious traffic detection with the best F1 score of 0.773 and improves the F1 score of existing methods by an average of 272.5%.

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

↑