IDEAS home Printed from https://ideas.repec.org/a/jbh/ijsrcs/v11y2025i6id1793.html

Assessing the Effectiveness of Machine-Learning Approaches for Detecting Network Attacks: An Empirical Evaluation on NSL-KDD

Author

Listed:
  • L. Parthasarathi
  • N. Kamalraj

Abstract

Intrusion detection in computer networks is critical for safeguarding sensitive data and maintaining system integrity. This research evaluates the performance of multiple machine-learning models, including Support Vector Machine (SVM), Naive Bayes (NB), Random Forest (RF), Multilayer Perceptron (MLP), and XGBoost, for detecting network intrusions using the NSL-KDD dataset. The dataset, comprising 148,517 network traffic instances with 41 features, represents a diverse range of attack types, including DoS, Probe, U2R, and R2L. Preprocessing steps such as normalization, encoding, and feature selection ensure model-ready inputs. Experimental results demonstrate that ensemble and deep-learning-based models outperform traditional classifiers, with XGBoost achieving the highest accuracy, precision, recall, and F1-score. The findings highlight the effectiveness of modern machine-learning approaches in capturing complex attack patterns and improving intrusion-detection performance.

Suggested Citation

  • L. Parthasarathi & N. Kamalraj, 2025. "Assessing the Effectiveness of Machine-Learning Approaches for Detecting Network Attacks: An Empirical Evaluation on NSL-KDD," International Journal of Scientific Research in Computer Science, Engineering and Information Technology, International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 11(6), pages 261-266, December.
  • Handle: RePEc:jbh:ijsrcs:v11:y2025:i6:id:1793
    DOI: 10.32628/CSEIT2511644
    Note: Article URL: https://ijsrcseit.com/home/article/view/CSEIT2511644
    as

    Download full text from publisher

    File URL: https://ijsrcseit.com/home/article/view/CSEIT2511644
    File Function: Article URL
    Download Restriction: no

    File URL: https://ijsrcseit.com/home/article/download/CSEIT2511644/CSEIT2511644
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32628/CSEIT2511644?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jbh:ijsrcs:v11:y2025:i6:id:1793. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Pankaj Sharma (USA) (email available below). General contact details of provider: https://ijsrcseit.com/home .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.