ShieldDB: An Encrypted Document Database With Padding Countermeasures

Viet Vo, Xingliang Yuan, Shi-Feng Sun, Joseph K. Liu, Surya Nepal, Cong Wang

TL;DR

ShieldDB is a novel encrypted document database that enhances security in dynamic cloud environments by employing tailored padding countermeasures. It addresses the critical issue of access pattern leakage in searchable encryption, a common vulnerability that can compromise data confidentiality even when data is encrypted.

What Problem Does This Paper Address?

Cloud storage offers cost-effectiveness and scalability, leading many organizations to adopt it. However, data breaches remain a significant concern. While encrypted databases aim to protect data, a major threat arises from "access pattern leakage." This refers to information an adversary can glean by observing how data is accessed, even if the data itself is encrypted. This leakage can reveal sensitive information about the data's structure and content. Existing solutions often struggle with dynamic environments where data is constantly updated, making it difficult to maintain security. This paper tackles the challenge of protecting data confidentiality in continuously updated cloud databases by preventing adversaries from exploiting access patterns.

Methods

ShieldDB builds upon Searchable Symmetric Encryption (SSE) to enable keyword search over encrypted documents. The core innovation lies in its tailored padding countermeasures. Unlike previous static approaches, ShieldDB's padding strategies are designed for dynamic databases that are continuously updated.

Key techniques include:

  • Padding Service (P): A dedicated component responsible for encrypting documents and applying padding.
  • Cache Controller and Padding Controller: These sub-components within the Padding Service manage keyword caching and generate bogus data to obfuscate access patterns.
  • Dynamic Padding Strategies: ShieldDB defines two distinct padding strategies: one for non-persistent adversaries (who monitor for a limited time) and another for persistent adversaries (who monitor continuously). These strategies adapt to the evolving database state.
  • Keyword Clustering: Keywords are grouped into clusters based on frequency to optimize padding.
  • Padding Modes (High/Low): Two modes are offered to balance padding overhead, cache load, and performance.
  • Forward Privacy: Implemented to protect newly inserted documents from being linked to past queries.
  • Re-encryption and Flushing: Features to manage cache load and reduce padding overhead.

Datasets

  • Enron Dataset: Used for evaluation. The authors extracted 2,418,270 keyword/document ID pairs from the top 5,000 most frequent keywords.
  • Training Dataset (∆stp): A sample dataset used during the setup phase to generate the padding dataset and initialize keyword clusters. The paper notes that the distribution of this dataset should ideally approximate the real streaming data.

Key Insights and Ideas

  • Access Pattern Leakage is a Critical Threat in Dynamic SSE: The paper strongly emphasizes that even with theoretical SSE primitives, real-world security is compromised by adversaries exploiting access patterns, especially in dynamic environments.
  • Dynamic Padding is Essential: Static padding is insufficient for continuously updated databases. ShieldDB's adaptive padding strategies are crucial for maintaining security over time.
  • Non-Persistent vs. Persistent Adversaries Require Different Strategies: The distinction between adversaries with limited vs. continuous monitoring capabilities necessitates distinct padding approaches to effectively obfuscate access patterns.
  • Trade-offs Exist Between Security and Performance: The choice between high and low padding modes, and the parameter 'α' (controlling keyword clustering), highlights the inherent trade-offs between security (padding overhead) and performance (throughput, search time).
  • Practical Implementation Matters: The paper demonstrates a full-fledged implementation and evaluation, moving beyond theoretical concepts to address real-world deployment challenges.

Key Results

  • Effective Obfuscation: ShieldDB's padding strategies successfully obfuscate access patterns, making it significantly harder for adversaries to infer keywords.
  • Performance Impact:
    • High Padding Mode: Results in lower cache load but higher padding overhead and EDB size.
  • Low Padding Mode: Leads to higher cache load but lower padding overhead and smaller EDB size, with better throughput.
  • Parameter 'α': A higher 'α' (more keywords per cluster) leads to increased padding overhead and reduced throughput.
  • Flushing and Re-encryption: These features effectively reduce cache load (up to 1.9-2.8x) and padding overhead (bogus pairs reduced by 64.1%).
  • Comparison to Baselines: ShieldDB incurs a higher overhead than insecure streaming systems but offers significantly better security. It also shows a lower throughput overhead compared to a forward-private SSE system without padding.

Limitations and Future Work

  • Optimal Padding Overhead: The paper acknowledges that achieving optimal padding overhead in dynamic settings is non-trivial due to variations in streaming data.
  • Assumption of Training Data Distribution: The effectiveness of padding relies on the assumption that the training data distribution closely matches the real streaming data. While the setup can be re-invoked, this remains a practical consideration.
  • Future Work: The authors suggest exploring more sophisticated methods to optimize padding overhead in streaming settings. They also mention that their current work does not address active adversaries who sabotage search results.

Summary updated

BibTeX
@article{vo2023shielddb,
  author = {Viet Vo and Xingliang Yuan and Shi-Feng Sun and Joseph K. Liu and Surya Nepal and Cong Wang},
  title = {{ShieldDB: An Encrypted Document Database With Padding Countermeasures}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2021.3126607},
}
Figure