Toggle Main Menu Toggle Search

Open Access padlockePrints

An experimental analysis of attack classification using machine learning in IoT networks

Lookup NU author(s): Dr Rehmat UllahORCiD

Downloads


Licence

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).


Abstract

© 2021 by the authors. Licensee MDPI, Basel, Switzerland. In recent years, there has been a massive increase in the amount of Internet of Things (IoT) devices as well as the data generated by such devices. The participating devices in IoT networks can be problematic due to their resource-constrained nature, and integrating security on these devices is often overlooked. This has resulted in attackers having an increased incentive to target IoT devices. As the number of attacks possible on a network increases, it becomes more difficult for traditional intrusion detection systems (IDS) to cope with these attacks efficiently. In this paper, we highlight several machine learning (ML) methods such as k-nearest neighbour (KNN), support vector machine (SVM), decision tree (DT), naive Bayes (NB), random forest (RF), artificial neural network (ANN), and logistic regression (LR) that can be used in IDS. In this work, ML algorithms are compared for both binary and multi-class classification on Bot-IoT dataset. Based on several parameters such as accuracy, precision, recall, F1 score, and log loss, we experimentally compared the aforementioned ML algorithms. In the case of HTTP distributed denial-of-service (DDoS) attack, the accuracy of RF is 99%. Furthermore, other simulation results-based precision, recall, F1 score, and log loss metric reveal that RF outperforms on all types of attacks in binary classification. However, in multi-class classification, KNN outperforms other ML algorithms with an accuracy of 99%, which is 4% higher than RF.


Publication metadata

Author(s): Churcher A, Ullah R, Ahmad J, Ur Rehman S, Masood F, Gogate M, Alqahtani F, Nour B, Buchanan WJ

Publication type: Article

Publication status: Published

Journal: Sensors

Year: 2021

Volume: 21

Issue: 2

Online publication date: 10/01/2021

Acceptance date: 07/01/2021

Date deposited: 10/02/2025

ISSN (electronic): 1424-8220

Publisher: MDPI AG

URL: https://doi.org/10.3390/s21020446

DOI: 10.3390/s21020446

PubMed id: 33435202


Altmetrics

Altmetrics provided by Altmetric


Share