Secure Consistency Verification for Untrusted Cloud Storage by Public Blockchains

Kai Li, Yuzhe Richard Tang, Beom Heyn Ben Kim, Jianliang Xu

Abstract

ContractChecker is a novel security protocol designed to verify the consistency of untrusted cloud storage by leveraging public blockchains. By delegating both log attestation and log auditing to smart contracts, the system drastically reduces storage and availability requirements for clients. This architectural shift makes robust cloud consistency checks feasible for low-power, stateless devices, such as mobile phones and web browsers, which were previously excluded from such security guarantees.

1. Introduction and Motivation

Cloud storage services like Amazon S3 or Dropbox are central to modern computing, yet they require users to trust that the provider maintains storage consistency. A malicious or compromised provider can violate consistency by serving "stale" data—for example, providing an outdated software patch or a revoked public key.

Historically, systems designed to detect these violations (e.g., SUNDR, Catena) relied on clients to audit operation logs themselves. This approach requires every client to store the global operation history of all other users and remain highly available to participate in auditing rounds. Such requirements are impractical for modern, intermittently connected, or resource-constrained clients. ContractChecker addresses this by shifting the verification burden from the client to a decentralized, trusted third party: the public blockchain.

2. System Design and Comparative Analysis

ContractChecker introduces a protocol where the heavy lifting of consistency verification is handled by Ethereum smart contracts. The protocol operates in discrete epochs, consisting of two primary phases:

  1. Log Attestation: At the end of an epoch, active clients and the cloud server submit their operation logs to a smart contract.
  2. Cross-checking & Auditing: The smart contract cross-checks client logs against the server's log to detect forged or omitted operations. It then audits the server's log to ensure it meets strict linearizability conditions.

Unlike previous solutions, ContractChecker is the first to utilize the blockchain for both the attestation and the auditing phases, as shown in the comparison below.

Comparison of ContractChecker with existing consistency verification solutions.

2.1 Security Mechanisms

To ensure the integrity of the blockchain-based approach, the authors implemented several novel defenses:

  • Selective-Omission Mitigation: To prevent a server from exploiting blockchain "write unavailability" (dropped transactions), clients use high transaction fees to guarantee log inclusion within a specific timeout window.
  • Forking-by-Races Prevention: The Solidity smart contract uses strict critical sections to serialize execution, preventing the server from exploiting race conditions to bypass the auditor.
  • Cryptographic Attribution: Operations are doubly signed by both the client and the server at the time of the request. This provides the smart contract with cryptographic ground truth to distinguish between a malicious client and an honest server.

3. Experimental Evaluation

The system was evaluated using synthetic workloads based on the Yahoo! Cloud Serving Benchmark (YCSB). Simulated clients sent operations to a server and submitted logs to both a private Ethereum testnet and the public Ropsten testnet to measure gas costs, transaction delays, and scalability.

3.1 Key Results

  • Cost Efficiency: ContractChecker reduces client-side costs by more than one order of magnitude compared to client-based auditing schemes like Catena.
  • Scalability: In traditional systems, client storage costs scale linearly with the total number of users ($N$). In ContractChecker, costs remain nearly flat, depending primarily on the client's own operations and the blockchain's finality delay. The system successfully scaled to hundreds of concurrent clients, processing operations from ~370 clients within just two blocks on the public testnet.
  • Financial Viability: Technical analysis suggests the system is highly practical, supporting over 613,000 operations for approximately $100 (based on Ether prices at the time of the study).

4. Discussion and Conclusion

The primary contribution of ContractChecker is the enablement of stateless clients. Because the blockchain handles global auditing, clients only need to track their own recent operations and can safely delete local logs once an epoch is finalized. Furthermore, inactive clients no longer need to remain online to prove the server isn't suppressing their data.

While the system relies on the assumption of an honest majority of blockchain miners and synchronized clocks (via NTP), it represents a significant step forward in cloud security. Future work includes using ContractChecker to automatically enforce consistency-centric Service-Level Agreements (SLAs), where smart contracts could automatically penalize providers and compensate clients upon detecting violations.

Summary updated

BibTeX
@inproceedings{li2019secure,
  author = {Kai Li and Yuzhe Richard Tang and Beom Heyn Ben Kim and Jianliang Xu},
  title = {{Secure Consistency Verification for Untrusted Cloud Storage by Public Blockchains}},
  booktitle = {SecureComm},
  year = {2019},
  url = {https://openreview.net/forum?id=XvtCjmdHEx},
}
Figure