An Experimental Analysis of Attack Classification Using Machine Learning in IoT Networks
- PMID: 33435202
- PMCID: PMC7827441
- DOI: 10.3390/s21020446
An Experimental Analysis of Attack Classification Using Machine Learning in IoT Networks
Abstract
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.
Keywords: Internet of Things (IoT); IoT attacks; ML models; intrusion detection systems; machine learning; multi-class classification; privacy; security.
Conflict of interest statement
The authors declare no conflict of interest.
Similar articles
-
Adaptive Machine Learning Based Distributed Denial-of-Services Attacks Detection and Mitigation System for SDN-Enabled IoT.Sensors (Basel). 2022 Mar 31;22(7):2697. doi: 10.3390/s22072697. Sensors (Basel). 2022. PMID: 35408312 Free PMC article.
-
Software-Defined-Networking-Based One-versus-Rest Strategy for Detecting and Mitigating Distributed Denial-of-Service Attacks in Smart Home Internet of Things Devices.Sensors (Basel). 2024 Aug 3;24(15):5022. doi: 10.3390/s24155022. Sensors (Basel). 2024. PMID: 39124069 Free PMC article.
-
An Aggregated Mutual Information Based Feature Selection with Machine Learning Methods for Enhancing IoT Botnet Attack Detection.Sensors (Basel). 2021 Dec 28;22(1):185. doi: 10.3390/s22010185. Sensors (Basel). 2021. PMID: 35009725 Free PMC article.
-
A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT.Sensors (Basel). 2021 Oct 22;21(21):7016. doi: 10.3390/s21217016. Sensors (Basel). 2021. PMID: 34770322 Free PMC article. Review.
-
IoT Intrusion Detection Taxonomy, Reference Architecture, and Analyses.Sensors (Basel). 2021 Sep 26;21(19):6432. doi: 10.3390/s21196432. Sensors (Basel). 2021. PMID: 34640752 Free PMC article. Review.
Cited by
-
BoostedEnML: Efficient Technique for Detecting Cyberattacks in IoT Systems Using Boosted Ensemble Machine Learning.Sensors (Basel). 2022 Sep 29;22(19):7409. doi: 10.3390/s22197409. Sensors (Basel). 2022. PMID: 36236506 Free PMC article.
-
Multiclass characterization of frontotemporal dementia variants via multimodal brain network computational inference.Netw Neurosci. 2023 Jan 1;7(1):322-350. doi: 10.1162/netn_a_00285. eCollection 2023. Netw Neurosci. 2023. PMID: 37333999 Free PMC article.
-
Analysis of Machine Learning Algorithms for Anomaly Detection on Edge Devices.Sensors (Basel). 2021 Jul 20;21(14):4946. doi: 10.3390/s21144946. Sensors (Basel). 2021. PMID: 34300686 Free PMC article.
-
A Deep Intelligent Attack Detection Framework for Fog-Based IoT Systems.Comput Intell Neurosci. 2022 Dec 22;2022:6967938. doi: 10.1155/2022/6967938. eCollection 2022. Comput Intell Neurosci. 2022. PMID: 36590844 Free PMC article.
-
Detecting depression severity using weighted random forest and oxidative stress biomarkers.Sci Rep. 2024 Jul 15;14(1):16328. doi: 10.1038/s41598-024-67251-y. Sci Rep. 2024. PMID: 39009760 Free PMC article.
References
-
- Dorsemaine B., Gaulier J.P., Wary J.P., Kheir N., Urien P. Internet of Things: A Definition & Taxonomy; Proceedings of the 2015 9th International Conference on Next Generation Mobile Applications, Services and Technologies; Cambridge, UK. 9–11 September 2015; - DOI
-
- Statista . IoT: Number of Connected Devices Worldwide 2012–2025. Statista; Hamburg, Germany: 2019.
-
- Doffman Z. Cyberattacks On IOT Devices Surge 300% In 2019, ‘Measured in Billions’. [(accessed on 10 November 2020)]; Available online: https://www.forbes.com/sites/zakdoffman/2019/09/14/dangerous-cyberattack....
-
- Furbush J. Machine Learning: A Quick and Simple Definition. [(accessed on 10 November 2020)]; Available online: https://www.oreilly.com/content/machine-learning-a-quick-and-simple-defi...
-
- Jmj A. 5 Industries That Heavily Rely on Artificial Intelligence and Machine Learning. [(accessed on 10 November 2020)]; Available online: https://medium.com/datadriveninvestor/5-industries-that-heavily-rely-on-....
LinkOut - more resources
Full Text Sources
Other Literature Sources
Research Materials