Skip to main content
QUICK REVIEW

[Paper Review] Extending On-chain Trust to Off-chain -- Trustworthy Blockchain Data Collection using Trusted Execution Environment (TEE)

Chunchi Liu, Hechuan Guo|arXiv (Cornell University)|Jun 30, 2021
Blockchain Technology Applications and SecurityComputer Science7 citations
TL;DR

This paper proposes a TEE-enabled trusted environment monitoring system and a consistency protocol to extend blockchain trust from on-chain to off-chain physical environments, ensuring truthful, real-time, and fault-tolerant data collection for applications like vaccine tracing. The system uses an Arm Cortex-M33 MCU to securely sense temperature, GPS, and light data, achieving 84ms local processing and 130ms blockchain synchronization latency with full tamper detection and non-repudiation.

ABSTRACT

Blockchain creates a secure environment on top of strict cryptographic assumptions and rigorous security proofs. It permits on-chain interactions to achieve trustworthy properties such as traceability, transparency, and accountability. However, current blockchain trustworthiness is only confined to on-chain, creating a "trust gap" to the physical, off-chain environment. This is due to the lack of a scheme that can truthfully reflect the physical world in a real-time and consistent manner. Such an absence hinders further real-world blockchain applications, especially for security-sensitive ones. In this paper, we propose a scheme to extend blockchain trust from on-chain to off-chain, and take trustworthy vaccine transportation as an example. Our scheme consists of 1) a Trusted Execution Environment (TEE)-enabled trusted environment monitoring system built with the Arm Cortex-M33 microcontroller that continuously senses the inside of a vaccine box through trusted sensors and generates anti-forgery data; and 2) a consistency protocol to upload the environment status data from the TEE system to blockchain in a truthful, real-time consistent, continuous and fault-tolerant fashion. Our security analysis indicates that no adversary can tamper with the vaccine in any way without being captured. We carry out an experiment to record the internal status of a vaccine shipping box during transportation, and the results indicate that the proposed system incurs an average latency of 84 ms in local sensing and processing followed by an average latency of 130 ms to have the sensed data transmitted to and available in the blockchain.

Motivation & Objective

  • To close the on-chain/off-chain 'trust gap' in blockchain applications by ensuring off-chain physical data truthfully reflects real-world conditions.
  • To develop a low-cost, secure, and practical system for trustworthy physical-world data collection using Trusted Execution Environments (TEE).
  • To enable real-time, continuous, and fault-tolerant upload of sensor data from edge devices to blockchain with strong consistency and non-repudiation.
  • To demonstrate the feasibility and security of the system through a real-world vaccine tracing use case.

Proposed method

  • Deploy a TEE-enabled monitoring system using an Arm Cortex-M33 microcontroller to provide hardware-isolated, trusted sensing of environmental conditions (temperature, GPS, light).
  • Implement anti-forgery mechanisms via TEE to ensure all sensor data are cryptographically authenticated and tamper-evident.
  • Design a consistency protocol to upload sensor data to blockchain in real-time, continuously, and fault-tolerantly, ensuring data integrity and availability.
  • Use cryptographic hashing and secure channels to bind physical-world data to on-chain records, enabling end-to-end traceability.
  • Integrate error recovery and fault tolerance to handle transmission failures without compromising security or consistency.
  • Evaluate the system using real-world vaccine shipping scenarios, measuring latency and resilience to physical tampering and network attacks.

Experimental results

Research questions

  • RQ1How can blockchain-based systems ensure that on-chain data truthfully and continuously reflect off-chain physical world states?
  • RQ2What system architecture enables secure, low-latency, and fault-tolerant data transmission from edge devices to blockchain using TEE?
  • RQ3How can physical tampering with monitored assets be detected and prevented with cryptographic non-repudiation?
  • RQ4What is the performance overhead of integrating TEE-based sensing with blockchain in real-world edge deployments?
  • RQ5Can a low-cost TEE platform like Cortex-M33 achieve the same security guarantees as high-end solutions like Intel SGX in physical traceability applications?

Key findings

  • The system achieves an average local sensing and processing latency of 84 ms, with an additional 130 ms average latency for data to be available on the blockchain.
  • The TEE-based system successfully captures all attempted physical tampering and jamming attacks, demonstrating strong physical security and non-repudiation.
  • The fault-tolerant protocol recovers from transmission failures without relaxing security requirements, maintaining data consistency and integrity.
  • The Cortex-M33-based implementation is approximately 10 times cheaper than Intel SGX, making it viable for large-scale edge deployments in physical traceability.
  • The system successfully maps physical-world events to on-chain records with high consistency, enabling end-to-end verifiable vaccine tracking.
  • The open-source implementation at https://github.com/zhuaiballl/TEE-enabled_Trusted_Environment_Monitoring_System enables extensibility to other applications beyond vaccine tracing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.