Botnet detection in internet of things using stacked ensemble learning model

Universidad Internacional do Cuanza > Research > Scientific Production <http://repositorio.unib.org/view/divisions/unic=5Fproduccion=5Fcientifica.html>
University of La Romana > Research > Scientific Production <http://repositorio.unib.org/view/divisions/uniromana=5Fproduccion=5Fcientifica.html> Open English Botnets are used for malicious activities such as cyber-attacks, spamming, and data theft and have become a significant threat to cyber security. Despite existing approaches for cyber attack detection, botnets prove to be a particularly difficult problem that calls for more advanced detection methods. In this research, a stacking classifier is proposed based on K-nearest neighbor, support vector machine, decision tree, random forest, and multilayer perceptron, called KSDRM, for botnet detection. Logistic regression acts as the meta-learner to combine the predictions from the base classifiers into the final prediction with the aim of increasing the overall accuracy and predictive performance of the ensemble. The UNSW-NB15 dataset is used to train machine learning models and evaluate their effectiveness in detecting cyber-attacks on IoT networks. The categorical features are transformed into numerical values using label encoding. Machine learning techniques are adopted to recognize botnet attacks to enhance cyber security measures. The KSDRM model successfully captures the complex patterns and traits of botnet attacks and obtains 99.99% training accuracy. The KSDRM model also performs well during testing by achieving an accuracy of 97.94%. Based on 3, 5, 7, and 10 folds, the k-fold cross-validation results show that the proposed method’s average accuracy is 99.89%, 99.88%, 99.89%, and 99.87%, respectively. Further, the demonstration of experiments and results shows the KSDRM model is an effective method to identify botnet-based cyber attacks. The findings of this study have the potential to improve cyber security controls and strengthen networks against changing threats. metadata Ali, Mudasir; Mushtaq, Muhammad Faheem; Akram, Urooj; Gavilanes Aray, Daniel; Masías Vergara, Manuel; Karamti, Hanen and Ashraf, Imran mail UNSPECIFIED, UNSPECIFIED, UNSPECIFIED, daniel.gavilanes@uneatlantico.es, manuel.masias@uneatlantico.es, UNSPECIFIED, UNSPECIFIED <http://repositorio.unib.org/id/eprint/17838/1/s41598-025-02008-9.pdf> (2025) Botnet detection in internet of things using stacked ensemble learning model. Scientific Reports, 15 (1). ISSN 2045-2322