{
  "id": "2023/813",
  "url": "https://opencryptology.org/2023/813",
  "original_url": "https://eprint.iacr.org/2023/813",
  "title": "Bayesian Leakage Analysis: A Framework for Analyzing Leakage in Cryptography",
  "authors": [
    "Zachary Espiritu",
    "Seny Kamara",
    "Tarik Moataz"
  ],
  "affiliations": null,
  "abstract": "We introduce a framework based on Bayesian statistical inference for analyzing leakage in cryptography and its vulnerability to inference attacks. Our framework naturally integrates auxiliary information, defines a notion of adversarial advantage, and provides information-theoretic measures that capture the security of leakage patterns against both full and functional recovery attacks.\n\nWe present two main theorems that bound the advantage of powerful inference techniques: the maximum a posteriori (MAP), the maximum likelihood estimate (MLE) and the MAP test. Specifically, we show that the advantage of these methods is exponentially bounded by new entropy measures that capture the susceptibility of leakage patterns to inference.\n\nTo demonstrate the applicability of our framework, we design and implement an automated leakage attack engine, Bayle, which leverages a novel inference algorithm that efficiently computes MAP estimates for a large class of i.i.d. leakage models. These models include query equality leakage, the combination of query equality and volume leakage, and leakage patterns arising from naive conjunctions.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Bayesian Leakage Analysis: A Framework for Analyzing Leakage in Cryptography” by Zachary Espiritu, Seny Kamara, Tarik Moataz, Cryptology ePrint Archive, Paper 2023/813, https://eprint.iacr.org/2023/813. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-06-02T02:51:07Z",
    "updated": "2025-04-01T23:11:21Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/813.pdf",
    "sha256": "a1b0ba1793c9295df0003593eb6edf6da90bb4865e6a1b181266eaf87e0ad9e5",
    "size": 916219,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/813/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/2023/813.pdf",
      "size": 916219,
      "sha256": "a1b0ba1793c9295df0003593eb6edf6da90bb4865e6a1b181266eaf87e0ad9e5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/813/versions/20250326T012018Z.pdf",
      "captured_at": "2025-03-26T01:20:18Z",
      "label": "copy captured 2025-03-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250326012018id_/https://eprint.iacr.org/2023/813.pdf",
      "size": 906525,
      "sha256": "38eb20759b31bc4168c72c0de24ab57695b6c580a77d2e1ccf489aab14171a04",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/813/versions/20230606T090138Z.pdf",
      "captured_at": "2023-06-06T09:01:38Z",
      "label": "copy captured 2023-06-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230606090138id_/https://eprint.iacr.org/2023/813.pdf",
      "size": 1028600,
      "sha256": "22a484ae95af45a17af28e868c19e85caf7323899c46f40994c7abe3f2169766",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/813.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 916219
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260221142425id_/https://eprint.iacr.org/2023/813.pdf",
      "captured_at": "2026-02-21T14:24:25Z",
      "size": 900924
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/813,\n      author = {Zachary Espiritu and Seny Kamara and Tarik Moataz},\n      title = {Bayesian Leakage Analysis: A Framework for Analyzing Leakage in Cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/813},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/813}\n}"
}
