TL;DR
This paper introduces Eunomia, a framework for running complex privacy policy audits on encrypted databases outsourced to the cloud. By combining deterministic encryption, adjustable keyed hashes, and a novel "displaced" order-preserving scheme, the authors enable the cloud to detect policy violations without ever seeing the raw data, all while providing a formal proof of what information is—and isn't—leaked.
What Problem Does This Paper Address?
Organizations increasingly outsource data storage and processing to third-party clouds to save costs. However, for sensitive sectors like healthcare (HIPAA) and finance (GLBA), data privacy is a legal mandate. Standard encryption protects data but makes it "opaque," preventing the cloud from performing even basic relational queries like joins or comparisons.
While "property-preserving" encryption (like CryptDB) exists to allow queries on encrypted data, it often lacks a rigorous, end-to-end characterization of security. Furthermore, privacy audits require a specific type of query called a displaced comparison (e.g., "Was this record accessed within 30 days of a patient visit?"). Standard order-preserving encryption can tell you if $A < B$, but not if $A + 30 < B$. This paper bridges the gap between high-utility querying and provable security for the specific domain of privacy auditing.
Methods
The authors propose two encryption schemes, Eunomia$^{DET}$** and **Eunomia$^{KH}$, and a specialized sub-scheme called mOPED.
- Eunomia$^{DET}$ (Deterministic): Uses deterministic encryption where the same plaintext always results in the same ciphertext within a column. This allows for lightning-fast equality checks and joins but requires the user to know which columns will be joined before encrypting.
- Eunomia$^{KH}$ (Keyed Hash): Uses an "adjustable keyed hash" (AKH) scheme. This is more flexible; it allows the cloud to compare columns for equality even if they weren't originally intended to be joined, provided the client issues a "transfer token."
- mOPED (Mutable Order-Preserving Encoding with Displacement): This is the paper's "secret sauce." It extends existing order-preserving techniques to support comparisons involving constants (displacements). It builds a search tree on the cloud that allows the server to verify if $t_1 + d_1 \le t_2 + d_2$ without knowing the values of $t$ or $d$.
- Log Equivalence: The authors introduce a new security definition. Instead of claiming "zero leakage" (which is impossible for searchable encryption), they formally define an equivalence class. They prove that an adversary only learns that the plaintext log belongs to a specific class of logs that share the same structure and relationships, but not the actual values.
Datasets
The researchers evaluated their system using synthetically generated audit logs modeled after real-world privacy legislation:
- HIPAA (Healthcare): 13 representative clauses.
- GLBA (Finance): 4 representative clauses.
- The logs ranged from 2,000 to 14,000 privacy-sensitive actions, with the largest plaintext log being 17 MB. These were used to measure the computational overhead of the
ereducealgorithm (their encrypted version of a standard audit algorithm).
Key Insights and Ideas
- The "Displacement" Challenge: Most searchable encryption focuses on $A = B$ or $A < B$. By identifying that privacy laws rely heavily on deadlines (displacements), the authors made their scheme practical for legal compliance in a way previous academic models weren't.
- Formalizing Leakage: By using "Log Equivalence," the authors move away from vague security claims. They provide a mathematical boundary: if two logs are "equivalent" under their definition, a polynomial-time adversary cannot distinguish between their encryptions.
- Static Analysis for Efficiency: The system uses a "mode check" (a type of static analysis) on the privacy policies before encryption. This tells the system exactly which columns need which type of encryption, minimizing unnecessary data exposure.
Key Results
- Performance:
- Eunomia$^{DET}$ is highly efficient, showing only a 3% to 9% overhead compared to auditing plaintext data. This is because the cloud performs standard SQL queries on ciphertexts.
- Eunomia$^{KH}$ is slower, with an overhead of 63% to 406%. The cost comes from the larger database size (storing both hashes and ciphertexts) and the math required for hash adjustments.
- Security: Both schemes were formally proven to be secure under the authors' IND-CPLA (Chosen Plaintext Log Attack) framework, reducing the security of the system to standard cryptographic assumptions like the Decisional Diffie-Hellman (DDH) problem.
Limitations and Future Work
- No Aggregation: The current schemes do not support mathematical aggregation (e.g., calculating the average time between accesses or the sum of transactions). This would require homomorphic encryption, which is currently much slower.
- Public Policies: The framework assumes the privacy policies themselves are public knowledge. If the audit rules were a trade secret, a different security model would be needed.
- Eunomia$^{KH}$ Scaling: The overhead for the keyed-hash version is significant. The authors suggest that caching previous key adjustments could reduce this, but they haven't implemented it yet.
- Pre-computation: Eunomia$^{DET}$ requires knowing join patterns in advance. If a new, unforeseen policy needs to be audited, the data might require re-encryption.
Summary updated