Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Intrusion Detection Using Machine Learning and Deep Learning

Author 1: Fatima Jobran ALzaher Author 2: Asma AlJarullah
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 8 · Published 2025

DOI: 10.14569/IJACSA.2025.0160844

Abstract

As cyberattacks grow in prevalence, Intrusion Detection Systems (IDS) have become critical for securing network infrastructures. This study proposes an efficient IDS framework utilizing both machine learning (ML) and deep learning (DL) algorithms. The framework is evaluated on the “NF-UNSW-NB15-v2” dataset, which comprises a blend of normal and malicious traffic. A diverse set of advanced models—including Deep Neural Networks (DNN), Long Short-Term Memory (LSTM) networks, eXtreme Gradient Boosting (XGBoost), Random Forest (RF), and K-Nearest Neighbors (KNN)—is deployed for intrusion detection. The approach encompasses both binary classification (normal vs. malicious) and multi-class classification (specific attack categories). Preprocessing steps include feature standardization using StandardScaler, class imbalance correction via SMOTE, and dimensionality reduction through Principal Component Analysis (PCA). Results show that Random Forest and XGBoost models achieve high accuracy in binary classification with F1-scores approaching 0.97, while XGBoost attains the best macro F1-score (0.71) in multi-class tasks. Additionally, RF and XGBoost demonstrate the fastest inference times, underscoring their suitability for real-time deployment. This work contributes a scalable and optimized IDS pipeline for enhancing cybersecurity resilience.

Keywords

How to Cite this Article

ALzaher, F. J., & AlJarullah, A. (2025). Intrusion Detection Using Machine Learning and Deep Learning. International Journal of Advanced Computer Science and Applications, 16(8). https://doi.org/10.14569/IJACSA.2025.0160844

ALzaher, Fatima Jobran, and Asma AlJarullah. "Intrusion Detection Using Machine Learning and Deep Learning." International Journal of Advanced Computer Science and Applications, vol. 16, no. 8, 2025, https://doi.org/10.14569/IJACSA.2025.0160844.

@article{ALzaher2025,
  title     = {Intrusion Detection Using Machine Learning and Deep Learning},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {8},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Fatima Jobran ALzaher and Asma AlJarullah},
  doi       = {10.14569/IJACSA.2025.0160844},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160844}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026