论文标题
mpinspector:一种用于评估物联网消息传递协议安全性的系统和自动方法
MPInspector: A Systematic and Automatic Approach for Evaluating the Security of IoT Messaging Protocols
论文作者
论文摘要
通过消息协议(MP)促进,许多家用设备连接到互联网,为客户带来了便利性和可访问性。但是,大多数在物联网平台上部署的国会议员都是分散的,并且未仔细实施以支持安全的通信。据我们所知,尚无系统的解决方案来对MP实施进行自动安全检查。 为了弥合差距,我们提出了MpinSpector,这是第一个自动和系统的解决方案,用于审查MP实现的安全性。 Mpinspector将模型学习与形式分析相结合,并分为三个阶段:(a)使用参数语义提取和交互逻辑提取来自动推断MP实施的状态机,(b)基于元属性和状态机器生成安全性属性,以及(c)应用基于基于属性的正式验证以确定属性违规行为。我们评估了在九个领先的物联网平台上实施的三个受欢迎的MPS的Mpinspector,包括MQTT,CoAP和AMQP。它确定了252条违反财产,我们进一步确定了在两个现实的攻击场景下的11种攻击。此外,我们证明了Mpinspector是轻量级的(端到端分析的平均开销约为4.5小时),并且有效,精确度为100%,以识别违反财产的行为。
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.