NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

NeuralD: Detecting Indistinguishability Violations of Oblivious RAM With Neural Distinguishers

Pingchuan Ma, Zhibo Liu, Yuanyuan Yuan, Shuai WangIEEE Trans. IFS 2022

Abstract

Adversaries can deduce confidential information processed by a program by analyzing its memory access patterns. Oblivious RAM (ORAM) converts a sequence of program memory accesses to an oblivious form, hence preventing adversarial inference. In recent years, a flourishing growth of sophisticated and effective ORAM protocols has occurred. Nonetheless, due to the complexity of these protocols, some of them contain defects in their implementations or even in their design, jeopardizing their obliviousness when processing certain memory access sequences. In this paper, we present <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">NeuralD</monospace> , a practical tool for testing ORAM protocols and detecting violations of their stated obliviousness. We train a neural distinguisher to form a <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">probabilistic testing oracle</i> capable of determining with a bounded high probability if a pair of ORAM inputs violates the obliviousness guarantee. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">NeuralD</monospace> incorporates a set of techniques and optimizations to provide a highly effective and practical testing pipeline. Additionally, it features a delta debugging-like method to minimize error-triggering inputs (i.e., counterexamples) — developers can use these counterexamples to debug their ORAM protocols and identify root problems. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">NeuralD</monospace> is evaluated using well-known ORAM protocols and real-world ORAM applications (e.g., secure key-value storage). Within a few minutes, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">NeuralD</monospace> can detect subtle violations of stated obliviousness.
BibTeX
@article{ma2022neurald,
  author = {Pingchuan Ma and Zhibo Liu and Yuanyuan Yuan and Shuai Wang},
  title = {{NeuralD: Detecting Indistinguishability Violations of Oblivious RAM With Neural Distinguishers}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2022},
  url = {https://openreview.net/forum?id=9fuTW7AUvA},
}

Loading related content...

Figure