Lune

USENIX Security2021Top-tier venue

MPInspector: A Systematic and Automatic Approach for Evaluating the Security of IoT Messaging Protocols

Qinying Wang, Shouling Ji, Yuan Tian, Xuhong Zhang, Binbin Zhao, Yuhong Kan, Zhaowei Lin, Changting Lin, Shuiguang Deng, Alex X. Liu, Raheem Beyah

Abstract

Facilitated by messaging protocols (MP), many home devices are connected to the Internet, bringing convenience and accessibility to customers. However, most deployed MPs on IoT platforms are fragmented and are not implemented carefully to support secure communication. To the best of our knowledge, there is no systematic solution to perform automatic security checks on MP implementations yet. To bridge the gap, we present MPInspector, the first automatic and systematic solution for vetting the security of MP implementations. MPInspector combines model learning with formal analysis and operates in three stages: (a) using parameter semantics extraction and interaction logic extraction to automatically infer the state machine of an MP implementation, (b) generating security properties based on meta properties and the state machine, and (c) applying automatic property based formal verification to identify property violations. We evaluate MPInspector on three popular MPs, including MQTT, CoAP and AMQP, implemented on nine leading IoT platforms. It identifies 252 property violations, leveraging which we further identify eleven types of attacks under two realistic attack scenarios. In addition, we demonstrate that MPInspector is lightweight (the average overhead of end-to-end analysis is 4.5 hours) and effective with a precision of 100% in identifying property violations.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • P-Verifier: Understanding and Mitigating Security Risks in Cloud-based IoT Access Policies cites Sensitive Information Tracking in Commodity IoT
  • Sensitive Information Tracking in Commodity IoT cites IoT Goes Nuclear: Creating a ZigBee Chain Reaction
  • A Comprehensive Symbolic Analysis of TLS 1.3 cites Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • A Formal Analysis of 5G Authentication cites A Comprehensive Symbolic Analysis of TLS 1.3
  • A Formal Analysis of 5G Authentication cites Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G Basebands cites A Formal Analysis of 5G Authentication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmwareBinbin Zhao, Shouling Ji, Jiacheng Xu, Yuan Tian et al.ISSTA 2022 · 49 citations
  2. Linear-time Temporal Logic guided Greybox FuzzingRuijie Meng, Zhen Dong, Jialin Li, Ivan Beschastnikh et al.ICSE 2022 · 29 citations
  3. SLIME: program-sensitive energy allocation for fuzzingChenyang Lyu, Hong Liang, Shouling Ji, Xuhong Zhang et al.ISSTA 2022 · 27 citations
  4. Logic Gone Astray: A Security Analysis Framework for the Control Plane Protocols of 5G BasebandsKai Tu, Abdullah Al Ishtiaq, Syed Md. Mukit Rashid, Yilu Dong et al.USENIX Security 2024 · 26 citations
  5. P-Verifier: Understanding and Mitigating Security Risks in Cloud-based IoT Access PoliciesZe Jin, Luyi Xing, Yiwei Fang, Yan Jia et al.CCS 2022 · 19 citations

Builds on12

  1. IoT Goes Nuclear: Creating a ZigBee Chain ReactionEyal Ronen, Adi Shamir, Achi-Or Weingarten, Colin O'FlynnS&P 2017 · 476 citations
  2. A Formal Analysis of 5G AuthenticationDavid A. Basin, Jannik Dreier, Lucca Hirschi, Sasa Radomirovic et al.CCS 2018 · 428 citations
  3. A Comprehensive Symbolic Analysis of TLS 1.3Cas Cremers, Marko Horvat, Jonathan Hoyland, Sam Scott et al.CCS 2017 · 247 citations
  4. Sensitive Information Tracking in Commodity IoTZ. Berkay Celik, Leonardo Babun, Amit Kumar Sikder, Hidayet Aksu et al.USENIX Security 2018 · 236 citations
  5. Verified Models and Reference Implementations for the TLS 1.3 Standard CandidateKarthikeyan Bhargavan, Bruno Blanchet, Nadim KobeissiS&P 2017 · 233 citations

Related papers

  1. MQTTactic: Security Analysis and Verification for Logic Flaws in MQTT ImplementationsBin Yuan, Zhanxiang Song, Yan Jia, Zhenyu Lu et al.S&P 2024 · 17 citations
  2. The Closer You Look, The More You Learn: A Grey-box Approach to Protocol State Machine LearningChris McMahon Stone, Sam L. Thomas, Mathy Vanhoef, James Henderson et al.CCS 2022 · 11 citations
  3. Burglars' IoT Paradise: Understanding and Mitigating Security Risks of General Messaging Protocols on IoT CloudsYan Jia, Luyi Xing, Yuhang Mao, Dongfang Zhao et al.S&P 2020 · 64 citations
  4. ProFactory: Improving IoT Security via Formalized Protocol CustomizationFei Wang, Jianliang Wu, Yuhong Nan, Yousra Aafer et al.USENIX Security 2022
  5. Discovering IoT Physical Channel VulnerabilitiesMuslum Ozgur Ozmen, Xuansong Li, Andrew Chu, Z. Berkay Celik et al.CCS 2022 · 25 citations
Dusk over the sea between two cliffs drawn in fine vertical lines