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

TZ4Fabric:使用ARM执行智能合约TrustZone

TZ4Fabric: Executing Smart Contracts with ARM TrustZone

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

摘要:

区块链技术有望彻底改变制造业。例如,一些供应链用例可能会受益于使用智能合约的透明资产跟踪和自动化流程。存在几个现实世界的部署,其中区块链的透明度方面既是优势,同时也是劣势。资产和业务互动的风险是关键风险。然而,通常没有机密性保证来保护智能合约逻辑以及处理的数据。可信执行环境(TEE)是边缘或移动级处理器(例如,Arm TrustZone)和服务器级处理器(例如,英特尔SGX)。TEE可以保护代码和数据免受恶意攻击者的攻击。这份实践经验报告介绍了TZ 4Fabric,这是Hyperledger Fabric的扩展,可利用Arm TrustZone安全执行智能合约。我们的设计通过避免在TEE内执行整个Hyperledger Fabric节点来最大限度地减少可信计算基础的执行,该节点继续在不可信的环境中运行。相反,我们将其限制为仅执行智能合约。TZ 4Fabric原型利用开源OP-TEE框架,因为它支持在廉价低端设备上的部署(例如,树莓派)。我们的实验结果突出了由于Arm TrustZone提供的额外安全保证而导致的性能权衡。TZ 4Fabric将作为开源发布。

英文摘要:

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.

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

↑