论文标题
MQT-TZ:使用ARM Trustzone硬化物联网经纪人
MQT-TZ: Hardening IoT Brokers Using ARM TrustZone
论文作者
论文摘要
出版物订阅范式是一种有效的通信方案,在节点之间具有强大的脱钩,特别适合大规模部署。它本地适应非常动态的设置,并用于多种现实情况,包括金融,智能城市,医疗环境或物联网传感器。由于交换消息的敏感性以及客户/利益相关者/接收者的隐私需求,其中一些提到的应用程序方案需要越来越严格的安全保证。 MQTT是一种基于主题的轻巧的出版物订阅协议,在Edge和IoT设置中流行,这是该行业和研究人员如今广泛采用的事实上的标准。但是,MQTT经纪人必须清晰地处理数据,因此暴露了较大的攻击表面。本文介绍了MQT-TZ,这是一个安全的MQTT经纪人利用ARM Trustzone,即即使在市场上大部分可用的廉价设备上(例如Raspberry Pi单元),也通常在廉价的设备上找到了一个可信赖的执行环境(TEE)。我们使用TEE作为可信赖的代理定义了基于TLS的握手和两层加密,以端到端安全性。通过微型,宏观基准以及MedTech用例的实际工业工作负载对我们完全实施的原型进行实验评估,强调了使用Trustzone Tee的几个权衡。我们报告在构建和评估系统时学到的几个教训。我们将MQT-TZ释放为开源。
The publish-subscribe paradigm is an efficient communication scheme with strong decoupling between the nodes, that is especially fit for large-scale deployments. It adapts natively to very dynamic settings and it is used in a diversity of real-world scenarios, including finance, smart cities, medical environments, or IoT sensors. Several of the mentioned application scenarios require increasingly stringent security guarantees due to the sensitive nature of the exchanged messages as well as the privacy demands of the clients/stakeholders/receivers. MQTT is a lightweight topic-based publish-subscribe protocol popular in edge and IoT settings, a de-facto standard widely adopted nowadays by the industry and researchers. However, MQTT brokers must process data in clear, hence exposing a large attack surface. This paper presents MQT-TZ, a secure MQTT broker leveraging Arm TrustZone, a trusted execution environment (TEE) commonly found even on inexpensive devices largely available on the market (such as Raspberry Pi units). We define a mutual TLS-based handshake and a two-layer encryption for end-to-end security using the TEE as a trusted proxy. The experimental evaluation of our fully implemented prototype with micro-, macro-benchmarks, as well as with real-world industrial workloads from a MedTech use-case, highlights several trade-offs using TrustZone TEE. We report several lessons learned while building and evaluating our system. We release MQT-TZ as open-source.