Man-in-the-Middle Attacks on IoT Devices: Message Manipulation and Vulnerabilities in the MQTT Protocol An Experimental Case Study

  • Leonardo De La Cadena
  • , Johnny Loachamin
  • , Diego Gamboa*
  • , Graciela Guerrero
  • , Santiago Quishpe
  • , Esteven Nacimba
  • *Autor correspondiente de este trabajo

Producción científica: Capítulo del libro/informe/acta de congresoContribución de conferenciarevisión exhaustiva

Resumen

In today’s world, all household devices are connected to the Internet. Although this offers numerous benefits, it also introduces new risks that must be addressed and mitigated. Although the vulnerability of MQTT to MitM attacks and the effectiveness of TLS as a mitigation are well-established principles, there is a gap in practical, reproducible demonstrations that highlight the ease of exploitation and the absolute effectiveness of mitigation in a controlled IoT context. For this reason, an experiment was conducted within a virtual environment, executing a Man-in-the-Middle (MitM) attack using spoofing techniques to capture MQTT packets and alter the messages transmitted across an IoT device network. Using the Polymorph tool in Kali Linux, it was possible to modify the messages exchanged between two virtual machines communicating via a Mosquitto server. Due to the absence of security measures in Mosquitto’s message transmission, a security mechanism was implemented to mitigate the described attack. Therefore, TLS and SSL message encryption techniques were tested. When attempting the attack again after implementing TLS for message transmission, it was observed that no MQTT packet network traffic was generated, effectively disabling the MitM attack. This shows that executing a MitM attack on IoT devices can compromise environments using such technologies, potentially enabling cyberphysical attacks and endangering human lives. Hence, it is crucial to promote the proper implementation of message encryption techniques, such as TLS, within IoT communication networks.

Idioma originalInglés
Título de la publicación alojadaTechnologies and Innovation - 11th International Conference, CITI 2025, Proceedings
EditoresRafael Valencia-Garcia, Patricio Alvarez-Muñoz, Juan Tarquino Calderon, Vanessa Vergara-Lozano, Laura Ortega-Ponce, Ana Lucía Pico-Aguilar, Benjamín Marcelo Vásconez-García
EditorialSpringer Science and Business Media Deutschland GmbH
Páginas225-239
Número de páginas15
ISBN (versión impresa)9783032114938
DOI
EstadoPublicada - 2026
Publicado de forma externa
Evento11th International Conference on Technologies and Innovation, CITI 2025 - Guayaquil, Ecuador
Duración: 8 dic. 202511 dic. 2025

Serie de la publicación

NombreCommunications in Computer and Information Science
Volumen2776 CCIS
ISSN (versión impresa)1865-0929
ISSN (versión digital)1865-0937

Conferencia

Conferencia11th International Conference on Technologies and Innovation, CITI 2025
País/TerritorioEcuador
CiudadGuayaquil
Período8/12/2511/12/25

Nota bibliográfica

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.

Citar esto