Anonymous RAM

Michael Backes, Amir Herzberg, Aniket Kate, Ivan Pryvalov

TL;DR

This paper introduces Anonymous RAM (AnonRAM), a new cryptographic primitive that simultaneously hides data content, access patterns, and the identity of the user from curious cloud servers and malicious peers. The authors provide two provably secure constructions: one that scales linearly with the number of users and a more advanced version that achieves poly-logarithmic efficiency by utilizing two non-colluding servers.

What Problem Does This Paper Address?

In the world of cloud storage, we have two well-established privacy tools: Data Privacy (encryption hides what is stored) and Access Privacy (Oblivious RAM, or ORAM, hides which parts of the data are being accessed). However, a significant gap remains: Identity Privacy.

Standard ORAM schemes are typically designed for a single user. In a multi-user cloud environment, even if a server can't tell which specific file you are opening (thanks to ORAM), it can often tell who is making the request. Simply accessing an ORAM through an anonymous channel like Tor isn't enough; the server can see which specific ORAM data structure is being modified, effectively linking the "anonymous" request to a specific user account. Furthermore, in a multi-user setting, malicious users might try to corrupt or "tag" the data of others. This paper seeks to build a system where users can read and write data without the server or other users knowing who is doing what, while maintaining data integrity.

Methods

The authors propose two distinct architectures for AnonRAM:

  1. AnonRAM_lin (Linear Complexity): This scheme transforms any single-user ORAM into a multi-user anonymous one. The core idea is to replace every single ORAM cell with a "multi-cell" containing a slot for every user in the system. When a user wants to update their data, they download the multi-cell, update their own slot, and use re-randomizable encryption (like ElGamal) to refresh the ciphertexts of all other users' slots. To the server, the entire multi-cell looks brand new, making it impossible to tell which user actually performed the update.
  2. AnonRAM_polylog (Poly-logarithmic Complexity): To avoid the linear overhead of the first scheme, this version uses a hierarchical ORAM structure spread across two non-colluding servers: a Storage Server (S) and a Tag Server (T).
  3. It uses Oblivious PRFs (OPRF) to allow users to generate "tags" for their data blocks.
  4. The Tag Server helps reshuffle data without ever seeing the actual content.
  5. This setup allows the system to scale much more efficiently as the number of users grows.
  6. Integrity via Zero-Knowledge (ZK) Proofs: To handle malicious users, the authors augment these schemes with ZK proofs. Users must provide a proof that they either (a) know the secret key for the block they are changing, or (b) are simply re-randomizing someone else's block without changing its underlying value.

Datasets

Not discussed in the paper. As a theoretical cryptography paper, it focuses on formal definitions, protocol constructions, and mathematical proofs of security (specifically in the Random Oracle Model). No empirical performance benchmarks or real-world datasets were used for evaluation.

Key Insights and Ideas

  • The Linkability Trap: The authors highlight that "ORAM + Tor" is a naive failure. Because ORAM structures are stateful and unique to a user's data, the mere act of touching a specific ORAM tree de-anonymizes the user to the server.
  • Re-randomization as an Anonymity Tool: A key "aha" moment is using re-randomizable encryption not just for security, but as a way to "touch" everyone's data simultaneously. By refreshing everyone's ciphertext during your own update, you hide your identity in a crowd of updated bits.
  • Decoupling Identity from Integrity: Usually, to ensure a user doesn't break someone else's data, you need to know who they are (authentication). AnonRAM uses ZK proofs to prove "I have the right to modify this" without revealing "I am User X," successfully decoupling authorization from identity.

Key Results

  • Formal Definition: The paper provides the first rigorous cryptographic definition for the privacy and integrity of an Anonymous RAM primitive.
  • AnonRAM_lin Efficiency: Achieves a communication and storage cost of $O(N \cdot \text{poly-log } M)$, where $N$ is the number of users and $M$ is the number of cells per user.
  • AnonRAM_polylog Efficiency: Successfully reduces the amortized cost to $O(\text{poly-log}(N \cdot M))$, making it viable for large-scale systems, provided the two-server non-collusion assumption holds.
  • Security Guarantees: Both schemes are proven to preserve privacy against "honest-but-curious" servers and protect integrity against malicious users who might attempt to corrupt the database.

Limitations and Future Work

  • The Linear Bottleneck: The first scheme ($AnonRAM_{lin}$) is computationally expensive for systems with thousands of users because every access requires processing data proportional to the total number of users.
  • Trust Assumptions: The more efficient scheme ($AnonRAM_{polylog}$) relies on the "two non-colluding servers" model. If the Storage Server and Tag Server cooperate, the anonymity guarantees collapse.
  • Single-Server Efficiency: The authors note that achieving poly-logarithmic complexity with only a single server remains a major open challenge in this field.
  • Practical Implementation: Since the paper is purely theoretical, the actual latency and overhead of the required Zero-Knowledge proofs in a real-world network environment remain to be seen.

Summary updated

BibTeX
@inproceedings{backes2016anonymous,
  author = {Michael Backes and Amir Herzberg and Aniket Kate and Ivan Pryvalov},
  title = {{Anonymous RAM}},
  booktitle = {ESORICS},
  year = {2016},
  doi = {10.1007/978-3-319-45744-4\_17},
}
Figure