Elephants Do Not Forget: Differential Privacy with State Continuity for Privacy Budget
Jiankai Jin, Chitchanok Chuengsatiansup, Toby Murray, Benjamin I. P. Rubinstein, Yuval Yarom, Olga Ohrimenko
TL;DR
ElephantDP addresses the vulnerability of DP systems to budget-tampering by introducing a state-continuity module (SCM) and TEEs to maintain a persistent privacy budget and faithfully execute DP routines. The approach ensures liveness (crash recovery with the latest budget) and DP confidentiality (outputs equivalent to a trusted-curator system), even under adversarial cloud environments and potential collusion. The authors formalize transcript-equivalence to accommodate randomized DP outputs, implement the system on Intel SGX with a distributed SCM, and demonstrate 1.1×–3.2× overheads relative to insecure baselines, with better efficiency on complex queries. This work significantly improves practical deployment of global DP in untrusted settings, enabling secure query interfaces while protecting sensitive data from budget-based reconstruction attacks. The combination of DP theory, secure hardware, and a verifiable state-continuity protocol offers a robust path toward trustworthy data sharing in cloud environments.
Abstract
Current implementations of differentially-private (DP) systems either lack support to track the global privacy budget consumed on a dataset, or fail to faithfully maintain the state continuity of this budget. We show that failure to maintain a privacy budget enables an adversary to mount replay, rollback and fork attacks - obtaining answers to many more queries than what a secure system would allow. As a result the attacker can reconstruct secret data that DP aims to protect - even if DP code runs in a Trusted Execution Environment (TEE). We propose ElephantDP, a system that aims to provide the same guarantees as a trusted curator in the global DP model would, albeit set in an untrusted environment. Our system relies on a state continuity module to provide protection for the privacy budget and a TEE to faithfully execute DP code and update the budget. To provide security, our protocol makes several design choices including the content of the persistent state and the order between budget updates and query answers. We prove that ElephantDP provides liveness (i.e., the protocol can restart from a correct state and respond to queries as long as the budget is not exceeded) and DP confidentiality (i.e., an attacker learns about a dataset as much as it would from interacting with a trusted curator). Our implementation and evaluation of the protocol use Intel SGX as a TEE to run the DP code and a network of TEEs to maintain state continuity. Compared to an insecure baseline, we observe 1.1-3.2$\times$ overheads and lower relative overheads for complex DP queries.
