Skip to main content

Detection of DoS Attacks in MQTT Environment

  • Conference paper
  • First Online:
Intelligent Systems and Pattern Recognition (ISPR 2023)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1941))

  • 150 Accesses

Abstract

The Message Queuing Telemetry Transport protocol (MQTT) is one of the most widely used application protocols to facilitate machine-to-machine communication in an IoT environment. MQTT was built upon TCP/IP protocol and requires minimal resources since it is lightweight and efficient which makes it suitable for both domestic and industrial applications. However, the popularity and openness of this protocol make it vulnerable and exposed to a variety of assaults, including Denial of Service (DoS) attacks that can severely affect healthcare or manufacturing services. Thus, securing MQTT-based systems needs to develop a novel, effective, and adaptive intrusion detection approach. In this paper, we focus on MQTT’s flaws that allow hackers to take control of MQTT devices. We investigate a deep learning-based intrusion detection system to identify malicious behavior during communication between IoT devices, using an open source dataset namely ‘MQTT dataset’. The findings demonstrate that the suggested approach is more accurate than traditional approaches based on machine learning; with an accuracy rate greater than 99% and an F1-score greater than 98%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References:

  1. Kouicem, D.E., Bouabdallah, A., Lakhlef, H.: Internet of things security: a top-down survey. Comput. Netw. 141, 199–221 (2018)

    Article  Google Scholar 

  2. Dinculeană, D., Cheng, X.: Vulnerabilities and limitations of MQTT protocolused between IoT devices. Appl. Sci. 9(5), 848 (2019)

    Article  Google Scholar 

  3. Firdous, S.N., Baig, Z., Valli, C., Ibrahim, A.: Modelling and evaluation of malicious attacks against the iotmqtt protocol. In: 2017 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), pp. 748–755. IEEE (2017)

    Google Scholar 

  4. Burange, A., Misalkar, H., Nikam, U.: Security in MQTT and CoAP Protocols of IOT’s Application Layer. In: Verma, S., Tomar, R.S., Chaurasia, B.K., Singh, V., Abawajy, J. (eds.) Communication, Networks and Computing. Communications in Computer and Information Science, vol. 839, pp. 273–285. Springer, Singapore (2019). https://doi.org/10.1007/978-981-13-2372-0_24

    Chapter  Google Scholar 

  5. Raikar, M.M., Meena, S.M.: Vulnerability assessment of MQTT protocol in Internet of Things (IoT). In: 2021 2nd International Conference on Secure Cyber Computing and Communications (ICSCCC), pp. 535–540. IEEE (2021)

    Google Scholar 

  6. Ghannadrad, A.: Machine learning-based DoS attacks detection for MQTT sensor networks (2021)

    Google Scholar 

  7. https://www.kaggle.com/datasets/alighannadrad/mqttdata

  8. Alaiz-Moreton, H., Aveleira-Mata, J., Ondicol-Garcia, J., Muñoz-Castañeda, A.L., García, I., Benavides, C.: Multiclass classification procedure for detecting attacks on MQTT-IoT protocol.Complexity, 2019 (2019)

    Google Scholar 

  9. Syed, N.F., Baig, Z., Ibrahim, A., Valli, C.: Denial of service attack detection through machine learning for the IoT. J. Inf. Telecommun. 4(4), 482–503 (2020)

    Google Scholar 

  10. Vaccari, I., Chiola, G., Aiello, M., Mongelli, M., Cambiaso, E.: MQTTset, a new dataset for machine learning techniques on MQTT. Sensors 20(22), 6578 (2020)

    Article  Google Scholar 

  11. Kim, J., Shim, M., Hong, S., Shin, Y., Choi, E.: Intelligent detection of IoT botnets using machine learning and deep learning. Appl. Sci. 10(19), 7009 (2020)

    Article  Google Scholar 

  12. Hindy, H., Bayne, E., Bures, M., Atkinson, R., Tachtatzis, C., Bellekens, X.: Machine learning based IoT intrusion detection system: an MQTT case study (MQTT-IoT-IDS2020 Dataset). In: Ghita, B., Shiaeles, S. (eds.) Selected Papers from the 12th International Networking Conference. INC 2020. Lecture Notes in Networks and Systems, vol. 180, pp. 73–84. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-64758-2_6

  13. Mosaiyebzadeh, F., Rodriguez, L.G.A., Batista, D.M., Hirata, R.: A network intrusion detection system using deep learning against MQTT attacks in IoT. In: 2021 IEEE Latin-American Conference on Communications (LATINCOM), pp. 1–6.IEEE (2021)

    Google Scholar 

  14. Siddharthan, H., Deepa, T., Chandhar, P.: SENMQTT-SET: an intelligent intrusion detection in IoT-MQTT networks using ensemble multi cascade features. IEEE Access 10, 33095–33110 (2022)

    Article  Google Scholar 

  15. Andy, S., Rahardjo, B., Hanindhito, B.: Attack scenarios and securityanalysis of MQTT communication protocol in IoT system. In: 2017 4th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), pp. 1–6.IEEE (2017)

    Google Scholar 

  16. https://joseaveleira.es/dataset

  17. https://www.kaggle.com/cnrieiit/mqttset

  18. https://ieee-dataport.org/open-access/mqtt-iot-ids2020-mqtt-internet-things-intrusion-detection-dataset

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hayette Zeghida .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zeghida, H., Boulaiche, M., Chikh, R. (2024). Detection of DoS Attacks in MQTT Environment. In: Bennour, A., Bouridane, A., Chaari, L. (eds) Intelligent Systems and Pattern Recognition. ISPR 2023. Communications in Computer and Information Science, vol 1941. Springer, Cham. https://doi.org/10.1007/978-3-031-46338-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-46338-9_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-46337-2

  • Online ISBN: 978-3-031-46338-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics