论文标题

TZ4FABRIC:与ARM Trustzone执行智能合约

TZ4Fabric: Executing Smart Contracts with ARM TrustZone

论文作者

Müller, Christina, Brandenburger, Marcus, Cachin, Christian, Felber, Pascal, Göttel, Christian, Schiavoni, Valerio

论文摘要

区块链技术有望改变制造业。例如,使用智能合约的透明资产跟踪和自动化流程可能会受益于几个供应链用例。存在一些现实世界的部署,其中区块链的透明性方面同时既是优势又是劣势。资产和业务互动的暴露代表关键风险。但是,通常没有保证保护智能合约逻辑和处理的数据的保证。受信任的执行环境(TEE)是Edge或移动级处理器(例如ARM TrustZone)和服务器级处理器(例如Intel SGX)中可用的新兴技术。 TEES从恶意攻击者那里屏蔽代码和数据。这份实用的经验报告提出了TZ4Fabric,这是HyperLeDger Fabric的扩展,以利用ARM Trustzone的安全执行智能合同。我们的设计通过避免在T恤内部执行整个HyperLeDger织物节点,从而最大程度地减少了执行的可信计算基础,该节点继续在不受信任的环境中运行。相反,我们将其限制为仅执行智能合约。 TZ4Fabric原型利用开源操作框架,因为它支持廉价的低端设备(例如Raspberry Pis)上的部署。由于ARM Trustzone提供的额外安全保证,我们的实验结果突出了性能权衡。 TZ4Fabric将作为开源。

Blockchain technology promises to revolutionize manufacturing industries. For example, several supply-chain use-cases may benefit from transparent asset tracking and automated processes using smart contracts. Several real-world deployments exist where the transparency aspect of a blockchain is both an advantage and a disadvantage at the same time. The exposure of assets and business interaction represent critical risks. However, there are typically no confidentiality guarantees to protect the smart contract logic as well as the processed data. Trusted execution environments (TEE) are an emerging technology available in both edge or mobile-grade processors (e.g., Arm TrustZone) and server-grade processors (e.g., Intel SGX). TEEs shield both code and data from malicious attackers. This practical experience report presents TZ4Fabric, an extension of Hyperledger Fabric to leverage Arm TrustZone for the secure execution of smart contracts. Our design minimizes the trusted computing base executed by avoiding the execution of a whole Hyperledger Fabric node inside the TEE, which continues to run in untrusted environment. Instead, we restrict it to the execution of only the smart contract. The TZ4Fabric prototype exploits the open-source OP-TEE framework, as it supports deployments on cheap low-end devices (e.g., Raspberry Pis). Our experimental results highlight the performance trade-off due to the additional security guarantees provided by Arm TrustZone. TZ4Fabric will be released as open-source.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源