JUTEI (Jurnal Terapan Teknologi Informasi)
Vol 10 No 2 (2026): Jurnal Terapan Teknologi Informasi

Sebuah PENINGKATAN KEAMANAN PROTOKOL MESSAGE QUEUING TELEMETRY TRANSPORT MENGGUNAKAN TRANSPORT LAYER SECURITY DAN HASH-BASED MESSAGE AUTHENTICATION CODE

Huda Daulan (Program Studi Informatika Universitas Siliwangi)
Firmansyah Maulana (Program Studi Informatika Universitas Siliwangi)
Rohmat Gunawan (Program Studi Informatika Universitas Siliwangi)



Article Info

Publish Date
31 Oct 2026

Abstract

Message Queuing Telemetry Transport (MQTT) is a lightweight communication protocol widely used in Internet of Things (IoT) systems due to its efficiency and low resource consumption. However, MQTT does not provide built-in security mechanisms, making it vulnerable to attacks such as Man-in-the-Middle (MITM). This study aims to analyze the impact of implementing Transport Layer Security (TLS) and Hash-Based Message Authentication Code (HMAC-SHA256) on the security and performance of the MQTT protocol. An experimental method was employed by comparing four communication scenarios: MQTT without security, MQTT with TLS, MQTT with HMAC-SHA256, and MQTT with the combination of TLS and HMAC-SHA256. The system was implemented using an ESP32, a DHT22 sensor, and a Mosquitto broker. Security was evaluated through MITM attack scenarios, while performance was assessed using Quality of Service (QoS) parameters, including latency, throughput, jitter, packet loss, memory usage, and CPU utilization. The results indicate that TLS ensures communication confidentiality, while HMAC-SHA256 provides data integrity and message authentication. The combination of TLS and HMAC-SHA256 offers the highest level of security, although it introduces performance overhead. These findings demonstrate that the selection of security mechanisms should consider the trade-off between communication security and system performance in IoT applications. Keywords: Internet of Things, MQTT, TLS, HMAC-SHA256, security, Quality of Service.

Copyrights © 2026






Journal Info

Abbrev

jurnal

Publisher

Subject

Computer Science & IT

Description

Jurnal Terapan Teknologi Informasi (JUTEI) is a journal focusing on theory, practice, and methodology of all aspects in Information Technology and Computer Science, as well as productive and innovative ideas related to new technology and applied sciences. This journal is managed by the Faculty of ...