对监督机器学习模型在零日攻击检测中的全面研究:分析在不平衡数据上的性能
A Comprehensive Study of Supervised Machine Learning Models for Zero-Day Attack Detection: Analyzing Performance on Imbalanced Data
AI总结:
本研究通过评估五种监督模型,发现随机森林在不平衡数据下表现最佳,但处理时间较长,最终选择XGBoost作为检测零日攻击的最优模型。
摘要:
在各种网络攻击类型中,识别零日攻击具有挑战性,因为这些攻击未知于安全系统,其模式和特征不匹配已知的黑名单攻击。有许多机器学习(ML)模型被设计用来分析和检测网络攻击,尤其是使用监督模型。然而,这些模型是根据训练阶段学习到的模式来分类样本(正常和攻击)的,因此在面对未见过的攻击时表现效率低下。这项研究通过评估五种不同的监督模型来解决这个问题,以评估它们在预测零日攻击时的性能和执行时间,并找出哪种模型在准确性和速度上表现最佳。目标是通过提出一个应用网格搜索、降维和过采样方法的框架来克服不平衡问题,同时比较过采样在ML模型指标上的有效性,特别是准确性。为了模拟现实中的攻击检测,这项研究应用了一个高度不平衡的数据集,并且在测试阶段只让分类器接触零日攻击,因此模型未被训练来标记零日攻击。我们的结果表明,在过采样和非过采样条件下,随机森林(RF)表现最佳,这种增强的效果是以更长的处理时间为代价的。因此,我们选择了XGBoost(XGB)作为顶级模型,因其在检测零日攻击方面速度快且准确性高。
英文摘要:
Among the various types of cyberattacks, identifying zero-day attacks is problematic because they are unknown to security systems as their pattern and characteristics do not match known blacklisted attacks. There are many Machine Learning (ML) models designed to analyze and detect network attacks, especially using supervised models. However, these models are designed to classify samples (normal and attacks) based on the patterns they learn during the training phase, so they perform inefficiently on unseen attacks. This research addresses this issue by evaluating five different supervised models to assess their performance and execution time in predicting zero-day attacks and find out which model performs accurately and quickly. The goal is to improve the performance of these supervised models by not only proposing a framework that applies grid search, dimensionality reduction and oversampling methods to overcome the imbalance problem, but also comparing the effectiveness of oversampling on ml model metrics, in particular the accuracy. To emulate attack detection in real life, this research applies a highly imbalanced data set and only exposes the classifiers to zero-day attacks during the testing phase, so the models are not trained to flag the zero-day attacks. Our results show that Random Forest (RF) performs best under both oversampling and non-oversampling conditions, this increased effectiveness comes at the cost of longer processing times. Therefore, we selected XG Boost (XGB) as the top model due to its fast and highly accurate performance in detecting zero-day attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。