Suppr超能文献

基于随机森林模型、后向消除算法和网格搜索算法的分布式拒绝服务(DDoS)分类

Distributed denial of service (DDoS) classification based on random forest model with backward elimination algorithm and grid search algorithm.

作者信息

Sawah Mohamed S, Elmannai Hela, El-Bary Alaa A, Lotfy Kh, Sheta Osama E

机构信息

Department of Computer Science, Faculty of Information Technology, Ajloun National University, P.O.43, Ajloun, 26810, Jordan.

Department of Information Systems, Al-Alson Higher Institute, Cairo, Egypt.

出版信息

Sci Rep. 2025 May 30;15(1):19063. doi: 10.1038/s41598-025-03868-x.

Abstract

Distributed Denial of Service (DDoS) attacks pose significant threats to network security, disrupting critical services by overwhelming targeted systems with malicious traffic. In this study, a machine learning-based approach is proposed to classify DDoS attacks using multiple classification models, including Random Forest (RF), Naïve Bayes (NB), K-Nearest Neighbors (KNN), Linear Discriminant Analysis (LDA), and Support Vector Machine (SVM). The DDoS-SDN dataset was used for training and evaluation, with feature selection via Backward Elimination (BE) and hyperparameter tuning using Grid Search with 5-fold Cross-Validation (CV = 5). Experimental results demonstrate a significant improvement in classification performance after feature selection and parameter optimization, with RF achieving the highest accuracy of 99.99%. In this study, we propose a machine learning-based classification framework enhanced by feature selection and hyperparameter optimization techniques through employing Recursive Feature Elimination (RFE) and Grid Search .Our model based on Random Forest (RF) achieved a remarkable accuracy of 99.99%, outperforming other baseline classifiers, including Naive Bayes (98.85%), K-Nearest Neighbors (97.90%), Linear Discriminant Analysis (97.10%), and Support Vector Machine (95.70%). In addition to accuracy, the RF model also demonstrated superior F1 score, recall, and precision, each reaching 99.99%. These results validate the effectiveness of our optimization strategy in improving classification performance. The study highlights the effectiveness of feature engineering and model optimization in enhancing DDoS detection accuracy, making machine learning a viable solution for real-time cybersecurity applications.

摘要

分布式拒绝服务(DDoS)攻击对网络安全构成重大威胁,通过用恶意流量淹没目标系统来扰乱关键服务。在本研究中,提出了一种基于机器学习的方法,使用多种分类模型对DDoS攻击进行分类,包括随机森林(RF)、朴素贝叶斯(NB)、K近邻(KNN)、线性判别分析(LDA)和支持向量机(SVM)。使用DDoS-SDN数据集进行训练和评估,通过反向消除(BE)进行特征选择,并使用5折交叉验证(CV = 5)的网格搜索进行超参数调整。实验结果表明,经过特征选择和参数优化后,分类性能有显著提高,RF的准确率最高达到99.99%。在本研究中,我们提出了一个基于机器学习的分类框架,通过采用递归特征消除(RFE)和网格搜索,利用特征选择和超参数优化技术进行增强。我们基于随机森林(RF)的模型取得了99.99%的显著准确率,优于其他基线分类器,包括朴素贝叶斯(98.85%)、K近邻(97.90%)、线性判别分析(97.10%)和支持向量机(95.70%)。除了准确率外,RF模型还展示了卓越的F1分数、召回率和精确率,每项均达到99.99%。这些结果验证了我们的优化策略在提高分类性能方面的有效性。该研究突出了特征工程和模型优化在提高DDoS检测准确率方面的有效性,使机器学习成为实时网络安全应用的可行解决方案。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/9bad/12125204/8c1944ac31c0/41598_2025_3868_Fig1_HTML.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验