Cryptanalysis of An Encrypted Database in SIGMOD '14
Xinle Cao, Jian Liu, Hao Lu, Kui Ren
Abstract
Encrypted database is an innovative technology proposed to solve the data confidentiality issue in cloud-based DB systems. It allows a data owner to encrypt its database before uploading it to the service provider; and it allows the service provider to execute SQL queries over the encrypted data. Most of existing encrypted databases (e.g., CryptDB in SOSP '11) do not support data interoperability: unable to process complex queries that require piping the output of one operation to another.
To the best of our knowledge, SDB (SIGMOD '14) is the only encrypted database that achieves data interoperability. Unfortunately, we found SDB is not secure! In this paper, we revisit the security of SDB and propose a ciphertext-only attack named co-prime attack. It successfully attacks the common operations supported by SDB, including addition, comparison, sum, equi-join and group-by. We evaluate our attack in three real-world benchmarks. For columns that support addition and comparison , we recover 84.9% -- 99.9% plaintexts. For columns that support sum, equi-join and group-by , we recover 100% plaintexts.
Besides, we provide potential countermeasures that can prevent the attacks against sum, equi-join, group-by and addition. It is still an open problem to prevent the attack against comparison.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0e4e4f3e-7482-401d-b5d3-d1a1571452aeCited by top-tier papers1
Ask how each one uses itBuilds on4
- Generic Attacks on Secure Outsourced DatabasesGeorgios Kellaris, George Kollios, Kobbi Nissim, Adam O'NeillCCS 2016 · 327 citations
- Leakage-Abuse Attacks against Order-Revealing EncryptionPaul Grubbs, Kevin Sekniqi, Vincent Bindschaedler, Muhammad Naveed et al.S&P 2017 · 204 citations
- Improved Reconstruction Attacks on Encrypted Data Using Range Query LeakageMarie-Sarah Lacharité, Brice Minaud, Kenneth G. PatersonS&P 2018 · 183 citations
- The State of the Uniform: Attacks on Encrypted Databases Beyond the Uniform Query DistributionEvgenios M. Kornaropoulos, Charalampos Papamanthou, Roberto TamassiaS&P 2020 · 104 citations
Related papers
- Encrypted Databases Made Secure Yet MaintainableMingyu Li, Xuyang Zhao, Le Chen, Cheng Tan et al.OSDI 2023 · 11 citations
- Equi-Joins over Encrypted Data for Series of QueriesMasoumeh Shafieinejad, Suraj Gupta, Jin Yang Liu, Koray Karabina et al.ICDE 2022 · 14 citations
- HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted DatabaseXuanle Ren, Le Su, Zhen Gu, Sheng Wang et al.VLDB 2023 · 42 citations
- HE3DB: An Efficient and Elastic Encrypted Database Via Arithmetic-And-Logic Fully Homomorphic EncryptionSong Bian, Zhou Zhang, Haowen Pan, Ran Mao et al.CCS 2023 · 46 citations
- Can I Get More? An Incremental Inference Attack on Encrypted SQLXiaoqian Sun, Ruiqi He, Yang Zhang, Siyi Lv et al.S&P 2026
