Poly-Logarithmic Range Queries on Encrypted Data with Small Leakage

Florian Hahn, Florian KerschbaumCCSW 2016 · DOI

TL;DR

This paper introduces a novel scheme for performing range queries on encrypted data stored in the cloud. It achieves amortized poly-logarithmic search time by interactively building and updating an encrypted search index, while significantly reducing data leakage compared to previous methods. This allows for efficient and private data retrieval from outsourced cloud storage.

What Problem Does This Paper Address?

In the era of cloud computing, users often outsource their data to cloud service providers. To maintain privacy, this data is typically encrypted. However, standard encryption prevents the cloud from performing useful operations like searching on the encrypted data. While searchable encryption schemes allow for operations like exact keyword matching or range queries on ciphertexts, existing solutions for range queries often suffer from a critical trade-off: either they leak too much information (like the complete ordering of the data), making them vulnerable to attacks, or they are extremely inefficient, requiring the cloud to scan every single encrypted data point for each query. This paper aims to bridge this gap by providing a scheme that is both efficient (amortized poly-logarithmic search time) and privacy-preserving (leaking only the access pattern).

Methods

The core of the proposed scheme lies in an innovative approach to building and updating an encrypted search index. Instead of a static index, the cloud service provider interactively constructs and refines the index based on past queries.

  • Interactive Indexing: The scheme leverages a modified Range Predicate Encryption (RPE) scheme. The data owner provides a master key, and the cloud service provider uses RPE to encrypt range tokens and data attributes.
  • Search Trees and Point Lists: The search index is composed of two parts: a point list (P) for linear access and a list of R-trees (T). Each R-tree covers a specific, already queried range.
  • Adaptive Updates: When a new range query arrives, the cloud service provider checks if existing R-trees in the index can efficiently answer it. If the query is a subrange of an already indexed range, the search time is logarithmic. If not, the cloud uses the query information to update and refine the R-trees or create new ones. This process is interactive, requiring communication with the data owner (who holds the master key) to generate new encrypted tokens for updated index structures.
  • Leakage Control: The scheme is designed to leak only the access pattern (which data points were accessed) and information about the relationships between queried ranges (bucketization), but not the exact values or the complete order of the data. Ciphertexts that have never been queried remain perfectly secure.

Datasets

Not discussed in the paper. The evaluation uses synthetic data generated based on specific parameters.

Key Insights and Ideas

  • Dynamic Indexing for Efficiency: The most significant insight is that an actively updated, dynamic search index can dramatically improve query performance over time. By learning from past queries, the cloud can pre-process and organize data in a way that accelerates future, related queries.
  • Trade-off Management: The paper elegantly manages the inherent trade-off between privacy and efficiency. It achieves poly-logarithmic search time by accepting a small amount of leakage (access pattern), which is significantly less than previous methods that leaked full data order.
  • RPE as a Building Block: The scheme effectively utilizes Range Predicate Encryption (RPE) as a core component, demonstrating its versatility beyond simple matching to support complex index structures.
  • Interactive Updates are Key: The interactive nature of the index updates, where the client and server collaborate, is crucial for maintaining security while enabling efficient index refinement.

Key Results

  • Amortized Poly-Logarithmic Search Time: The primary result is the achievement of amortized poly-logarithmic search time for range queries on encrypted data. This is a significant improvement over linear scan methods.
  • Reduced Leakage: The scheme leaks only the access pattern, which is a substantial privacy improvement over methods that leak the full data order.
  • Practical Implementation: A prototype implementation in Python 3 demonstrated the practical benefits of the approach, showing performance improvements after a short period of queries.
  • Runtime Analysis: Theoretical analysis shows that after a certain number of queries (e.g., $n^2$ for $n$ indexed items), the search time becomes amortized poly-logarithmic. Empirical results confirm that the search time, including index updates, becomes lower than a linear scan after just a few searches.

Limitations and Future Work

  • Interactive Updates: While necessary for security and efficiency, the interactive nature of index updates requires communication between the client and server, which can introduce latency.
  • Initial Search Cost: The very first search for a range might still be linear in the number of indexed files, as the index has not yet been populated with relevant information.
  • Parameter Tuning: The performance is influenced by parameters like the maximum number of entries per node in the R-trees, requiring careful tuning for different use cases.
  • Future Work: The authors suggest exploring different RPE implementations and further optimizing the interactive update protocols. They also highlight that their construction is modular, allowing for the integration of future improvements in underlying functional encryption schemes.

Summary updated

BibTeX
@inproceedings{hahn2016poly,
  author = {Florian Hahn and Florian Kerschbaum},
  title = {{Poly-Logarithmic Range Queries on Encrypted Data with Small Leakage}},
  booktitle = {CCSW},
  year = {2016},
  doi = {10.1145/2996429.2996437},
}
Figure