Threat Detection in Internet of Things Messaging Protocol: Leveraging the MQTTEEB-D Realistic Dataset
DOI:
https://doi.org/10.19139/soic-2310-5070-3031Keywords:
IoT Cybersecurity, Threat Detection, Machine Learning (ML), Cyberattacks, MLP, Neural NetworksAbstract
The ubiquity of Internet of Things (IoT) devices has critically expanded the cyberattack surface, exposing inherent vulnerabilities in lightweight messaging protocols such as MQTT. This study rigorously evaluates machine learning (ML) techniques for threat detection using MQTTEEB-D, a dataset capturing diverse cyberattacks (DoS, MQTT Publish Flooding, SlowITe, Brute Force, Malformed Data) within a realistic IoT deployment. Our analysis reveals that a Random Forest (RF) classifier achieves, with 0.99 accuracy for binary (malicious vs. legitimate) classification and 0.97 accuracy for multi-class threat identification. In comparison, while the Multi-Layer Perceptron (MLP) achieves a notable 0.90 accuracy, it underperforms RF and struggles with high false-positive rates on legitimate traffic. Conversely, the Recurrent Neural Network (RNN) achieved only 0.74 accuracy, demonstrating that static packet features provide superior discriminative power compared to temporal dependencies for MQTT threat detection.These findings underscore the necessity of using realistic datasets to validate intrusion detection systems and highlight the efficacy of well-tuned ensemble models over more complex neural networks for securing MQTT-based IoT ecosystems.Downloads
Published
2026-09-30
How to Cite
Allaga, H., SEMLALI, H., Farchane, A., & Biniz, M. (2026). Threat Detection in Internet of Things Messaging Protocol: Leveraging the MQTTEEB-D Realistic Dataset. Statistics, Optimization & Information Computing. https://doi.org/10.19139/soic-2310-5070-3031
Issue
Section
Research Articles
License
Copyright (c) 2026 Hamza Allaga, Hayat SEMLALI, Abderrazak Farchane, Mohamed Biniz

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).