Cargando…

A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT

A large number of smart devices in Internet of Things (IoT) environments communicate via different messaging protocols. Message Queuing Telemetry Transport (MQTT) is a widely used publish–subscribe-based protocol for the communication of sensor or event data. The publish–subscribe strategy makes it...

Descripción completa

Detalles Bibliográficos
Autores principales: Khan, Muhammad Almas, Khan, Muazzam A., Jan, Sana Ullah, Ahmad, Jawad, Jamal, Sajjad Shaukat, Shah, Awais Aziz, Pitropakis, Nikolaos, Buchanan, William J.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8588509/
https://www.ncbi.nlm.nih.gov/pubmed/34770322
http://dx.doi.org/10.3390/s21217016
_version_ 1784598478820737024
author Khan, Muhammad Almas
Khan, Muazzam A.
Jan, Sana Ullah
Ahmad, Jawad
Jamal, Sajjad Shaukat
Shah, Awais Aziz
Pitropakis, Nikolaos
Buchanan, William J.
author_facet Khan, Muhammad Almas
Khan, Muazzam A.
Jan, Sana Ullah
Ahmad, Jawad
Jamal, Sajjad Shaukat
Shah, Awais Aziz
Pitropakis, Nikolaos
Buchanan, William J.
author_sort Khan, Muhammad Almas
collection PubMed
description A large number of smart devices in Internet of Things (IoT) environments communicate via different messaging protocols. Message Queuing Telemetry Transport (MQTT) is a widely used publish–subscribe-based protocol for the communication of sensor or event data. The publish–subscribe strategy makes it more attractive for intruders and thus increases the number of possible attacks over MQTT. In this paper, we proposed a Deep Neural Network (DNN) for intrusion detection in the MQTT-based protocol and also compared its performance with other traditional machine learning (ML) algorithms, such as a Naive Bayes (NB), Random Forest (RF), k-Nearest Neighbour (kNN), Decision Tree (DT), Long Short-Term Memory (LSTM), and Gated Recurrent Units (GRUs). The performance is proved using two different publicly available datasets, including (1) MQTT-IoT-IDS2020 and (2) a dataset with three different types of attacks, such as Man in the Middle (MitM), Intrusion in the network, and Denial of Services (DoS). The MQTT-IoT-IDS2020 contains three abstract-level features, including Uni-Flow, Bi-Flow, and Packet-Flow. The results for the first dataset and binary classification show that the DNN-based model achieved 99.92%, 99.75%, and 94.94% accuracies for Uni-flow, Bi-flow, and Packet-flow, respectively. However, in the case of multi-label classification, these accuracies reduced to 97.08%, 98.12%, and 90.79%, respectively. On the other hand, the proposed DNN model attains the highest accuracy of 97.13% against LSTM and GRUs for the second dataset.
format Online
Article
Text
id pubmed-8588509
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-85885092021-11-13 A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT Khan, Muhammad Almas Khan, Muazzam A. Jan, Sana Ullah Ahmad, Jawad Jamal, Sajjad Shaukat Shah, Awais Aziz Pitropakis, Nikolaos Buchanan, William J. Sensors (Basel) Review A large number of smart devices in Internet of Things (IoT) environments communicate via different messaging protocols. Message Queuing Telemetry Transport (MQTT) is a widely used publish–subscribe-based protocol for the communication of sensor or event data. The publish–subscribe strategy makes it more attractive for intruders and thus increases the number of possible attacks over MQTT. In this paper, we proposed a Deep Neural Network (DNN) for intrusion detection in the MQTT-based protocol and also compared its performance with other traditional machine learning (ML) algorithms, such as a Naive Bayes (NB), Random Forest (RF), k-Nearest Neighbour (kNN), Decision Tree (DT), Long Short-Term Memory (LSTM), and Gated Recurrent Units (GRUs). The performance is proved using two different publicly available datasets, including (1) MQTT-IoT-IDS2020 and (2) a dataset with three different types of attacks, such as Man in the Middle (MitM), Intrusion in the network, and Denial of Services (DoS). The MQTT-IoT-IDS2020 contains three abstract-level features, including Uni-Flow, Bi-Flow, and Packet-Flow. The results for the first dataset and binary classification show that the DNN-based model achieved 99.92%, 99.75%, and 94.94% accuracies for Uni-flow, Bi-flow, and Packet-flow, respectively. However, in the case of multi-label classification, these accuracies reduced to 97.08%, 98.12%, and 90.79%, respectively. On the other hand, the proposed DNN model attains the highest accuracy of 97.13% against LSTM and GRUs for the second dataset. MDPI 2021-10-22 /pmc/articles/PMC8588509/ /pubmed/34770322 http://dx.doi.org/10.3390/s21217016 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Review
Khan, Muhammad Almas
Khan, Muazzam A.
Jan, Sana Ullah
Ahmad, Jawad
Jamal, Sajjad Shaukat
Shah, Awais Aziz
Pitropakis, Nikolaos
Buchanan, William J.
A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title_full A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title_fullStr A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title_full_unstemmed A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title_short A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
title_sort deep learning-based intrusion detection system for mqtt enabled iot
topic Review
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8588509/
https://www.ncbi.nlm.nih.gov/pubmed/34770322
http://dx.doi.org/10.3390/s21217016
work_keys_str_mv AT khanmuhammadalmas adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT khanmuazzama adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT jansanaullah adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT ahmadjawad adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT jamalsajjadshaukat adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT shahawaisaziz adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT pitropakisnikolaos adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT buchananwilliamj adeeplearningbasedintrusiondetectionsystemformqttenablediot
AT khanmuhammadalmas deeplearningbasedintrusiondetectionsystemformqttenablediot
AT khanmuazzama deeplearningbasedintrusiondetectionsystemformqttenablediot
AT jansanaullah deeplearningbasedintrusiondetectionsystemformqttenablediot
AT ahmadjawad deeplearningbasedintrusiondetectionsystemformqttenablediot
AT jamalsajjadshaukat deeplearningbasedintrusiondetectionsystemformqttenablediot
AT shahawaisaziz deeplearningbasedintrusiondetectionsystemformqttenablediot
AT pitropakisnikolaos deeplearningbasedintrusiondetectionsystemformqttenablediot
AT buchananwilliamj deeplearningbasedintrusiondetectionsystemformqttenablediot