Machine Learning-Based Intrusion Detection Systems for Enhancing Cybersecurity in Modern Network Environments

Authors

  • Sakeena Parveen MSCS Scholar, Department of Computer Sciences, DHA Suffa University, Karachi, Pakistan Author
  • Mashal Zia Khokhar Air University Author
  • Kanza Zahra Berkeley City College, USA Author
  • Afrasiyab Ali Institute of Chicago, USA Author

DOI:

https://doi.org/10.59075/zykaxj95

Keywords:

Intrusion Detection System, Machine Learning, Cybersecurity, Random Forest, Feature Selection, Data Preprocessing, Network Security, Anomaly Detection

Abstract

This study presents a machine learning-based intrusion detection system (ML-IDS) designed to enhance cybersecurity in modern network environments. The research employed a quantitative experimental methodology implemented in Python using benchmark datasets such as NSL-KDD, UNSW-NB15, and CICIDS2017. The data was preprocessed through cleaning, encoding, normalization, and feature selection to improve model efficiency and accuracy. Multiple supervised machine learning algorithms, including Random Forest, Decision Tree, Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Naive Bayes, were trained and evaluated using performance metrics such as accuracy, precision, recall, F1-score, and false positive rate. The experiments demonstrated that the Random Forest model had the best performance, with an accuracy of 97.4, precision of 97.0, recall of 96.6 and the lowest false positive rate of 1.9 compared to other models on the various datasets. It was also discovered that feature selection and data preprocessing were very effective in enhancing the detection accuracy and minimizing the computational complexity, and that recent datasets including CICIDS2017 generalized better than older datasets. In general, the results indicate that machine learning-based intrusion detection systems provide an effective, scalable and intelligent means of identifying known and unknown cyber threats in contemporary network settings.

Downloads

Published

2026-03-21

How to Cite

Machine Learning-Based Intrusion Detection Systems for Enhancing Cybersecurity in Modern Network Environments. (2026). The Critical Review of Social Sciences Studies, 4(1), 4356-4370. https://doi.org/10.59075/zykaxj95