Abstract
Searchable Encryption (SE) is a technique that allows Cloud Service Providers (CSPs) to search over encrypted datasets without learning the content of queries and records. In recent years, many SE schemes have been proposed to protect outsourced data from CSPs. Unfortunately, most of them leak sensitive information, from which the CSPs could still infer the content of queries and records by mounting leakage-based inference attacks, such as the count attack and file injection attack. In this work, first we define the leakage in searchable encrypted databases and analyse how the leakage is leveraged in existing leakage-based attacks. Second, we propose a Privacy-preserving Multi-cloud based dynamic symmetric SE (SSE) scheme for relational Database (P-McDb). P-McDb has minimal leakage, which not only ensures confidentiality of queries and records, but also protects the search, access, and size patterns from CSPs. Moreover, P-McDb ensures both forward and backward privacy of the database. Thus, P-McDb could resist existing leakage-based attacks, e.g., active file/record-injection attacks. We give security definition and analysis to show how P-McDb hides the aforementioned patterns. Finally, we implemented a prototype of P-McDb and test it using the TPC-H benchmark dataset. Our evaluation results show the feasibility and practical efficiency of P-McDb.
The Challenge of Information Leakage in Searchable Encryption
Searchable Encryption (SE) is often considered the "holy grail" for cloud privacy, enabling users to store encrypted data on remote servers while retaining the ability to perform searches without exposing plaintext. However, the practical implementation of SE frequently involves a trade-off between security and efficiency. Most existing schemes suffer from significant "leakage," where the Cloud Service Provider (CSP) can observe patterns that reveal sensitive information.
Key patterns typically leaked include:
- Search Pattern: Revealing whether two different queries are searching for the same keyword.
- Access Pattern: Identifying which specific encrypted records are returned in response to a query.
- Size Pattern: Disclosing the exact number of records that match a given search term.
As shown in the table below, different levels of leakage ($\mathcal{L}_1$ to $\mathcal{L}_3$) expose databases to various inference attacks. For instance, schemes with higher leakage are vulnerable to frequency analysis and the IKK attack, while even those with minimal leakage can be susceptible to count attacks.
P-McDb: A Multi-Cloud Architecture for Enhanced Privacy
To address these vulnerabilities, this research introduces P-McDb (Privacy-preserving Multi-cloud Database). The core innovation lies in a multi-cloud architecture that distributes tasks across three non-colluding entities to minimize leakage while maintaining performance. This approach avoids the high overhead typically associated with heavy-duty tools like Oblivious RAM (ORAM).
The architecture consists of three primary services:
- Storage & Search Service (SSS): Responsible for storing encrypted records and executing search operations.
- Index & Witness Service (IWS): Manages the index and provides search tokens (witnesses) to the SSS, ensuring the SSS can find records without knowing their content.
- Re-randomise & Shuffle Service (RSS): After each query, this service shuffles record locations and re-encrypts them with new nonces to hide access patterns.
Key Security Mechanisms
- Group-based Padding: To mitigate size pattern leakage, P-McDb employs padding. Rather than padding the entire database to a global maximum—which would be prohibitively expensive—the system divides data into groups and pads within those groups. This "controllable leakage" allows administrators to balance security and performance.
- Post-Query Shuffling: By re-randomizing results after every search, the system ensures that subsequent queries for the same keyword do not access the same physical locations, effectively neutralizing access pattern analysis.
- Forward and Backward Privacy: The use of refreshed nonces ensures that new record insertions cannot be linked to past queries (forward privacy) and that deleted records cannot be linked to future queries (backward privacy).
Evaluation and Results
The P-McDb prototype was evaluated using the industry-standard TPC-H benchmark. Testing focused on equality queries within the ORDERS table, which contained approximately 1.5 million real records.
The results demonstrate that P-McDb is both secure and efficient. Using XOR-based operations, searching a database padded to 4 million records took only about 2 seconds. Furthermore, the grouping strategy significantly reduced overhead; by utilizing 10,000 groups, the required number of dummy records dropped from 2.6 million to 1 million. For the end-user, query latency was remarkably low, often dropping to less than 1 millisecond as the number of groups increased, as the client only needs to decrypt a small subset of real records.
Conclusion
P-McDb provides a robust framework for searchable databases that resists active record-injection and inference attacks. By leveraging a multi-cloud trust model and tunable group-based padding, it achieves a practical balance between high-level privacy guarantees and the performance requirements of modern database systems.
Summary updated