Open Access iconOpen Access

ARTICLE

Addressing Modern Cybersecurity Challenges: A Hybrid Machine Learning and Deep Learning Approach for Network Intrusion Detection

Khadija Bouzaachane1,*, El Mahdi El Guarmah2, Abdullah M. Alnajim3, Sheroz Khan4

1 Department of Computer Sciences, Faculty of Sciences and Technology, L2IS, Cadi Ayyad University, Marrakech, 40000, Morocco
2 Mathematics and Informatics Departement, Royal Air School of Aeronautics, L2IS, Marrakech, 40000, Morocco
3 Department of Information Technology, College of Computer, Qassim University, Buraydah, 51452, Saudi Arabia
4 Department of Electrical Engineering, College of Engineering and Information Technology, Onaizah Colleges, Onaizah 56447, Saudi Arabia

* Corresponding Authors: Khadija Bouzaachane. Email: email,email

Computers, Materials & Continua 2025, 84(2), 2391-2410. https://doi.org/10.32604/cmc.2025.065031

Abstract

The rapid increase in the number of Internet of Things (IoT) devices, coupled with a rise in sophisticated cyberattacks, demands robust intrusion detection systems. This study presents a holistic, intelligent intrusion detection system. It uses a combined method that integrates machine learning (ML) and deep learning (DL) techniques to improve the protection of contemporary information technology (IT) systems. Unlike traditional signature-based or single-model methods, this system integrates the strengths of ensemble learning for binary classification and deep learning for multi-class classification. This combination provides a more nuanced and adaptable defense. The research utilizes the NF-UQ-NIDS-v2 dataset, a recent, comprehensive benchmark for evaluating network intrusion detection systems (NIDS). Our methodological framework employs advanced artificial intelligence techniques. Specifically, we use ensemble learning algorithms (Random Forest, Gradient Boosting, AdaBoost, and XGBoost) for binary classification. Deep learning architectures are also employed to address the complexities of multi-class classification, allowing for fine-grained identification of intrusion types. To mitigate class imbalance, a common problem in multi-class intrusion detection that biases model performance, we use oversampling and data augmentation. These techniques ensure equitable class representation. The results demonstrate the efficacy of the proposed hybrid ML-DL system. It achieves significant improvements in intrusion detection accuracy and reliability. This research contributes substantively to cybersecurity by providing a more robust and adaptable intrusion detection solution.

Keywords

Network intrusion detection systems (NIDS); NF-UQ-NIDS-v2 dataset; ensemble learning; decision tree; K-means; smote; deep learning

Cite This Article

APA Style
Bouzaachane, K., Guarmah, E.M.E., Alnajim, A.M., Khan, S. (2025). Addressing Modern Cybersecurity Challenges: A Hybrid Machine Learning and Deep Learning Approach for Network Intrusion Detection. Computers, Materials & Continua, 84(2), 2391–2410. https://doi.org/10.32604/cmc.2025.065031
Vancouver Style
Bouzaachane K, Guarmah EME, Alnajim AM, Khan S. Addressing Modern Cybersecurity Challenges: A Hybrid Machine Learning and Deep Learning Approach for Network Intrusion Detection. Comput Mater Contin. 2025;84(2):2391–2410. https://doi.org/10.32604/cmc.2025.065031
IEEE Style
K. Bouzaachane, E. M. E. Guarmah, A. M. Alnajim, and S. Khan, “Addressing Modern Cybersecurity Challenges: A Hybrid Machine Learning and Deep Learning Approach for Network Intrusion Detection,” Comput. Mater. Contin., vol. 84, no. 2, pp. 2391–2410, 2025. https://doi.org/10.32604/cmc.2025.065031



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 341

    View

  • 109

    Download

  • 0

    Like

Share Link