A firmware-level security enhancement called Meshtastic SHA256 through the implementation of a 32-bit Frame Counter and HMAC-SHA256 is proposed that substantially improves replay and tamper attack resistance under the evaluated experimental conditions while remaining suitable for ESP32-based LoRa devices.
Abstract
Meshtastic is a LoRa-based mesh communication protocol designed for long-range communication in off-grid environments without internet infrastructure. In Meshtastic version 2.6.11, Channel Message communication uses AES256-CTR encryption with a shared Pre-Shared Key (PSK). Although AES-CTR preserves data confidentiality, it does not provide authentication or integrity protection. In addition, the existing packet deduplication mechanism only operates within a limited time window, causing packet freshness to not be reliably guaranteed. Consequently, Channel Message communication remains vulnerable to replay and tamper attacks. This study evaluates replay and tamper vulnerabilities in Meshtastic Channel Message communication using a controlled three-node topology with packet sizes of 16, 32, and 64 bytes. Replay attacks were performed by retransmitting captured packets after a 15-minute delay, while tamper attacks were conducted through bit-flipping modifications on encrypted packets. The results showed that Meshtastic version 2.6.11 accepted all replayed and manipulated packets under the tested conditions. To mitigate these vulnerabilities, this study proposes a firmware-level security enhancement called Meshtastic SHA256 through the implementation of a 32-bit Frame Counter and HMAC-SHA256. Experimental results showed that all replayed packets with outdated counter values and manipulated packets with invalid HMAC digests were successfully rejected for all tested packet sizes. The proposed mechanism introduced an additional overhead of 12 bytes per packet, while sender-side and receiver-side execution overheads remained below 6% and 15%, respectively. These findings indicate that the proposed mechanism substantially improves replay and tamper attack resistance under the evaluated experimental conditions while remaining suitable for ESP32-based LoRa devices.
Inter-building data communication over public networks is highly susceptible to sniffing attacks, particularly when unencrypted protocols such as File Transfer Protocol (FTP) are used, allowing sensitive information to be intercepted by unauthorized parties. This study analyzes the effectiveness of an IPSec-based Site-...
Roy Jordi, Fatoni· Jurnal Penelitian Teknologi...· 0 citations
A hybrid key exchange protocol combining DHKE with Learning With Errors (LWE), a lattice-based post-quantum primitive that provides authentication via a Public Key Infrastructure together with CRYSTALS-Dilithium digital signature, resilience against MITM attacks, and robustness against classical and quantum threats.
A. K. M. Fakhrul Hossain, Article Info· 0 citations
The MILENAGE authentication algorithm is the most widely deployed authentication mechanism in 3G, 4G, and 5G mobile networks. Its security relies on the secrecy of two 128-bit values stored in the Universal Subscriber Identity Module (USIM): the subscriber key, Ki, and the operator-specific parameter, OPc. Previous sid...
Elena Dubrova, Sönke Jendral, Linus Backlund· Proceedings of the 1st Works...· 0 citations
Abstract Domain Name System (DNS) is the way that Internet domain names are located and translated into IP addresses. The security architecture of the original design suffers from a lack of strength, as it was designed without built-in security. Among the most pervasive threats is DNS spoofing, in which attackers injec...
Sura Aljassim, M. A. Hussain, Z. Abduljabbar et al.· Cybernetics and Information...· 0 citations
The Simultaneous Authentication of Equals (SAE) protocol, introduced in WPA3, provides robust protection against offline dictionary attacks against a network Pre-Shared Key (PSK) and also protection of session keys from other people knowing that PSK. However, its high computational cost for the Password Element (PE) de...
João M. Ferreira, A. Zúquete, Hélder Gomes· 0 citations
SSH is the standard protocol for secure remote administration of servers. At the transport layer, SSH uses the Binary Packet Protocol (BPP) for encrypted and authenticated communication. Above this, the SSH Connection Protocol multiplexes one or more logical channels over a single connection, supporting interactive she...
Fabian Bäumer, Marcus Brinkmann· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.