{
  "id": "2024/554",
  "url": "https://opencryptology.org/2024/554",
  "original_url": "https://eprint.iacr.org/2024/554",
  "title": "Leakage-Abuse Attacks Against Structured Encryption for SQL",
  "authors": [
    "Alexander Hoover",
    "Ruth Ng",
    "Daren Khu",
    "Yao'an Li",
    "Joelle Lim",
    "Derrick Ng",
    "Jed Lim",
    "Yiyang Song"
  ],
  "affiliations": null,
  "abstract": "Structured Encryption (StE) enables a client to securely store and query data stored on an untrusted server. Recent constructions of StE have moved beyond basic queries, and now support large subsets of SQL. However, the security of these constructions is poorly understood, and no systematic analysis has been performed.\n\nWe address this by providing the first leakage-abuse attacks against StE for SQL schemes. Our attacks can be run by a passive adversary on a server with access to some information about the distribution of underlying data, a common model in prior work. They achieve partial query recovery against select operations and partial plaintext recovery against join operations. We prove the optimality and near-optimality of two new attacks, in a Bayesian inference framework. We complement our theoretical results with an empirical investigation testing the performance of our attacks against real-world data and show they can successfully recover a substantial proportion of queries and plaintexts.\n\nIn addition to our new attacks, we provide proofs showing that the conditional optimality of a previously proposed leakage-abuse attack and that inference against join operations is NP-hard in general.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Leakage-Abuse Attacks Against Structured Encryption for SQL” by Alexander Hoover, Ruth Ng, Daren Khu, Yao'an Li, Joelle Lim, Derrick Ng, Jed Lim, Yiyang Song, Cryptology ePrint Archive, Paper 2024/554, https://eprint.iacr.org/2024/554. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-09T20:24:48Z",
    "updated": "2024-04-12T15:52:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/554.pdf",
    "sha256": "68746b175b3559e30aa9f912aa24657b0ca2d10651e952b955e290c4e8370314",
    "size": 653015,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/554/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/554.pdf",
      "size": 653015,
      "sha256": "68746b175b3559e30aa9f912aa24657b0ca2d10651e952b955e290c4e8370314",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/554/versions/20240410T160147Z.pdf",
      "captured_at": "2024-04-10T16:01:47Z",
      "label": "copy captured 2024-04-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240410160147id_/https://eprint.iacr.org/2024/554.pdf",
      "size": 653010,
      "sha256": "c307d09f1c4bfc24e3ff887159d022ba0d5dc320bfa6d0c1b0d4c2d581a55eb7",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/554.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 653015
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230045640id_/https://eprint.iacr.org/2024/554.pdf",
      "captured_at": "2025-12-30T04:56:40Z",
      "size": 643226
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/554,\n      author = {Alexander Hoover and Ruth Ng and Daren Khu and Yao'an Li and Joelle Lim and Derrick Ng and Jed Lim and Yiyang Song},\n      title = {Leakage-Abuse Attacks Against Structured Encryption for SQL},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/554},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/554}\n}"
}
