Blockchain and Trusted Computing: Problems, Pitfalls, and a Solution for Hyperledger Fabric

05/22/2018
by   Marcus Brandenburger, et al.
0

A smart contract on a blockchain cannot keep a secret because its data is replicated on all nodes in a network. To remedy this problem, it has been suggested to combine blockchains with trusted execution environments (TEEs), such as Intel SGX, for executing applications that demand privacy. Untrusted blockchain nodes cannot get access to the data and computations inside the TEE. This paper first explores some pitfalls that arise from the combination of TEEs with blockchains. Since TEEs are, in principle, stateless they are susceptible to rollback attacks, which should be prevented to maintain privacy for the application. However, in blockchains with non-final consensus protocols, such as the proof-of-work in Ethereum and others, the contract execution must handle rollbacks by design. This implies that TEEs for securing blockchain execution cannot be directly used for such blockchains; this approach works only when the consensus decisions are final. Second, this work introduces an architecture and a prototype for smart-contract execution within Intel SGX technology for Hyperledger Fabric, a prominent platform for enterprise blockchain applications. Our system resolves difficulties posed by the execute-order-validate architecture of Fabric and prevents rollback attacks on TEE-based execution as far as possible. For increasing security, our design encapsulates each application on the blockchain within its own enclave that shields it from the host system. An evaluation shows that the overhead moving execution into SGX is within 10 sealed-bid auction application.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/14/2018

Ekiden: A Platform for Confidentiality-Preserving, Trustworthy, and Performant Smart Contract Execution

Smart contracts are applications that execute on blockchains. Today they...
research
04/15/2019

Enforcing Private Data Usage Control with Blockchain and Attested Off-chain Contract Execution

The abundance of rich varieties of data is enabling many transformative ...
research
04/17/2019

Truxen: A Trusted Computing Enhanced Blockchain

Truxen is a Trusted Computing enhanced blockchain that uses Proof of Int...
research
01/05/2018

Enabling Strong Database Integrity using Trusted Execution Environments

Immutable and consistent sharing of data across organization boundaries ...
research
06/08/2021

CloudChain: A Cloud Blockchain Using Shared Memory Consensus and RDMA

Blockchain technologies can enable secure computing environments among m...
research
08/07/2018

GEEC: Scalable, Efficient, and Consistent Consensus for Blockchains

Blockchain technology has the potential to deploy broad decentralized ap...
research
01/31/2019

Design and Evaluation of Smart-Contract-based System Operations for Permissioned Blockchain-based Systems

Recently, enterprises have paid attention to permissioned blockchain (BC...

Please sign up or login with your details

Forgot password? Click here to reset