Internet of Things and Artificial Intelligence Journal
Vol. 3 No. 3 (2023): Vol. 3 No. 3 (2023): Volume 3 Issue 3, 2023 [August]

Detection of Bruteforce Attacks on the MQTT Protocol Using Random Forest Algorithm

Galuh Muhammad Iman Akbar (Universitas Islam Negeri Maulana Malik Ibrahim Malang)
Mokhamad Amin Hariyadi (Department of Computer Engineering, State Islamic University of Maulana Malik Ibrahim Malang)
Ajib Hanani (Department of Computer Engineering, State Islamic University of Maulana Malik Ibrahim Malang)



Article Info

Publish Date
08 Aug 2023

Abstract

Bruteforce is a hacking technique that launches an attack by guessing the username and password of the system that is the target of the attack. The Bruteforce attack on the MQTT protocol is an attack that often occurs on the IoT, so it is necessary to detect attacks on the MQTT protocol to find out normal traffic and brute force traffic. Random Forest was chosen because this method can classify a lot of data in a relatively short time, and the results from Random Forest can improve accuracy and prevent overfitting in the data classification process. This study uses two types of data: primary data from the hacking environment lab and secondary data from the IEEE Data Port MQTT-IOT-IDS2020 dataset. Trials on primary data and the results obtained are accuracy of 99.55%, precision of 100%, recall of 99.54%, and f-measure of 99.77%, the duration needed to get these results with 1796 data lines, i.e., for 0 seconds. As for the secondary data, the researcher obtained an accuracy of 99.77%, a precision of 100%, a recall of 99.43%, and an f-measure of 98.71%, the duration required to obtain these results with 85002 data lines, i.e., for 62 seconds.

Copyrights © 2023






Journal Info

Abbrev

iota

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

Internet of Things and Artificial Intelligence Journal (IOTA) is a journal that is officially under the auspices of the Association for Scientific Computing, Electronics, and Engineering (ASCEE), Internet of Things and Artificial Intelligence Journal is a journal that focuses on the Internet of ...