TrustCross: Enabling Confidential Interoperability across Blockchains Using Trusted Hardware

Jianbo Gao, Ying Lan, Jianbo Gao 0003, Yue Li, Ke Wang, Yuesheng Zhu, Zhong Chen

Sure, here's a blog-style summary of the paper "TrustCross: Enabling Confidential Interoperability across Blockchains Using Trusted Hardware":

TL;DR

This paper introduces TrustCross, a novel cross-chain platform that leverages Trusted Execution Environments (TEEs) to enable confidential interoperability between different blockchains. By encrypting cross-chain communication data within TEEs and implementing fine-grained access control, TrustCross addresses the critical privacy gap in existing cross-chain solutions, offering enhanced security and user privacy.

What Problem Does This Paper Address?

The rapid growth of blockchain technology has led to a proliferation of diverse blockchain platforms. This diversity, however, creates an "islanding effect," where these blockchains operate in isolation, hindering seamless interaction and data exchange. While various cross-chain solutions like notary schemes, sidechains, and relay chains exist, they largely overlook the crucial aspect of data privacy. In many applications, such as healthcare or scientific research, sensitive personal data is shared across blockchains, making privacy leakage a significant concern. Leaked information could lead to severe social consequences, including genetic discrimination. TrustCross aims to bridge this gap by providing a secure and confidential way for blockchains to interoperate.

Methods

TrustCross employs a multi-layered architecture comprising a basic layer (network, storage), a blockchain layer (block structure, consensus, cryptography), a cross-chain interaction layer (protocol, access control, key management), and an application layer. The core of TrustCross lies in its cross-chain interaction layer, which utilizes Intel SGX (Software Guard Extensions) as the Trusted Execution Environment (TEE).

Key techniques include:

  • TEE-based Confidentiality: Cross-chain communication data is encrypted and processed within SGX enclaves. These enclaves provide a tamper-resistant environment, ensuring that data and code are protected from external access, even from the host operating system.
  • Cross-chain Interoperability Protocol (CCIP): A unified protocol is designed to standardize the format of cross-chain transactions, facilitating communication between blockchains with different underlying structures.
  • Fine-grained Access Control: Access control policies are implemented at a granular level, targeting specific user identities rather than entire parachains. This prevents unauthorized access to sensitive data and smart contract functions.
  • Secure Key Exchange: A two-phase key generation scheme is proposed. Phase 1 involves relay chain nodes initializing a common private key using Feldman verifiable secret sharing. Phase 2 uses ECDH (Elliptic Curve Diffie-Hellman) key exchange between routers and relay chain nodes to establish a secure communication key for encrypting cross-chain data.
  • Hierarchical Architecture: The system is structured hierarchically with parachains, routers, and a relay chain. Parachains are isolated blockchains, routers act as intermediaries connecting parachains to the relay chain, and the relay chain manages parachains, verifies transactions, and enforces access control.

Datasets

Not discussed in the paper. The evaluation is based on a simulated network setup.

Key Insights and Ideas

  • TEE as a Privacy Enabler: The paper highlights the significant potential of TEEs like Intel SGX to provide a robust foundation for confidential cross-chain operations, moving beyond traditional cryptographic methods alone.
  • Privacy is Not an Afterthought: TrustCross demonstrates that privacy can be integrated into cross-chain solutions from the ground up, rather than being an add-on, by design.
  • Granular Access Control is Crucial: The insight that access control needs to be user-specific, not just network-specific, is key to protecting sensitive data in a multi-user, multi-blockchain environment.
  • Balancing Security and Performance: The paper shows that while TEEs introduce some overhead, the performance impact is manageable and acceptable when weighed against the substantial gains in confidentiality.

Key Results

  • Latency: The latency of a complete cross-chain transaction (from client request to execution) is generally within 2 seconds.
  • SGX Overhead: The additional time overhead of using SGX for relay chain nodes is approximately 3.3ms per block, which is considered acceptable.
  • Memory Overhead: The SGX enclave memory usage remains within the limits of current SGX EPC (Enclave Page Cache) memory, even with large batch sizes, indicating good scalability.
  • Security: The system is designed to resist replay attacks, data race, tampering, masquerading, and MITM attacks through mechanisms like sequence numbers, timestamps, session hashes, and digital signatures.

Limitations and Future Work

  • TEE Vulnerabilities: The authors acknowledge that TEEs themselves can be subject to attacks, such as side-channel attacks. Future work will focus on mitigating these harms.
  • Proof of Information and Execution: The paper suggests that future research should focus on providing proofs for the validity of cross-chain information and execution results.
  • Scalability with Large Number of Parachains: While the current implementation shows good scalability, the performance with a very large number of parachains is not explicitly detailed.

Summary updated

Abstract

With the rapid development of blockchain technology, different types of blockchains are adopted and interoperability across blockchains has received widespread attention. There have been many cross-chain solutions proposed in recent years, including notary scheme, sidechain, and relay chain. However, most of the existing platforms do not take confidentiality into account, although privacy has become an important concern for blockchain. In this paper, we present TrustCross, a privacy-preserving cross-chain platform to enable confidential interoperability across blockchains. The key insight behind TrustCross is to encrypt cross-chain communication data on the relay chain with the assistance of trusted execution environment and employ fine-grained access control to protect user privacy. Our experimental results show that TrustCross achieves reasonable latency and high scalability on the contract calls across heterogeneous blockchains.
BibTeX
@inproceedings{gao2021trustcross,
  author = {Jianbo Gao and Ying Lan and Jianbo Gao and Yue Li and Ke Wang and Yuesheng Zhu and Zhong Chen},
  title = {{TrustCross: Enabling Confidential Interoperability across Blockchains Using Trusted Hardware}},
  booktitle = {Icbta},
  year = {2021},
  doi = {10.1145/3510487.3510491},
}
Figure