Structured Encryption and Leakage Suppression

Seny Kamara, Tarik Moataz, Olga Ohrimenko

TL;DR

This paper introduces a general framework for designing Structured Encryption (STE) schemes that minimize leakage, particularly concerning query patterns. They achieve this through two novel compilers: one for making schemes "rebuildable" and another that suppresses query leakage, generalizing a known ORAM solution. This framework leads to new STE schemes that are more efficient than traditional ORAM simulations in certain scenarios.

What Problem Does This Paper Address?

Structured Encryption (STE) allows users to encrypt data while still being able to query it privately. However, a significant challenge in STE is "leakage" – information that an adversary can glean from the encryption and query process, even if the data itself remains secret. One critical type of leakage is the "query/search pattern," which reveals if and when a particular query has been made in the past. Existing STE schemes often leak this pattern, making them vulnerable. While Oblivious RAM (ORAM) offers a way to avoid this leakage, it can be computationally expensive. This paper aims to develop techniques to suppress query pattern leakage in STE schemes, making them more secure and potentially more efficient than ORAM.

Methods

The paper proposes a general framework for leakage suppression in STE, built upon two key "compilers":

  • Rebuild Compiler (RBC): This compiler takes any dynamic STE scheme and transforms it into a static, "rebuildable" scheme. Rebuilding allows for the creation of a new encrypted structure from an existing one, effectively resetting its state and potentially reducing leakage. The RBC is designed to be efficient and not impact query latency.
  • Cache-Based Compiler (CBC): This is the core of their leakage suppression. It's a generalization of the Goldreich and Ostrovsky square-root ORAM solution. The CBC uses a zero-leakage (ZL) encrypted dictionary (the "cache") to suppress the query equality leakage of a primary encrypted structure. Essentially, it leverages the cache to ensure the main structure is queried at most once for any given query, thus hiding repeated access patterns.

These compilers are then applied to a new STE scheme called the "piggyback scheme" (PBS) to construct new, more secure schemes.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Reinterpreting ORAM for STE: The authors show how the classic square-root ORAM solution can be viewed through the lens of STE, using a ZL cache to hide leakage from the main memory. This insight is generalized into the CBC.
  • Focus on Non-Repeating Sub-patterns: The analysis reveals that the leakage suppressed by the CBC is often the "non-repeating sub-pattern" of the original scheme's leakage. This suggests that future STE designs might benefit from focusing on minimizing this specific type of leakage.
  • Trade-off between Latency and Leakage: The "piggyback scheme" (PBS) demonstrates that hiding response lengths can be achieved by introducing query latency (queuing queries). This highlights a fundamental trade-off in designing secure and efficient data structures.
  • General-Purpose Framework: The proposed compilers are designed to be general, applicable to a wide range of STE schemes and data structures, not just specific cases.

Key Results

  • New STE Schemes: The framework leads to new STE schemes, including:
  • AZL: An "almost" zero-leakage scheme that leaks minimal information on query sequences.
  • FZL: A fully zero-leakage variant of AZL, achieved by accepting probabilistic correctness.
  • Efficiency Gains: The proposed schemes offer query complexity that is asymptotically better than ORAM simulation in certain natural settings and comparable to specialized oblivious data structures.
  • Leakage Suppression: The framework effectively suppresses query equality leakage, a significant step towards more private STE.

Limitations and Future Work

  • Dynamic CBC Variant: The current CBC compiler produces static schemes, and designing a dynamic variant remains an open problem.
  • Extension Schemes: Ensuring "safe extensions" for the CBC is crucial, as leakage from the extension could reveal information about the original data.
  • Improving PBS Latency: While PBS hides response lengths, it introduces latency. Future work could explore ways to reduce or eliminate this latency.
  • Other Leakage Patterns: The framework focuses on query equality and response length leakage. Future research could extend these techniques to other leakage patterns.
  • Practical Implementations: The paper focuses on theoretical constructions, and further work is needed to explore practical implementations and their performance.

Summary updated

BibTeX
@article{kamara2018structured,
  author = {Seny Kamara and Tarik Moataz and Olga Ohrimenko},
  title = {{Structured Encryption and Leakage Suppression}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2018},
  doi = {10.1007/978-3-319-96884-1\_12},
}
Figure