Anonymous Outsourced Statekeeping with Reduced Server Storage

Dana Dachman-Soled, Esha Ghosh, Mingyu Liang, Ian Miers, Michael Rosenberg

TL;DR

This paper introduces a novel protocol for anonymous outsourced state-keeping, allowing servers to prevent replay attacks and manage user states (like ticket counts) with significantly less storage than traditional methods. By combining additively homomorphic encryption with a clever "escape hatch" technique, the authors reduce server storage from $O(N \cdot t)$ to $O(N \log t)$, while providing robust protection against malicious servers attempting to deanonymize users through selective failure attacks.

What Problem Does This Paper Address?

Many anonymous web protocols—like Privacy Pass (used by Cloudflare) or electronic cash—rely on "strike-lists" to prevent fraud. When a user redeems an anonymous token, the server adds that token to a list to ensure it isn't used again.

The problem is scale. If $N$ users are each issued $t$ tickets, the server must store a list of $N \cdot t$ tokens. As $t$ grows, this becomes a massive storage and computational burden. While a simple counter per user seems like an obvious fix, it introduces a major security flaw: selective failure attacks.

In an anonymous system, if a malicious server tampers with one specific user's encrypted counter, only that user will encounter an error and "abort" the protocol. By observing who aborts, the server can link a specific network request to a specific user account, destroying the very anonymity the protocol was meant to provide.

Methods

The authors propose a protocol that replaces the massive strike-list with a table of $N$ encrypted entries (one per user). Key techniques include:

  • Additively Homomorphic Encryption (AHE): This allows the server to update a user's state (e.g., decrementing a ticket counter) without knowing which user is acting or what the current count is.
  • Zero-Knowledge Proofs (NIZKs): Users provide a proof that they are only modifying their own entry and that their state transition is valid (e.g., they actually have tickets remaining).
  • The "Escape Hatch": This is the paper's core innovation. During registration, the server signs a commitment to the user's initial state. If a user detects that the server has tampered with their state during a later transaction, they use this signature as a "trapdoor" in their NIZK. This allows them to generate a valid-looking dummy update that is indistinguishable from a real one. Instead of aborting and revealing their identity, the user "escapes" silently.
  • Epochs and Nullifiers: To handle concurrent requests and prevent a user from spending multiple tickets in a single "burst" against the same state, the protocol divides time into epochs.

Datasets

Not discussed in the paper. As a theoretical cryptography paper, the work focuses on formal definitions, protocol construction, and mathematical proofs of security and complexity rather than empirical benchmarking on specific datasets.

Key Insights and Ideas

  • Anonymity vs. Integrity: The authors recognize that in anonymous systems, integrity failures (server tampering) are actually privacy failures. Their "escape hatch" decouples these, ensuring that a lack of integrity doesn't lead to a loss of anonymity.
  • Optimal Storage: They achieve the theoretical lower bound for storage. For ticket counting, storage is $O(N \log t)$. For general state of size $s$, it is $O(N \cdot s)$.
  • Fast-Forwarding State: For more complex state-keeping (beyond simple counters), they introduce the idea of "fast-forwarding." If a server rolls back a user's state to an older version, the user can use recursive SNARKs to prove they are jumping from the old state to their current, locally-tracked state in a single, anonymous step.

Key Results

  • Reduced Storage: The protocol successfully reduces server-side storage from $O(N \cdot t)$ to $O(N)$ ciphertexts (where each ciphertext is proportional to the state size, e.g., $\log t$).
  • UC Security: The authors formally prove that their protocol is secure in the Universal Composability (UC) framework, meaning it remains secure even when run alongside other arbitrary protocols.
  • Robustness: The system is proven to be "selective failure blind." A malicious server cannot gain any advantage in deanonymizing users by injecting faults, truncating tables, or rolling back states.

Limitations and Future Work

  • Client Bandwidth: In the basic protocol, the client must download and re-upload the entire table of $N$ entries to maintain anonymity, leading to $O(N)$ communication costs. While the authors discuss using Private Information Retrieval (PIR) and Anonymous Routers to reduce this to constant bandwidth, a fully formal treatment of the constant-bandwidth case is left for future work.
  • Token Re-issuance: The current model assumes a fixed number of tickets issued at registration. Efficiently "topping up" tickets without linking the new tickets to the old identity remains an open challenge.
  • Application Scope: While the "fast-forwarding" technique works for many functions, the authors note that certain stateful applications (like games with daily limits) might still be vulnerable to specific types of rollback attacks, suggesting a need for further research into "safe" state transition functions.

Summary updated

BibTeX
@article{dachmansoled2024anonymous,
  author = {Dana Dachman-Soled and Esha Ghosh and Mingyu Liang and Ian Miers and Michael Rosenberg},
  title = {{Anonymous Outsourced Statekeeping with Reduced Server Storage}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2024},
  url = {https://openreview.net/forum?id=M4gsWrdghC},
}
Figure