{
  "id": "2024/536",
  "url": "https://opencryptology.org/2024/536",
  "original_url": "https://eprint.iacr.org/2024/536",
  "title": "Public-Algorithm Substitution Attacks: Subverting Hashing and Verification",
  "authors": [
    "Mihir Bellare",
    "Doreen Riepel",
    "Laura Shea"
  ],
  "affiliations": null,
  "abstract": "Algorithm Substitution Attacks (ASAs) have traditionally targeted secretly-keyed algorithms (for example, symmetric encryption or signing) with the goal of undetectably exfiltrating the underlying key. We initiate work in a new direction, namely ASAs on algorithms that are public, meaning contain no secret-key material. Examples are hash functions, and verification algorithms of signature schemes or non-interactive arguments. In what we call a PA-SA (Public-Algorithm Substitution Attack), the big-brother adversary replaces the public algorithm $f$ with a subverted algorithm, while retaining a backdoor to the latter. Since there is no secret key to exfiltrate, one has to ask what a PA-SA aims to do. We answer this with definitions that consider big-brother's goal for the PA-SA to be three-fold: it desires utility (it can break an $f$-using scheme or application), undetectability (outsiders can't detect the substitution) and exclusivity (nobody other than big-brother can exploit the substitution). We start with a general setting in which $f$ is arbitrary, formalizing strong definitions for the three goals, and then give a construction of a PA-SA that we prove meets them. We use this to derive, as applications, PA-SAs on hash functions, signature verification and verification of non-interactive arguments, exhibiting new and effective ways to subvert these. As a further application of the first two, we give a PA-SA on X.509 TLS certificates. Our constructions serve to help defenders and developers identify potential attacks by illustrating how they might be built.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Public-Algorithm Substitution Attacks: Subverting Hashing and Verification” by Mihir Bellare, Doreen Riepel, Laura Shea, Cryptology ePrint Archive, Paper 2024/536, https://eprint.iacr.org/2024/536. 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-06T02:00:26Z",
    "updated": "2025-03-15T15:42:20Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/536.pdf",
    "sha256": "8e8a08706117c3b370b7ff2bb557bbca6a895866f2e45dc5bc517461200bf6ef",
    "size": 695809,
    "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/536/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/536.pdf",
      "size": 695809,
      "sha256": "8e8a08706117c3b370b7ff2bb557bbca6a895866f2e45dc5bc517461200bf6ef",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/536/versions/20240614T082034Z.pdf",
      "captured_at": "2024-06-14T08:20:34Z",
      "label": "copy captured 2024-06-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240614082034id_/https://eprint.iacr.org/2024/536.pdf",
      "size": 808626,
      "sha256": "92f1f95b3b5ce5e628ac8ae2127ad9f87ce91d87da4ea80aae753eda216f021e",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/536/versions/20240406T045739Z.pdf",
      "captured_at": "2024-04-06T04:57:39Z",
      "label": "copy captured 2024-04-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240406045739id_/https://eprint.iacr.org/2024/536.pdf",
      "size": 805065,
      "sha256": "f84e1af991fe22fb4d35e195f98214c0df360a1cb1e2ea041fc58064869f1b3f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/536.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 695809
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217173906id_/https://eprint.iacr.org/2024/536.pdf",
      "captured_at": "2026-02-17T17:39:06Z",
      "size": 686213
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/536,\n      author = {Mihir Bellare and Doreen Riepel and Laura Shea},\n      title = {Public-Algorithm Substitution Attacks: Subverting Hashing and Verification},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/536},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/536}\n}"
}
