arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10974cs.CRcs.LGcs.NI
收藏

机器学习在网络入侵检测中的跨数据集泛化能力研究

On the Cross-Dataset Generalization of Machine Learning for Network Intrusion Detection

Department of Electrical and Information Engineering, University of Cassino and Southern Latium(电气与信息工程系,卡斯ino和南部拉蒂姆大学)

Marco Cantone, Claudio Marrocco, Alessandro Bria

AI总结:

本研究在跨数据集框架下评估机器学习NIDS的泛化能力,发现模型在同数据集表现完美但跨数据集效果接近随机,揭示了数据异常与异构性对泛化的严重阻碍。

摘要:

网络入侵检测系统(NIDS)是网络安全的基础工具。其在不同网络间的泛化能力是决定其有效性的关键因素,也是实际应用的前提。本研究通过在跨数据集框架下进行广泛实验,对基于机器学习的NIDS的泛化能力进行了全面分析。我们采用了四种机器学习分类器,并利用来自不同网络的四个数据集:CIC-IDS-2017、CSE-CIC-IDS2018、LycoS-IDS2017和LycoS-Unicas-IDS2018。值得注意的是,最后一个数据集是一项新贡献,我们基于LycoS-IDS2017对著名的CSE-CIC-IDS2018数据集进行了修正。结果表明,当模型在同一数据集上训练和测试时,分类性能几乎完美。然而,当以跨数据集方式训练和测试模型时,除少数攻击和数据集组合外,分类准确率基本与随机概率相当。我们采用数据可视化技术,为数据中的模式提供了有价值的见解。我们的分析揭示了数据中存在的异常现象,这些异常直接阻碍了分类器将所学知识泛化到新场景的能力。本研究增强了我们对基于机器学习的NIDS泛化能力的理解,强调了认识数据异构性的重要性。

英文摘要:

Network Intrusion Detection Systems (NIDS) are a fundamental tool in cybersecurity. Their ability to generalize across diverse networks is a critical factor in their effectiveness and a prerequisite for real-world applications. In this study, we conduct a comprehensive analysis on the generalization of machine-learning-based NIDS through an extensive experimentation in a cross-dataset framework. We employ four machine learning classifiers and utilize four datasets acquired from different networks: CIC-IDS-2017, CSE-CIC-IDS2018, LycoS-IDS2017, and LycoS-Unicas-IDS2018. Notably, the last dataset is a novel contribution, where we apply corrections based on LycoS-IDS2017 to the well-known CSE-CIC-IDS2018 dataset. The results show nearly perfect classification performance when the models are trained and tested on the same dataset. However, when training and testing the models in a cross-dataset fashion, the classification accuracy is largely commensurate with random chance except for a few combinations of attacks and datasets. We employ data visualization techniques in order to provide valuable insights on the patterns in the data. Our analysis unveils the presence of anomalies in the data that directly hinder the classifiers capability to generalize the learned knowledge to new scenarios. This study enhances our comprehension of the generalization capabilities of machine-learning-based NIDS, highlighting the significance of acknowledging data heterogeneity.

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

↑