The Message Queue Telemetry Transport (MQTT) protocol serves as a vital publishsubscribe messaging standard, enabling seamless communication across critical Internet of Things (IoT) infrastructures. However, the widespread adoption of MQTT has heightened vulnerability to cybersecurity threats, notably to Distributed Denial of Service (DDoS) attacks. These attacks overwhelm MQTT brokers with malicious traffic, leading to service disruptions. In this study, we developed a deep learning model to detect DDoS attacks within MQTT-IoT networks, comparing several candidate architectures: Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM), and Multi-Layer Perceptron (MLP). Model evaluation utilized a publicly available, real-world MQTT dataset containing both DDoS attacks and normal traffic. The experiment result illustrated that our proposed LSTM attained 99.53\% F1-score, outperforming the best models from the literature. This aligns with the observation that MQTT-based attacks are primarily sequential anomalies, where the spatial structure has a lower importance, and where the LSTM can take advantage of its ability to model temporal attack signatures.

Negesse, D., Gemeda, K., Gianini, G. (2026). DDoS attack detection and classification for the MQTT-IoT protocol using LSTM models. DISCOVER APPLIED SCIENCES [10.1007/s42452-026-08563-8].

DDoS attack detection and classification for the MQTT-IoT protocol using LSTM models

Gianini, G
Ultimo
2026

Abstract

The Message Queue Telemetry Transport (MQTT) protocol serves as a vital publishsubscribe messaging standard, enabling seamless communication across critical Internet of Things (IoT) infrastructures. However, the widespread adoption of MQTT has heightened vulnerability to cybersecurity threats, notably to Distributed Denial of Service (DDoS) attacks. These attacks overwhelm MQTT brokers with malicious traffic, leading to service disruptions. In this study, we developed a deep learning model to detect DDoS attacks within MQTT-IoT networks, comparing several candidate architectures: Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM), and Multi-Layer Perceptron (MLP). Model evaluation utilized a publicly available, real-world MQTT dataset containing both DDoS attacks and normal traffic. The experiment result illustrated that our proposed LSTM attained 99.53\% F1-score, outperforming the best models from the literature. This aligns with the observation that MQTT-based attacks are primarily sequential anomalies, where the spatial structure has a lower importance, and where the LSTM can take advantage of its ability to model temporal attack signatures.
Articolo in rivista - Articolo scientifico
IoT; MQTT protocol; DDoS attacks; LSTM
English
24-mar-2026
2026
open
Negesse, D., Gemeda, K., Gianini, G. (2026). DDoS attack detection and classification for the MQTT-IoT protocol using LSTM models. DISCOVER APPLIED SCIENCES [10.1007/s42452-026-08563-8].
File in questo prodotto:
File Dimensione Formato  
Negesse et al-2026-Discov Appl Sci-VoR.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 3.37 MB
Formato Adobe PDF
3.37 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/600441
Citazioni
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
Social impact