English

Database Reconstruction from Noisy Volumes: A Cache Side-Channel Attack on SQLite

Cryptography and Security 2021-06-22 v4

Abstract

We demonstrate the feasibility of database reconstruction under a cache side-channel attack on SQLite. Specifically, we present a Flush+Reload attack on SQLite that obtains approximate (or "noisy") volumes of range queries made to a private database. We then present several algorithms that, taken together, reconstruct nearly the exact database in varied experimental conditions, given these approximate volumes. Our reconstruction algorithms employ novel techniques for the approximate/noisy setting, including a noise-tolerant clique-finding algorithm, a "Match & Extend" algorithm for extrapolating volumes that are omitted from the clique, and a "Noise Reduction Step" that makes use of a closest vector problem (CVP) solver to improve the overall accuracy of the reconstructed database. The time complexity of our attacks grows quickly with the size of the range of the queried attribute, but scales well to large databases. Experimental results show that we can reconstruct databases of size 100,000 and ranges of size 12 with error percentage of 0.11 % in under 12 hours on a personal laptop.

Cite

@article{arxiv.2006.15007,
  title  = {Database Reconstruction from Noisy Volumes: A Cache Side-Channel Attack on SQLite},
  author = {Aria Shahverdi and Mahammad Shirinov and Dana Dachman-Soled},
  journal= {arXiv preprint arXiv:2006.15007},
  year   = {2021}
}

Comments

Source code : https://github.com/ariashahverdi/database_reconstruction

R2 v1 2026-06-23T16:39:08.256Z