Machine Learning-Based Detection of Mirai and Bashlite Botnets in IoT Networks

Authors

  • Fatima Yousaf Department of Computer Science & IT, Institute of Southern Punjab, Multan 60800, Pakistan.
  • Muhammad Arslan Faculty of Computer Science, Lahore Garrison University, Lahore, 54000, Pakistan.
  • Ammar Ahmad Khan Department of Computer Science, NAMAL University, Mianwali, 42250, Punjab, Pakistan
  • Ashir Tanzil Department of Computer Science, Abasyn University Islamabad Campus, Islamabad, 44000, Pakistan.
  • Asiya Batool Department of Computer Science, NAMAL University, Mianwali, 42250, Punjab, Pakistan
  • Muhammad Asad Faculty of Computer Science, Lahore Garrison University, Lahore, 54000, Pakistan.

Keywords:

IoT Botnet Detection, Machine Learning, Bashlite Botnet, Mirai Botnet, N-BaIoT Dataset

Abstract

The growth of IoT devices has caused more botnet attacks, similar the Mirai botnet, which is a major cause of distributed denial of service (DDoS) attacks. Mirai gained notoriety for its involvement in large-scale attacks that compromised numerous IoT devices through weak authentication credentials. Similarly, Bashlite, also known as Bash0day or Lizkebab, targets vulnerable IoT devices by exploiting the Shellshock vulnerability in Linux-based systems. These botnets leverage compromised devices to carry out malicious activities and the propagation of malware. Machine Learning (ML) methods have been proposed to detect botnets, but finding both Mirai and Bashlite botnets at the same time is difficult because their attack patterns are different. The Random Forest (RF), Support Vector Machine (SVM) and Logistic Regression (LR) based detector for Mirai and Bashlite botnets are implemented in our detection method using machine learning. This study used N-BaIoT dataset to train these algorithms in order to detect the best features that distinguish botnet attacks on Internet of Things (IoT) devices. In this research we used two infected devices against five protocols. All machine learning algorithms used are reasonably accurate, as their test validation accuracy was greater than 99%, although Random Forest seemed to work the best.

Downloads

Published

2024-06-01

How to Cite

Fatima Yousaf, Muhammad Arslan, Ammar Ahmad Khan, Ashir Tanzil, Asiya Batool, & Muhammad Asad. (2024). Machine Learning-Based Detection of Mirai and Bashlite Botnets in IoT Networks. Journal of Computing & Biomedical Informatics, 7(01), 678–689. Retrieved from https://jcbi.org/index.php/Main/article/view/517