Machine Learning-Based Intrusion Detection Systems for Enhancing Cybersecurity in Modern Network Environments
DOI:
https://doi.org/10.59075/zykaxj95Keywords:
Intrusion Detection System, Machine Learning, Cybersecurity, Random Forest, Feature Selection, Data Preprocessing, Network Security, Anomaly DetectionAbstract
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
Issue
Section
License
Copyright (c) 2026 The Critical Review of Social Sciences Studies

This work is licensed under a Creative Commons Attribution 4.0 International License.
















