Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model

Network intrusion detection systems play a critical role in protecting a variety of services ranging from economic through social to commerce. However, the growing level and sophistication of malicious attacks launched on networks in the current technological landscape have necessitated the need for...

Full description

Saved in:
Bibliographic Details
Main Authors: Godfrey A. Mills, Daniel K. Acquah, Robert A. Sowah
Format: Article
Language:English
Published: Wiley 2024-01-01
Series:Journal of Computer Networks and Communications
Online Access:http://dx.doi.org/10.1155/2024/5775671
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832542982967918592
author Godfrey A. Mills
Daniel K. Acquah
Robert A. Sowah
author_facet Godfrey A. Mills
Daniel K. Acquah
Robert A. Sowah
author_sort Godfrey A. Mills
collection DOAJ
description Network intrusion detection systems play a critical role in protecting a variety of services ranging from economic through social to commerce. However, the growing level and sophistication of malicious attacks launched on networks in the current technological landscape have necessitated the need for advanced and robust detection mechanisms to mitigate against security breaches of confidentiality, integrity, and denial-of-service. In this paper, we present a hybrid intrusion detection system that combines supervised and unsupervised learning models through an ensemble stacking model to increase the detection accuracy rates of attacks in networks while minimising false alarms. Three machine learning algorithms comprising a multilayer perceptron neural network, a modified self-organizing map, and a decision tree were used for the detection framework. The intrusion detection system was trained and evaluated on benchmark datasets: NSL-KDD and CIC-DDoS2019. The intrusion detection system was implemented as a Java solution and the detection performance was evaluated. A 10-fold cross-validation performance was also performed to validate how well the detection system predicts unknown attacks for prevention. The results of the tests revealed a detection accuracy of 99.84% of the instances in the NLS-KDD dataset with a true positive rate of 99.8% and a false positive rate of 0.10% while a detection accuracy of 99.90% was achieved with the CIC-DDoS2019 dataset. Furthermore, the detection system was effective in distinguishing attack traffic from normal traffic in the NSL-KDD dataset and was able to adequately detect DOS, Probe, and R2L attacks with F1 scores of 100%, 99.6%, and 95.1%, respectively, which are significantly impressive. However, the detection of less frequency attack types such as U2R attacks was quite low with an F1 score of 62.5%. The detection performance of the proposed hybrid intrusion detection system suggests that it can be deployed in network security applications to detect packets that exhibit suspicious behaviour or indicate potential threats and respond appropriately to attacks. Implementing the detection framework as a Java solution makes it possible to deploy it across various operating system platforms without any impact on the detection performance.
format Article
id doaj-art-dc28990a8261461f8ac965689ee2cf2d
institution Kabale University
issn 2090-715X
language English
publishDate 2024-01-01
publisher Wiley
record_format Article
series Journal of Computer Networks and Communications
spelling doaj-art-dc28990a8261461f8ac965689ee2cf2d2025-02-03T12:01:06ZengWileyJournal of Computer Networks and Communications2090-715X2024-01-01202410.1155/2024/5775671Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking ModelGodfrey A. Mills0Daniel K. Acquah1Robert A. Sowah2Department of Computer EngineeringDepartment of Computer EngineeringDepartment of Computer EngineeringNetwork intrusion detection systems play a critical role in protecting a variety of services ranging from economic through social to commerce. However, the growing level and sophistication of malicious attacks launched on networks in the current technological landscape have necessitated the need for advanced and robust detection mechanisms to mitigate against security breaches of confidentiality, integrity, and denial-of-service. In this paper, we present a hybrid intrusion detection system that combines supervised and unsupervised learning models through an ensemble stacking model to increase the detection accuracy rates of attacks in networks while minimising false alarms. Three machine learning algorithms comprising a multilayer perceptron neural network, a modified self-organizing map, and a decision tree were used for the detection framework. The intrusion detection system was trained and evaluated on benchmark datasets: NSL-KDD and CIC-DDoS2019. The intrusion detection system was implemented as a Java solution and the detection performance was evaluated. A 10-fold cross-validation performance was also performed to validate how well the detection system predicts unknown attacks for prevention. The results of the tests revealed a detection accuracy of 99.84% of the instances in the NLS-KDD dataset with a true positive rate of 99.8% and a false positive rate of 0.10% while a detection accuracy of 99.90% was achieved with the CIC-DDoS2019 dataset. Furthermore, the detection system was effective in distinguishing attack traffic from normal traffic in the NSL-KDD dataset and was able to adequately detect DOS, Probe, and R2L attacks with F1 scores of 100%, 99.6%, and 95.1%, respectively, which are significantly impressive. However, the detection of less frequency attack types such as U2R attacks was quite low with an F1 score of 62.5%. The detection performance of the proposed hybrid intrusion detection system suggests that it can be deployed in network security applications to detect packets that exhibit suspicious behaviour or indicate potential threats and respond appropriately to attacks. Implementing the detection framework as a Java solution makes it possible to deploy it across various operating system platforms without any impact on the detection performance.http://dx.doi.org/10.1155/2024/5775671
spellingShingle Godfrey A. Mills
Daniel K. Acquah
Robert A. Sowah
Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
Journal of Computer Networks and Communications
title Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
title_full Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
title_fullStr Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
title_full_unstemmed Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
title_short Network Intrusion Detection and Prevention System Using Hybrid Machine Learning with Supervised Ensemble Stacking Model
title_sort network intrusion detection and prevention system using hybrid machine learning with supervised ensemble stacking model
url http://dx.doi.org/10.1155/2024/5775671
work_keys_str_mv AT godfreyamills networkintrusiondetectionandpreventionsystemusinghybridmachinelearningwithsupervisedensemblestackingmodel
AT danielkacquah networkintrusiondetectionandpreventionsystemusinghybridmachinelearningwithsupervisedensemblestackingmodel
AT robertasowah networkintrusiondetectionandpreventionsystemusinghybridmachinelearningwithsupervisedensemblestackingmodel