Master's Thesis

Security Implementation for LoRaWAN Networks

Francisco Eduardo Águas Lopes — 2025

Key information

Authors:

Francisco Eduardo Águas Lopes (Francisco Eduardo Águas Lopes)

Supervisors:

Joel Guerreiro; David Rogério Póvoa de Matos (David Rogério Póvoa de Matos)

Published in

November 28, 2025

Abstract

The IoT popularity increase demanded the communication technologies usage to handle large-scale deployment and long-range, while consuming minimal power. LoRaWAN emerged as a solution due to fulfilling the IoT requirements, however this technology has shown vulnerabilities such as single point failure (lack of redundancy) and vulnerabilities in data confidentiality, authenticity and integrity that may lead to interception and manipulation in the intermediate communication path between the Gateway and MQTT brokers. This work proposes and implements two new LoRaWAN architectures designed to enhance communication security and system reliability without compromising the LoRaWAN requisites. The proposed architectures introduce a new protection layer by adding two new components between the Gateway and MQTT brokers (Proxy and Firewall) to strengthen communication security and multiple MQTT brokers and Network Servers deployment to solve the single point failure. Both architectures have the new components establish an OpenVPN tunnel to secure communication, but the second implements a DH key exchange in ECDH mode to ensure data integrity and confidentiality. The tests performed, evaluated the communication efficiency by measuring the RTT on both architectures compared to the traditional architecture under various network loads and parameters. Results demonstrate that the OpenVPN-based architecture has a minimal increase in communication latency while enhancing communication security, however the ECDH-based architecture provides stronger protection at a higher computational cost. These findings show that enhancing the intermediate communication path improves LoRaWAN protocol resilience and security while respecting IoT requisites.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

mathematics - Mathematics

Publication language (ISO code)

por - Portuguese

Rights type:

Embargo lifted

Date available:

October 23, 2026

Institution name

Instituto Superior Técnico