arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.00702cs.CRcs.DC
收藏

利用WebAssembly与TEE构建可信分布式系统的整体方法

A Holistic Approach for Trustworthy Distributed Systems with WebAssembly and TEEs

Jämes Ménétrey, Aeneas Grüter, Peterson Yuhala, Julius Oeftiger, Pascal Felber, Marcelo Pasin, Valerio Schiavoni

AI总结:

本文提出并实现了一种基于WebAssembly和Intel SGX的可移植、全 attestation 的MQTT发布/订阅中间件,通过扩展TLS保护attestation信息隐私,并实验评估了其安全可信通信的性能开销。

摘要:

发布/订阅系统在分布式和大规模架构中众多设备之间的通信中发挥着关键作用。尽管这类系统被广泛采用,但对其进行安全加固往往需要在可移植性与额外的完整性和 attestation 保证之间做出权衡。可信执行环境(TEE)通过 enclave 提供了一种增强安全性和信任的潜在解决方案。然而,面向 TEE 的应用程序开发十分复杂,且许多现有方案与特定的 TEE 架构绑定,限制了适应性。当前的通信协议也无法妥善管理 attestation 证明,或会暴露关键的 attestation 信息。本文提出了一种利用 WebAssembly 解决上述问题的新方法,WebAssembly 是当前备受学术界和工业界关注的关键使能技术。我们介绍了一个可移植且完全经过 attestation 的发布/订阅中间件系统的设计,将其作为在各种系统之间实现可信分布式通信的整体方法。基于该方案,我们实现并深入评估了一个功能完整的发布/订阅 broker,该 broker 运行在 Intel SGX 内,以 WebAssembly 编译,并构建在业界经过实战检验的框架和标准之上,即 MQTT 和 TLS 协议。我们扩展的 TLS 协议除其他优势外,还能保护 attestation 信息的隐私。实验结果表明了大部分开销情况,显示使用可信 broker 时消息吞吐量下降了 1.55 倍。我们将本工作的贡献开源给研究社区,以促进实验可复现性。

英文摘要:

Publish/subscribe systems play a key role in enabling communication between numerous devices in distributed and large-scale architectures. While widely adopted, securing such systems often trades portability for additional integrity and attestation guarantees. Trusted Execution Environments (TEEs) offer a potential solution with enclaves to enhance security and trust. However, application development for TEEs is complex, and many existing solutions are tied to specific TEE architectures, limiting adaptability. Current communication protocols also inadequately manage attestation proofs or expose essential attestation information. This paper introduces a novel approach using WebAssembly to address these issues, a key enabling technology nowadays capturing academia and industry attention. We present the design of a portable and fully attested publish/subscribe middleware system as a holistic approach for trustworthy and distributed communication between various systems. Based on this proposal, we have implemented and evaluated in-depth a fully-fledged publish/subscribe broker running within Intel SGX, compiled in WebAssembly, and built on top of industry-battled frameworks and standards, i.e., MQTT and TLS protocols. Our extended TLS protocol preserves the privacy of attestation information, among other benefits. Our experimental results showcase most overheads, revealing a 1.55x decrease in message throughput when using a trusted broker. We open-source the contributions of this work to the research community to facilitate experimental reproducibility.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑