Skip to main content
QUICK REVIEW

[Paper Review] PrivacyGuard: Enforcing Private Data Usage Control with Blockchain and Attested Off-chain Contract Execution

Yang Xiao, Ning Zhang|arXiv (Cornell University)|Apr 15, 2019
Blockchain Technology Applications and SecurityComputer Science48 references5 citations
TL;DR

PrivacyGuard is a blockchain- and trusted execution environment (TEE)-based system that enables fine-grained, auditable control over private data usage. It uses smart contracts to define data access policies and TEEs to securely execute data analytics off-chain, with verifiable results committed to a public blockchain, ensuring confidentiality, non-repudiation, and compliance enforcement.

ABSTRACT

The abundance and rich varieties of data are enabling many transformative applications of big data analytics that have profound societal impacts. However, there are also increasing concerns regarding the improper use of individual data owner's private data. In this paper, we propose PrivacyGuard, a system that leverages blockchain smart contract and trusted execution environment (TEE) to enable individual's control over the access and usage of their private data. Smart contracts are used to specify data usage policy, i.e., who can use what data under which conditions and what analytics to perform, while the distributed blockchain ledger is used to keep an irreversible and non-repudiable data usage record. To address the efficiency problem of on-chain contract execution and to prevent exposing private data on the publicly viewable blockchain, PrivacyGuard incorporates a novel TEE-based off-chain contract execution engine along with a protocol to securely commit the execution result onto blockchain. We have built and deployed a prototype of PrivacyGuard with Ethereum and Intel SGX. Our experiment result demonstrates that PrivacyGuard fulfills the promised privacy goal and supports analytics on data from a considerable number of data owners.

Motivation & Objective

  • To address the growing concern over unauthorized use of personal data in big data analytics and AI applications.
  • To enable data owners to enforce fine-grained usage policies, including who can access data, for what purpose, and under what conditions.
  • To provide a non-repudiable, tamper-proof audit trail of data usage through blockchain ledger recording.
  • To overcome the scalability and confidentiality limitations of on-chain smart contract execution by offloading data processing to trusted execution environments (TEEs).
  • To ensure verifiable compliance of off-chain data processing with defined policies through remote attestation and cryptographic commitments.

Proposed method

  • The system splits smart contract logic into control (on-chain) and data processing (off-chain) components to improve efficiency and confidentiality.
  • It uses Intel SGX-based TEEs to execute data analytics in a trusted environment, ensuring data confidentiality and integrity.
  • Remote attestation is employed to verify the trustworthiness of the off-chain execution environment before data processing begins.
  • A commitment protocol securely binds the result of off-chain computation to a cryptographic hash stored on the blockchain, enabling verifiable completion.
  • The blockchain records data access requests, transaction status, and final results in an immutable ledger for non-repudiation.
  • A data broker smart contract manages data sharing, pricing, and transaction lifecycle, including completion and revocation.

Experimental results

Research questions

  • RQ1How can data owners enforce fine-grained, policy-driven access and usage control over their private data in a decentralized environment?
  • RQ2How can off-chain data processing be made secure, efficient, and verifiable without compromising data confidentiality?
  • RQ3How can the integrity and correctness of off-chain computation be cryptographically bound to the blockchain for non-repudiation?
  • RQ4What is the performance overhead of combining TEEs with blockchain for data usage control in a realistic data market setting?
  • RQ5Can the system ensure that data are used only for intended purposes and not shared or misused beyond authorized scope?

Key findings

  • The prototype implementation of PrivacyGuard with Ethereum and Intel SGX successfully demonstrates the feasibility of off-chain, confidential data processing with verifiable results.
  • The system achieves non-repudiable logging of data usage through blockchain, ensuring that all transactions are immutable and auditable.
  • Remote attestation ensures that only trusted, authorized code runs in the TEE, preventing malicious or unauthorized data processing.
  • The off-chain execution model significantly reduces on-chain computational overhead and improves scalability compared to on-chain smart contract execution.
  • The system supports complex analytics on data from a large number of data owners while preserving data confidentiality and enforcing usage policies.
  • The commitment protocol enables atomic and verifiable release of results, ensuring that only correct and authorized outputs are accepted on the blockchain.

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.