Searching Encrypted Data with Size-Locked Indexes
Min Xu, Armin Namavari, David Cash, Thomas Ristenpart
摘要
We investigate a simple but overlooked folklore approach for searching encrypted documents held at an untrusted service: Just stash an index (with unstructured encryption) at the service and download it for updating and searching. This approach is simple to deploy, enables rich search support beyond unsorted keyword lookup, requires no persistent client state, and (intuitively at least) provides excellent security compared with approaches like dynamic searchable symmetric encryption (DSSE). This work first shows that implementing this construct securely is more subtle than it appears, and that naive implementations with commodity indexes are insecure due to the leakage of the byte-length of the encoded index. We then develop a set of techniques for encoding indexes, called size-locking, that eliminates this leakage. Our key idea is to fix the size of indexes to depend only on features that are safe to leak. We further develop techniques for securely partitioning indexes into smaller pieces that are downloaded, trading leakage for large increases in performance in a measured way. We implement our systems and evaluate that they provide search quality matching plaintext systems, support for stateless clients, and resistance to damaging injection attacks. Introduction Client-side encryption protects data stored at untrusted servers, but deploying it poses both usability and security challenges. Off-the-shelf file encryption disables server-side data processing, including features for efficiently navigating data at the request of the client. And even with well-designed special-purpose encryption, some aspects of the stored data and user behavior will go unprotected. This work concerns text searching on encrypted data, and targets replicating, under encryption, the features provided in typical plaintext systems efficiently and with the highest security possible. Diverse applications are considered, but a concrete example is a cloud storage service like Dropbox, Google Drive, and iCloud. These systems allow users to log in from anywhere (e.g., from a browser) and quickly search even large folders. The search interface accepts multiple keywords, ranks the results, and provides previews to the user. To provide such features, these storage services retain access to plaintext data. In contrast, no existing encrypted storage services (e.g., Mega, SpiderOakOne, or Tresorit) supports keyword search. The problem of implementing practical text search for encrypted data was first treated by Song, Wagner, and Perrig [40], who described several approaches. Subsequently a primitive known as dynamic searchable symmetric encryption (DSSE) was developed over the course of an expansive literature (c.f., [7-9, 11, 13-17, 25-27, 31, 41, 46]). But DSSE doesn't provide features matching typical plaintext search systems, and more fundamentally, all existing approaches are vulnerable to attacks that recover plaintext information from encrypted data. The security of DSSE is measured by leakage profiles which describe what the server will learn.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives 引用了 All Your Queries Are Belong to Us: The Power of File-Injection Attacks on Searchable Encryption
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption 引用了 Forward Secure Dynamic Searchable Symmetric Encryption with Efficient Updates
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption 引用了 Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption 引用了 ∑oφoς: Forward Secure Searchable Encryption
- New Constructions for Forward and Backward Private Symmetric Searchable Encryption 引用了 All Your Queries Are Belong to Us: The Power of File-Injection Attacks on Searchable Encryption
- d-DSE: Distinct Dynamic Searchable Encryption Resisting Volume Leakage in Encrypted Databases 引用了 Forward Secure Dynamic Searchable Symmetric Encryption with Efficient Updates
- d-DSE: Distinct Dynamic Searchable Encryption Resisting Volume Leakage in Encrypted Databases 引用了 Forward and Backward Private Searchable Encryption from Constrained Cryptographic Primitives
- d-DSE: Distinct Dynamic Searchable Encryption Resisting Volume Leakage in Encrypted Databases 引用了 All Your Queries Are Belong to Us: The Power of File-Injection Attacks on Searchable Encryption
- Injection Attacks Against End-to-End Encrypted Applications 引用了 All Your Queries Are Belong to Us: The Power of File-Injection Attacks on Searchable Encryption
引用它的顶会 Paper7
- d-DSE: Distinct Dynamic Searchable Encryption Resisting Volume Leakage in Encrypted DatabasesDongli Liu, Wei Wang, Peng Xu, Laurence T. Yang 等USENIX Security 2024 · 11 次引用
- Injection Attacks Against End-to-End Encrypted ApplicationsAndrés Fábrega, Carolina Ortega Pérez, Armin Namavari, Ben Nassi 等S&P 2024 · 9 次引用
- More Haste, Less Speed: Cache Related Security Threats in Continuous Integration ServicesYacong Gu, Lingyun Ying, Huajun Chai, Yingyuan Pu 等S&P 2024 · 4 次引用
- Length Leakage in Oblivious Data Access MechanismsGrace Jia, Rachit Agarwal, Anurag KhandelwalUSENIX Security 2024 · 2 次引用
- Exploiting Leakage in Password Managers via Injection AttacksAndrés Fábrega, Armin Namavari, Rachit Agarwal, Ben Nassi 等USENIX Security 2024 · 1 次引用
它引用的 Paper12
- All Your Queries Are Belong to Us: The Power of File-Injection Attacks on Searchable EncryptionYupeng Zhang, Jonathan Katz, Charalampos PapamanthouUSENIX Security 2016 · 512 次引用
- Forward and Backward Private Searchable Encryption from Constrained Cryptographic PrimitivesRaphaël Bost, Brice Minaud, Olga OhrimenkoCCS 2017 · 423 次引用
- ∑oφoς: Forward Secure Searchable EncryptionRaphael BostCCS 2016 · 382 次引用
- New Constructions for Forward and Backward Private Symmetric Searchable EncryptionJavad Ghareh Chamani, Dimitrios Papadopoulos, Charalampos Papamanthou, Rasool JaliliCCS 2018 · 242 次引用
- Forward Secure Dynamic Searchable Symmetric Encryption with Efficient UpdatesKee Sung Kim, Minkyu Kim, Dongsoo Lee, Je Hong Park 等CCS 2017 · 179 次引用
相关 Paper
- DDR-SSE: Duplicated Retrieval of Documents for System-wide Secure Searchable Symmetric EncryptionZichen Gui, Simon-Philipp Merz, Kenneth G. Paterson, Sikhar PatranabisUSENIX Security 2026
- DORY: An Encrypted Search System with Distributed TrustEmma Dauterman, Eric Feng, Ellen Luo, Raluca Ada Popa 等OSDI 2020 · 77 次引用
- A Highly Accurate Query-Recovery Attack against Searchable Encryption using Non-Indexed DocumentsMarc Damie, Florian Hahn, Andreas PeterUSENIX Security 2021 · 46 次引用
- Rethinking Searchable Symmetric EncryptionZichen Gui, Kenneth G. Paterson, Sikhar PatranabisS&P 2023
- Hiding the Access Pattern is Not Enough: Exploiting Search Pattern Leakage in Searchable EncryptionSimon Oya, Florian KerschbaumUSENIX Security 2021 · 152 次引用
