NeuralD: Detecting Indistinguishability Violations of Oblivious RAM With Neural Distinguishers
- 28 February 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 17 (15566013) , 982-997
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 NeuralD, a practical tool for testing ORAM protocols and detecting violations of their stated obliviousness. We train a neural distinguisher to form a probabilistic testing oracle capable of determining with a bounded high probability if a pair of ORAM inputs violates the obliviousness guarantee. NeuralD 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. NeuralD is evaluated using well-known ORAM protocols and real-world ORAM applications (e.g., secure key-value storage). Within a few minutes, NeuralD can detect subtle violations of stated obliviousness.Keywords
This publication has 52 references indexed in Scilit:
- On the (In)security of Hash-based Oblivious RAM and a New Balancing Scheme2012
- Differential Privacy: A Survey of Results2008
- PinACM SIGPLAN Notices, 2005
- Protecting Client Privacy with Trusted Computing at the ServerIEEE Security & Privacy, 2005
- Cuckoo hashingJournal of Algorithms, 2004
- Yesterday, my program worked. Today, it does not. Why?ACM SIGSOFT Software Engineering Notes, 1999
- Software protection and simulation on oblivious RAMsJournal of the ACM, 1996
- Algorithms for the Longest Common Subsequence ProblemJournal of the ACM, 1977
- The significance probability of the smirnov two-sample testArkiv för Matematik, 1958
- On a Test of Whether one of Two Random Variables is Stochastically Larger than the OtherThe Annals of Mathematical Statistics, 1947