Hyperparameter optimization of XGBoost and hybrid CnnSVM for cyber threat detection using modified Harris hawks algorithm
The escalating complexity of cyber threats in smart microgrids necessitates advanced detection frameworks to counter sophisticated attacks. Existing methods often underutilize optimization techniques like Harris hawks optimization (HHO) and struggle with class imbalance in cybersecurity datasets. This study proposes a novel framework integrating HHO with extreme gradient boosting (XGBoost) and a hybrid convolutional neural network with support vector machine (Cnn-SVM) to enhance cyber threat detection. Using the distributed denial of service (DDoS) botnet attack and KDD CUP99 datasets, the proposed models leverage HHO for hyperparameter optimization, achieving accuracies of 99.97% and 99.99%, respectively, alongside improved area under curve (AUC) metrics. These results highlight the framework's ability to capture complex nonlinearities and address class imbalance through RandomOverSampler. The findings demonstrate the potential of HHO-optimized models to advance automated threat detection, offering robust and scalable solutions for securing critical infrastructures.
Authors
- Engy El-Shafeiy (ORCID: https://orcid.org/0000-0003-4081-0553)
- Ali Bakhiet
- Haitham Elwahsh (ORCID: https://orcid.org/0000-0003-0920-2445)
- Tarek Khalifa (ORCID: https://orcid.org/0000-0002-0467-805X)
- Julian Hoxha (ORCID: https://orcid.org/0000-0002-4286-5841)
- Mohamed I. Ibrahem (ORCID: https://orcid.org/0000-0002-8000-4161)
- Maazen Alsabaan (ORCID: https://orcid.org/0000-0001-8601-3184)
- Mahmoud Elwahsh
Institutions
- Kafrelsheikh University (EG)
- Applied Science Private University (JO)
- King Saud University (SA)
- American University of the Middle East (KW)
- University of Sadat City (EG)
- Augusta University Health (US)
- Badr University in Cairo (EG)
- October 6 University (EG)
Publication Details
- Journal
- PeerJ Computer Science
- Published
- 2025-09-16
- DOI
- https://doi.org/10.7717/peerj-cs.3169
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- King Saud University