Formalization and Verification of MQTT-SN Communication Using CSP

  • Wei Lin*
  • , Sini Chen
  • , Huibiao Zhu
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

The MQTT-SN protocol is a lightweight version of the MQTT protocol and is customized for Wireless Sensor Networks (WSN). It removes the need for the underlying protocol to provide ordered and reliable connections during transmission, making it ideal for sensors in WSN with extremely limited computing power and resources. Due to the widespread use of WSN in various areas, the MQTT-SN protocol has promising application prospects. Furthermore, security is crucial for MQTT-SN, as sensor nodes applying this protocol are often deployed in uncontrolled wireless environments and are vulnerable to a variety of external security threats. To ensure the security of the MQTT-SN protocol without compromising its simplicity, we introduce the ChaCha20-Poly1305 cryptographic authentication algorithm. In this paper, we formally model the MQTT-SN communication system using Communicating Sequential Process (CSP) and then verify seven properties of this model using Process Analysis Toolkit (PAT), including deadlock freedom, divergence freedom, data reachability, client security, gateway security, broker security, and data leakage. According to the verification results in PAT, our model satisfies all the properties above. Therefore, we can conclude that the MQTT-SN protocol is secure with the introduction of ChaCha20-Poly1305.

Original languageEnglish
Title of host publicationEngineering of Computer-Based Systems - 8th International Conference, ECBS 2023, Proceedings
EditorsJan Kofroň, Tiziana Margaria, Cristina Seceleanu
PublisherSpringer Science and Business Media Deutschland GmbH
Pages115-132
Number of pages18
ISBN (Print)9783031492518
DOIs
StatePublished - 2024
Event8th International Conference on Engineering of Computer-Based Systems, ECBS 2023 - Västerås, Sweden
Duration: 16 Oct 202318 Oct 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14390 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference8th International Conference on Engineering of Computer-Based Systems, ECBS 2023
Country/TerritorySweden
CityVästerås
Period16/10/2318/10/23

Keywords

  • Communicating Sequential Process (CSP)
  • Formal Methods
  • MQTT-SN Protocol
  • Modeling
  • Verification

Fingerprint

Dive into the research topics of 'Formalization and Verification of MQTT-SN Communication Using CSP'. Together they form a unique fingerprint.

Cite this