{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T21:44:58Z","timestamp":1794606298852,"version":"4.9.1"},"reference-count":54,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2022,11,28]],"date-time":"2022-11-28T00:00:00Z","timestamp":1669593600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>Numerous network cyberattacks have been launched due to inherent weaknesses. Network intrusion detection is a crucial foundation of the cybersecurity field. Intrusion detection systems (IDSs) are a type of machine learning (ML) software proposed for making decisions without explicit programming and with little human intervention. Although ML-based IDS advancements have surpassed earlier methods, they still struggle to identify attack types with high detection rates (DR) and low false alarm rates (FAR). This paper proposes a meta-heuristic optimization algorithm-based hierarchical IDS to identify several types of attack and to secure the computing environment. The proposed approach comprises three stages: The first stage includes data preprocessing, feature selection, and the splitting of the dataset into multiple binary balanced datasets. In the second stage, two novel meta-heuristic optimization algorithms are introduced to optimize the hyperparameters of the extreme learning machine during the construction of multiple binary models to detect different attack types. These are combined in the last stage using an aggregated anomaly detection engine in a hierarchical structure on account of the model\u2019s accuracy. We propose a software machine learning IDS that enables multi-class classification. It achieved scores of 98.93, 99.63, 99.19, 99.78, and 0.01, with 0.51 for average accuracy, DR, and FAR in the UNSW-NB15 and CICIDS2017 datasets, respectively.<\/jats:p>","DOI":"10.3390\/computers11120170","type":"journal-article","created":{"date-parts":[[2022,11,28]],"date-time":"2022-11-28T08:43:03Z","timestamp":1669624983000},"page":"170","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":40,"title":["Meta-Heuristic Optimization Algorithm-Based Hierarchical Intrusion Detection System"],"prefix":"10.3390","volume":"11","author":[{"given":"Kamal A.","family":"ElDahshan","sequence":"first","affiliation":[{"name":"Mathematics Department, Faculty of Science, Al-Azhar University, Cairo 11884, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5258-6109","authenticated-orcid":false,"given":"AbdAllah A.","family":"AlHabshy","sequence":"additional","affiliation":[{"name":"Mathematics Department, Faculty of Science, Al-Azhar University, Cairo 11884, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1139-6533","authenticated-orcid":false,"given":"Bashar I.","family":"Hameed","sequence":"additional","affiliation":[{"name":"Mathematics Department, Faculty of Science, Al-Azhar University, Cairo 11884, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,11,28]]},"reference":[{"key":"ref_1","unstructured":"(2022, September 08). DataReportal\u2014Global Digital Insights. Digital 2022: Global Overview Report\u2014DataReportal\u2014Global Digital Insights. Available online: https:\/\/datareportal.com\/reports\/digital-2022-global-overview-report."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"46","DOI":"10.1007\/s10723-021-09581-z","article-title":"Big data-aware intrusion detection system in communication networks: A deep learning approach","volume":"19","author":"Mahdavisharif","year":"2021","journal-title":"J. Grid Comput."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Qureshi, A.-U.-H., Larijani, H., Mtetwa, N., Javed, A., and Ahmad, J. (2019). RNN-ABC: A new swarm optimization based technique for anomaly detection. Computers, 8.","DOI":"10.3390\/computers8030059"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"453","DOI":"10.1007\/s10462-021-10037-9","article-title":"A survey on intrusion detection system: Feature selection, model, performance measures, application perspective, challenges, and future research directions","volume":"55","author":"Thakkar","year":"2021","journal-title":"Artif. Intell. Rev."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"27","DOI":"10.21608\/absb.2021.63810.1100","article-title":"Distributed Intrusion Detection Systems in Big Data: A Survey","volume":"32","author":"Hameed","year":"2021","journal-title":"Al-Azhar Bull. Sci."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Azeez, N.A., Ayemobola, T.J., Misra, S., Maskeli\u016bnas, R., and Dama\u0161evi\u010dius, R. (2019). Network intrusion detection with a hashing based apriori algorithm using Hadoop MapReduce. Computers, 8.","DOI":"10.3390\/computers8040086"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/2808691","article-title":"Evaluating computer intrusion detection systems: A survey of common practices","volume":"48","author":"Milenkoski","year":"2015","journal-title":"ACM Comput. Surv."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"e4150","DOI":"10.1002\/ett.4150","article-title":"Network intrusion detection system: A systematic study of machine learning and deep learning approaches","volume":"32","author":"Ahmad","year":"2021","journal-title":"Trans. Emerg. Telecommun. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"41","DOI":"10.1186\/s40537-020-00318-5","article-title":"Cybersecurity data science: An overview from machine learning perspective","volume":"7","author":"Sarker","year":"2020","journal-title":"J. Big Data"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Abou-Kreisha, M.T., Yaseen, H.K., Fathy, K.A., Ebeid, E.A., and ElDahshan, K.A. (2022). Multisource Smart Computer-Aided System for Mining COVID-19 Infection Data. Healthcare, 10.","DOI":"10.3390\/healthcare10010109"},{"key":"ref_11","first-page":"616","article-title":"Biomedical Healthcare System For Orthopedic Patients Based On Machine Learning","volume":"16","author":"Elzeki","year":"2006","journal-title":"J. Eng. Appl."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1155\/2021\/5557577","article-title":"Improving the performance of machine learning-based network intrusion detection systems on the UNSW-NB15 dataset","volume":"2021","author":"Moualla","year":"2021","journal-title":"Comput. Intell. Neurosci."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"249","DOI":"10.1016\/j.neucom.2013.03.059","article-title":"Real-time fault diagnosis for gas turbine generator systems using extreme learning machine","volume":"128","author":"Wong","year":"2014","journal-title":"Neurocomputing"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"7130868","DOI":"10.1155\/2019\/7130868","article-title":"Building an effective intrusion detection system by using hybrid data optimization based on machine learning algorithms","volume":"2019","author":"Ren","year":"2019","journal-title":"Secur. Commun. Netw."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"102158","DOI":"10.1016\/j.cose.2020.102158","article-title":"An effective intrusion detection approach using SVM with na\u00efve Bayes feature embedding","volume":"103","author":"Gu","year":"2021","journal-title":"Comput. Secur."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Faker, O., and Dogdu, E. (2019, January 18\u201320). Intrusion detection using big data and deep learning techniques. Proceedings of the 2019 ACM Southeast Conference, Kennesaw, GA, USA.","DOI":"10.1145\/3299815.3314439"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"183207","DOI":"10.1109\/ACCESS.2019.2959131","article-title":"A novel multimodal-sequential approach based on multi-view features for network intrusion detection","volume":"7","author":"He","year":"2019","journal-title":"IEEE Access"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"16062","DOI":"10.1109\/ACCESS.2021.3051074","article-title":"Deep belief network integrating improved kernel-based extreme learning machine for network intrusion detection","volume":"9","author":"Wang","year":"2021","journal-title":"IEEE Access"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"41525","DOI":"10.1109\/ACCESS.2019.2895334","article-title":"Deep learning approach for intelligent intrusion detection system","volume":"7","author":"Vinayakumar","year":"2019","journal-title":"IEEE Access"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"437","DOI":"10.1007\/s11277-021-09139-y","article-title":"Detection and Multi-Class Classification of Intrusion in Software Defined Networks Using Stacked Auto-Encoders and CICIDS2017 Dataset","volume":"123","author":"Choobdar","year":"2022","journal-title":"Wirel. Pers. Commun."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"121","DOI":"10.1007\/s00779-019-01332-y","article-title":"GAN-based imbalanced data intrusion detection system","volume":"25","author":"Lee","year":"2021","journal-title":"Pers. Ubiquitous Comput."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Lee, J., and Park, K. (2019). AE-CGAN model based high performance network intrusion detection system. Appl. Sci., 9.","DOI":"10.3390\/app9204221"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"65","DOI":"10.1007\/s13748-015-0080-y","article-title":"Feature selection for high-dimensional data","volume":"5","year":"2016","journal-title":"Prog. Artif. Intell."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Nadimi-Shahraki, M.H., Banaie-Dezfouli, M., Zamani, H., Taghian, S., and Mirjalili, S. (2021). B-MFO: A binary moth-flame optimization for feature selection from medical datasets. Computers, 10.","DOI":"10.3390\/computers10110136"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"606","DOI":"10.1109\/TEVC.2015.2504420","article-title":"A survey on evolutionary computation approaches to feature selection","volume":"20","author":"Xue","year":"2015","journal-title":"IEEE Trans. Evol. Comput."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"112824","DOI":"10.1016\/j.eswa.2019.112824","article-title":"A new fusion of grey wolf optimizer algorithm with a two-phase mutation for feature selection","volume":"139","author":"Mirjalili","year":"2020","journal-title":"Expert Syst. Appl."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"155619","DOI":"10.1109\/ACCESS.2020.3012838","article-title":"A hybrid improved dragonfly algorithm for feature selection","volume":"8","author":"Cui","year":"2020","journal-title":"IEEE Access"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"66989","DOI":"10.1109\/ACCESS.2020.2986232","article-title":"Improved feature selection model for big data analytics","volume":"8","author":"Barakat","year":"2020","journal-title":"IEEE Access"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"46","DOI":"10.1016\/j.advengsoft.2013.12.007","article-title":"Grey wolf optimizer","volume":"69","author":"Mirjalili","year":"2014","journal-title":"Adv. Eng. Softw."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"413","DOI":"10.1007\/s00521-017-3272-5","article-title":"Grey wolf optimizer: A review of recent variants and applications","volume":"30","author":"Faris","year":"2018","journal-title":"Neural Comput. Appl."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"12201","DOI":"10.1007\/s00521-019-04368-6","article-title":"Feature selection using binary grey wolf optimizer with elite-based crossover for Arabic text classification","volume":"32","author":"Chantar","year":"2020","journal-title":"Neural. Comput. Appl."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"105746","DOI":"10.1016\/j.knosys.2020.105746","article-title":"Improved binary grey wolf optimizer and its application for feature selection","volume":"195","author":"Hu","year":"2020","journal-title":"Knowl. Based Syst."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"50448","DOI":"10.1109\/ACCESS.2022.3173401","article-title":"Mud Ring Algorithm: A new meta-heuristic optimization algorithm for solving mathematical and engineering challenges","volume":"10","author":"Desuky","year":"2022","journal-title":"IEEE Access"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"1531","DOI":"10.1007\/s10489-020-01893-z","article-title":"Archimedes optimization algorithm: A new metaheuristic algorithm for solving optimization problems","volume":"51","author":"Hashim","year":"2021","journal-title":"Appl. Intell."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"84","DOI":"10.1016\/j.matcom.2021.08.013","article-title":"Honey Badger Algorithm: New metaheuristic algorithm for solving optimization problems","volume":"192","author":"Hashim","year":"2022","journal-title":"Math. Comput. Simul."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"489","DOI":"10.1016\/j.neucom.2005.12.126","article-title":"Extreme learning machine: Theory and applications","volume":"70","author":"Huang","year":"2006","journal-title":"Neurocomputing"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"107","DOI":"10.1007\/s13042-011-0019-y","article-title":"Extreme learning machines: A survey","volume":"2","author":"Huang","year":"2011","journal-title":"Int. J. Mach. Learn. Cybern."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Zhang, K., Hu, Z., Zhan, Y., Wang, X., and Guo, K. (2020). A smart grid AMI intrusion detection strategy based on extreme learning machine. Energies, 13.","DOI":"10.3390\/en13184907"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Ali, H., Elzeki, O.M., and Elmougy, S. (2022). Smart Attacks Learning Machine Advisor System for Protecting Smart Cities from Smart Threats. Appl. Sci., 12.","DOI":"10.3390\/app12136473"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Moustafa, N., and Slay, J. (2015, January 10\u201312). UNSW-NB15: A comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). Proceedings of the 2015 Military Communications and Information Systems Conference (MilCIS), Canberra, Australia.","DOI":"10.1109\/MilCIS.2015.7348942"},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"1397","DOI":"10.1007\/s10586-019-03008-x","article-title":"An integrated rule based intrusion detection system: Analysis on UNSW-NB15 data set and the real time online dataset","volume":"23","author":"Kumar","year":"2020","journal-title":"Clust. Comput."},{"key":"ref_42","first-page":"177","article-title":"Towards a reliable intrusion detection benchmark dataset","volume":"2018","author":"Sharafaldin","year":"2018","journal-title":"Secur. Commun. Netw."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Toupas, P., Chamou, D., Giannoutakis, K.M., Drosou, A., and Tzovaras, D. (2019, January 16\u201319). An intrusion detection system for multi-class classification based on deep neural networks. Proceedings of the 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), Boca Raton, FL, USA.","DOI":"10.1109\/ICMLA.2019.00206"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Salem, H., Attiya, G., and El-Fishawy, N. (2016, January 22\u201325). Intelligent decision support system for breast cancer diagnosis by gene expression profiles. Proceedings of the 2016 33rd National Radio Science Conference (NRSC), Aswan, Egypt.","DOI":"10.1109\/NRSC.2016.7450870"},{"key":"ref_45","first-page":"1","article-title":"Multi-layer intrusion detection system with ExtraTrees feature selection, extreme learning machine ensemble, and softmax aggregation","volume":"2019","author":"Sharma","year":"2019","journal-title":"EURASIP J. Inf. Secur."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"32464","DOI":"10.1109\/ACCESS.2020.2973730","article-title":"Network intrusion detection combined hybrid sampling with deep hierarchical network","volume":"8","author":"Jiang","year":"2020","journal-title":"IEEE Access"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"4586875","DOI":"10.1155\/2020\/4586875","article-title":"A stacking ensemble for network intrusion detection using heterogeneous datasets","volume":"2020","author":"Rajagopal","year":"2020","journal-title":"Secur. Commun. Netw."},{"key":"ref_48","first-page":"1","article-title":"Data Mining based Framework for Effective Intrusion Detection using Hybrid Feature Selection Approach","volume":"11","author":"Manjunatha","year":"2019","journal-title":"Int. J. Comput. Netw. Inform. Secur."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Zhiqiang, L., Zhijun, L., Ting, G., Yucheng, S., and Ghulam, M.-U.-D. (2021, January 20\u201321). A three-layer architecture for intelligent intrusion detection using deep learning. Proceedings of the Fifth International Congress on Information and Communication Technology, London, UK.","DOI":"10.1007\/978-981-15-5859-7_24"},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Jagruthi, H., and Kavitha, C. (2022). A Novel Framework for NIDS Using Stacked Ensemble Learning. Soft Computing for Security Applications, Springer.","DOI":"10.1007\/978-981-16-5301-8_9"},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"14","DOI":"10.1109\/OJCS.2021.3050917","article-title":"A novel intrusion detection model for detecting known and innovative cyberattacks using convolutional neural network","volume":"2","author":"Ho","year":"2021","journal-title":"IEEE Open J. Comput. Soc."},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Ferrag, M.A., Maglaras, L., Ahmim, A., Derdour, M., and Janicke, H.J.F.i. (2020). Rdtids: Rules and decision tree-based intrusion detection system for internet-of-things networks. Future Internet, 12.","DOI":"10.3390\/fi12030044"},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"769","DOI":"10.1007\/s12530-019-09317-1","article-title":"Anomaly process detection using negative selection algorithm and classification techniques","volume":"12","author":"Hosseini","year":"2021","journal-title":"Evol. Syst."},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Salman, T., Bhamare, D., Erbad, A., Jain, R., and Samaka, M. (2017, January 26\u201328). Machine learning for anomaly detection and categorization in multi-cloud environments. Proceedings of the 2017 IEEE 4th International Conference on Cyber Security and Cloud Computing (CSCloud), New York, NY, USA.","DOI":"10.1109\/CSCloud.2017.15"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/11\/12\/170\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:28:35Z","timestamp":1760146115000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/11\/12\/170"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,11,28]]},"references-count":54,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2022,12]]}},"alternative-id":["computers11120170"],"URL":"https:\/\/doi.org\/10.3390\/computers11120170","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,11,28]]}}}