Frequency-Hiding Order-Preserving Encryption

Florian KerschbaumCCS 2015

TL;DR

This paper introduces a novel order-preserving encryption (OPE) scheme that significantly enhances security by randomizing ciphertexts to hide plaintext frequencies, a critical vulnerability in existing OPE methods. This advancement allows for more secure outsourcing of data to the cloud while maintaining efficient range query capabilities, with the added benefit that security actually improves as data volume increases.

What Problem Does This Paper Address?

The paper tackles a critical security concern in order-preserving encryption (OPE), a technique that allows data to be encrypted while still enabling efficient range queries. This is particularly useful for cloud-based data outsourcing, where sensitive information needs to be protected yet remain searchable. However, existing OPE schemes, especially deterministic ones, are vulnerable to attacks that exploit the frequency of plaintexts. When multiple identical plaintexts are encrypted, their corresponding ciphertexts often appear identical, revealing information about their distribution. This frequency information can be exploited by attackers, especially when dealing with large datasets where all possible plaintext values might be present. The paper aims to close this security gap by developing an OPE scheme that hides this frequency information, thereby offering stronger protection against cryptanalysis.

Methods

The core innovation of this paper is a frequency-hiding order-preserving encryption scheme. Unlike previous deterministic OPE schemes, this new approach randomizes ciphertexts. This means that identical plaintexts can result in different ciphertexts, effectively obscuring the frequency of any given plaintext. The scheme is designed to be stateful, meaning it maintains some state on the client side, which is necessary to achieve the enhanced security.

To manage the increased state requirements, the authors introduce data compression techniques. They employ a sorted binary tree structure to store encrypted data and then apply various compression methods, including dictionary compression and subtree compression, to reduce the client's storage footprint.

A key theoretical contribution is the introduction of a new security definition: indistinguishability under frequency-analyzing ordered chosen plaintext attack (IND-FAOCPA). This definition is strictly stronger than existing ones like IND-OCPA, as it specifically accounts for the frequency analysis vulnerability. The paper provides a proof that their scheme achieves this new security notion.

For practical scenarios where storage is extremely constrained, they also propose an "imperfect frequency-hiding" scheme. This variant offers a trade-off, sacrificing some security (though still stronger than many existing OPE schemes) for significantly reduced storage requirements by approximating a uniform ciphertext distribution.

Datasets

The paper does not introduce new benchmark datasets. Instead, it uses real-world data characteristics to evaluate its scheme. Specifically, it mentions:

  • German population data: Used to estimate field distributions for "first name," "last name," "birthdate," and "gender" for a database of approximately 80 million people.
  • Simulated data: Used for various experiments, including:
  • Encrypting sequences of plaintexts with varying numbers of distinct plaintexts and sizes.
  • Testing compression ratios with different numbers of plaintexts and distinct plaintexts.
  • Evaluating the imperfect frequency-hiding scheme with skewed plaintext distributions.

Key Insights and Ideas

  • Frequency is a critical OPE vulnerability: The paper convincingly argues that the frequency of plaintexts is a significant weakness in existing OPE schemes, especially in large datasets.
  • Randomization is key to frequency hiding: By randomizing ciphertexts, identical plaintexts can produce different ciphertexts, effectively masking frequency information.
  • Security can improve with data size: Unlike many cryptographic schemes where security degrades with more data, this new OPE scheme's security increases as the dataset grows, making it ideal for large-scale cloud outsourcing.
  • Statefulness is a necessary trade-off for stronger security: Achieving frequency-hiding requires the client to maintain state, which is a departure from some simpler OPE schemes but is essential for the enhanced security.
  • Compression is crucial for practicality: The authors acknowledge the statefulness challenge and present effective compression techniques to make their secure scheme viable in resource-constrained environments.
  • A spectrum of security/storage trade-offs: The introduction of the "imperfect frequency-hiding" scheme offers a practical option for scenarios where absolute frequency hiding is not critical, but significant storage savings are paramount.

Key Results

  • New Security Definition (IND-FAOCPA): The paper formally defines a stronger security notion that addresses frequency analysis.
  • IND-FAOCPA Secure Scheme: A novel OPE scheme is presented and proven secure under the IND-FAOCPA definition.
  • Compression Ratios: The proposed compression techniques achieve significant space savings, with an overall compression ratio of almost 15 for experimental data and ratios of over 17000 for the imperfect scheme under specific conditions.
  • Statistical Security: Experiments show that their frequency-hiding scheme exhibits lower Pearson correlation coefficients compared to deterministic OPE schemes, indicating better resistance to statistical cryptanalysis.
  • Improved Security with Data Size: The theoretical analysis and experimental results suggest that the security of their IND-FAOCPA scheme increases with the number of encrypted plaintexts, a desirable property for large datasets.

Limitations and Future Work

  • Statefulness: The primary limitation of the fully secure scheme is its stateful nature, requiring the client to store significant information. While compression mitigates this, it's still a consideration.
  • Query Rewriting Complexity: For certain complex queries involving comparisons between database values (rather than constants), the query rewriting process might require downloading data to the client, introducing overhead. The paper mentions an automated rewriting algorithm for such cases but notes it can still be a significant overhead for rare queries.
  • Imperfect Scheme Security: The "imperfect frequency-hiding" scheme, while offering excellent compression, does not achieve the full IND-FAOCPA security and still leaks some frequency information.
  • Future Work: The paper suggests exploring more efficient compression techniques and further investigating the trade-offs between security, storage, and query performance for various application scenarios. The authors also highlight the need for practical query rewriting algorithms for complex comparisons.

Summary updated

BibTeX
@inproceedings{kerschbaum2015frequency,
  author = {Florian Kerschbaum},
  title = {{Frequency-Hiding Order-Preserving Encryption}},
  booktitle = {CCS},
  year = {2015},
  doi = {10.1145/2810103.2813629},
}
Figure