Lune

CCS2024Top-tier venue

A Framework for Differential Privacy Against Timing Attacks

Zachary Ratliff, Salil P. Vadhan

Abstract

The standard definition of differential privacy (DP) ensures that a mechanism's output distribution on adjacent datasets is indistinguishable. However, real-world implementations of DP can, and often do, reveal information through their runtime distributions, making them susceptible to timing attacks. In this work, we establish a general framework for ensuring differential privacy in the presence of timing side channels. We define a new notion of timing privacy, which captures programs that remain differentially private to an adversary that observes the program's runtime in addition to the output. Our framework enables chaining together component programs that are timing-stable followed by a random delay to obtain DP programs that achieve timing privacy. Importantly, our definitions allow for measuring timing privacy and output privacy using different privacy measures. We illustrate how to instantiate our framework by giving programs for standard DP computations in the RAM and Word RAM models of computation. Furthermore, we show how our framework can be realized in code through a natural extension of the OpenDP Programming Framework.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems cites The Discrete Gaussian for Differential Privacy
  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems
  • Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It cites Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems
  • Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It cites The Discrete Gaussian for Differential Privacy
  • Mycelium: Large-Scale Distributed Graph Queries with Differential Privacy cites Orchard: Differentially Private Analytics at Scale
  • GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential Privacy cites Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems
  • GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential Privacy cites Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It
  • GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential Privacy cites The Discrete Gaussian for Differential Privacy
  • Timing Attacks on Differential Privacy are Practical cites Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems
  • Timing Attacks on Differential Privacy are Practical cites Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix It
  • Timing Attacks on Differential Privacy are Practical cites Mycelium: Large-Scale Distributed Graph Queries with Differential Privacy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy SystemsJiankai Jin, Eleanor McMurtry, Benjamin I. P. Rubinstein, Olga OhrimenkoS&P 2022 · 57 citations
  2. SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi et al.NDSS 2026 · 7 citations
  3. How Researchers De-Identify Data in PracticeWentao Guo, Paige Pepitone, Adam J. Aviv, Michelle L. MazurekUSENIX Security 2025
  4. GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential PrivacyHaochen Sun, Xi HeSIGMOD 2026
  5. Timing Attacks on Differential Privacy are PracticalZachary Ratliff, Nicolás Berrios, James MickensCCS 2025

Builds on5

  1. The Discrete Gaussian for Differential PrivacyClément L. Canonne, Gautam Kamath, Thomas SteinkeNeurIPS 2020 · 355 citations
  2. Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy SystemsJiankai Jin, Eleanor McMurtry, Benjamin I. P. Rubinstein, Olga OhrimenkoS&P 2022 · 57 citations
  3. Orchard: Differentially Private Analytics at ScaleEdo Roth, Hengchu Zhang, Andreas Haeberlen, Benjamin C. PierceOSDI 2020 · 40 citations
  4. Mycelium: Large-Scale Distributed Graph Queries with Differential PrivacyEdo Roth, Karan Newatia, Yiping Ma, Ke Zhong et al.SOSP 2021 · 19 citations
  5. Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix ItSílvia Casacuberta, Michael Shoemate, Salil P. Vadhan, Connor WagamanCCS 2022 · 12 citations

Related papers

  1. Interactive Proofs For Differentially Private CountingAri Biswas, Graham CormodeCCS 2023 · 10 citations
  2. Indistinguishability Prevents Scheduler Side Channels in Real-Time SystemsChien-Ying Chen, Debopam Sanyal, Sibin MohanCCS 2021 · 10 citations
  3. Crypt?: Crypto-Assisted Differential Privacy on Untrusted ServersAmrita Roy Chowdhury, Chenghong Wang, Xi He, Ashwin Machanavajjhala et al.SIGMOD 2020 · 40 citations
  4. Concurrent Composition for Interactive Differential Privacy with Adaptive Privacy-Loss ParametersSamuel Haney, Michael Shoemate, Grace Tian, Salil P. Vadhan et al.CCS 2023 · 4 citations
  5. Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen et al.PLDI 2020 · 90 citations
Dusk over the sea between two cliffs drawn in fine vertical lines