Limits of Breach-Resistant and Snapshot-Oblivious RAMs

Giuseppe Persiano, Kevin Yeo

TL;DR

This paper investigates the limits of Oblivious RAMs (ORAMs) that protect against "snapshot" adversaries who can briefly access server memory and operation transcripts. The authors prove a surprising lower bound: protecting against even a weak snapshot adversary with just three breaches is as hard as protecting against a persistent adversary. They also show that simpler data structures like stacks and queues can achieve constant overhead against these snapshot adversaries, unlike RAMs.

What Problem Does This Paper Address?

In cloud computing, users store data on potentially untrusted servers. Oblivious RAMs (ORAMs) are a cryptographic tool that hides data access patterns from the server, even if the server is compromised. Traditional ORAMs offer strong protection against "persistent" adversaries (who have continuous access) but come with a significant performance overhead (logarithmic).

To improve efficiency, researchers have explored weaker adversary models. One such model is the "(s, l)-snapshot adversary," which can perform s brief "breaches" into the system, each time getting a snapshot of the server's memory and observing up to l operations. A recent work showed that ORAMs can achieve sub-logarithmic overhead (specifically, O(log l)) against a single-breach adversary (s=1).

This paper tackles a crucial open question: can we build efficient ORAMs (with sub-logarithmic overhead) that are secure against adversaries who can perform multiple breaches (s > 1)? This is important because real-world systems are often compromised multiple times.

Methods

The core of this paper is a novel lower bound proof for ORAMs against (3,1)-snapshot adversaries. This adversary can breach the system three times, but only gets to see the transcript of a single operation during one of these breaches. The authors adapt the "chronogram" technique, a standard method for proving ORAM lower bounds, to this weaker adversary model.

Key aspects of their method include:

  • Snapshot Adversary Construction: They design a specific (3,1)-snapshot adversary that strategically chooses its breaches and operations to maximize its ability to distinguish between two different sequences of operations.
  • Information Transfer/Chronogram Adaptation: They leverage the idea of partitioning operations and analyzing memory cell updates between breaches. The crucial insight is that even with limited views, the adversary can infer information about memory changes.
  • Shannon's Source Coding Theorem: To prove the lower bound, they construct an impossibly efficient compression scheme that relies on the ORAM's ability to hide information. This scheme, if it worked, would contradict fundamental limits on data compression, thus proving the ORAM must have a certain overhead.
  • Separation Constructions: For simpler data structures like no-write ORAMs, stacks, and queues, they construct efficient O(1) overhead solutions secure against (s,1)-snapshot adversaries, demonstrating that not all data structures face the same limitations as RAMs.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The surprising equivalence of (3,1)-snapshot and persistent adversaries: The most striking finding is that protecting against an adversary who can breach the system three times and see just one operation's transcript is as hard as protecting against a persistent adversary with unlimited access. This significantly narrows the potential for efficiency gains by weakening the adversary model in this specific way.
  • The power of memory snapshots: Even without seeing full operation transcripts, memory snapshots during breaches provide the adversary with enough information to infer significant details about data access patterns.
  • Simpler structures offer better efficiency: The paper highlights a significant separation: while RAMs are fundamentally limited against (3,1)-snapshot adversaries, simpler structures like stacks and queues can achieve constant overhead. This suggests that the specific functionality of a data structure plays a crucial role in its security limitations.
  • Adaptability of existing proof techniques: The authors demonstrate that established lower bound proof techniques (like chronogram) can be adapted to new, weaker adversary models, opening doors for further research.

Key Results

  • Lower Bound: Any (3,1)-snapshot oblivious RAM for n entries of b-bit size with client storage c requires $\Omega(\log(nb/c))$ overhead. This matches the lower bound for persistent adversaries.
  • No-Write ORAM Construction: An O(1) overhead construction for no-write ORAMs secure against (s,1)-snapshot adversaries for any s ≥ 1.
  • Oblivious Stacks/Queues Construction: O(1) overhead constructions for oblivious stacks and queues secure against (s,1)-snapshot adversaries for any s ≥ 1.
  • Extensions: The lower bound is extended to weaker notions like differentially private RAMs, read-only obliviousness, and structured encryption leakage.

Limitations and Future Work

  • Open problem for (2,l)-snapshot adversaries: The paper's lower bound is for three breaches. It remains an open question whether a sub-logarithmic overhead ORAM can be constructed for adversaries with two breaches, for any l.
  • Open problem for (s,0)-snapshot adversaries: Current constructions for adversaries that only see memory snapshots (no transcripts) still require O(log n) overhead. It's an open question if this can be improved to sub-logarithmic for s ≥ 2.
  • Exploring other security weakenings: The authors suggest investigating other "meaningful weakenings of security" for ORAMs that might admit sub-logarithmic constructions with broad applicability.
  • Adaptive adversaries: The proofs primarily focus on non-adaptive adversaries (who commit to their attack strategy upfront). While the lower bounds are shown to hold for adaptive adversaries as well, further exploration of adaptive strategies might be beneficial.

Summary updated

BibTeX
@article{persiano2023limits,
  author = {Giuseppe Persiano and Kevin Yeo},
  title = {{Limits of Breach-Resistant and Snapshot-Oblivious RAMs}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2023},
}
Figure