{
  "id": "2020/1452",
  "url": "https://opencryptology.org/2020/1452",
  "original_url": "https://eprint.iacr.org/2020/1452",
  "title": "ASAP: Algorithm Substitution Attacks on Cryptographic Protocols",
  "authors": [
    "Sebastian Berndt",
    "Jan Wichelmann",
    "Claudius Pott",
    "Tim-Henrik Traving",
    "Thomas Eisenbarth"
  ],
  "affiliations": null,
  "abstract": "The security of digital communication relies on few cryptographic protocols that are used to protect internet traffic, from web sessions to instant messaging. These protocols and the cryptographic primitives they rely on have been extensively studied and are considered secure. Yet, sophisticated attackers are often able to bypass rather than break security mechanisms.\nKleptography or algorithm substitution attacks (ASA) describe techniques to place backdoors right into cryptographic primitives. While highly relevant as a building block, we show that the real danger of ASAs is their use in cryptographic protocols. In fact, we show that  highly desirable security properties of these protocols - forward secrecy and post-compromise security - imply the applicability of ASAs. We then analyze the application of ASAs in three widely used protocols: TLS, WireGuard, and Signal.\nWe show that these protocols can be easily subverted by carefully placing ASAs. Our analysis shows that careful design of ASAs makes detection unlikely while leaking long-term secrets within a few messages in the case of TLS and WireGuard, allowing impersonation attacks. In contrast,Signal's double-ratchet protocol shows higher immunity to ASAs, as the leakage requires much more messages.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“ASAP: Algorithm Substitution Attacks on Cryptographic Protocols” by Sebastian Berndt, Jan Wichelmann, Claudius Pott, Tim-Henrik Traving, Thomas Eisenbarth, Cryptology ePrint Archive, Paper 2020/1452, https://eprint.iacr.org/2020/1452. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-11-19T09:43:04Z",
    "updated": "2022-02-15T21:45:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1452.pdf",
    "sha256": "b6bb5b5293c9d3a04aff2bfbfdfee904cb431e0814bf60d34a2acd99a2b9167f",
    "size": 879940,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1452/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1452.pdf",
      "size": 879940,
      "sha256": "b6bb5b5293c9d3a04aff2bfbfdfee904cb431e0814bf60d34a2acd99a2b9167f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/1452/versions/20210824T181618Z.pdf",
      "captured_at": "2021-08-24T18:16:18Z",
      "label": "copy captured 2021-08-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210824181618id_/https://eprint.iacr.org/2020/1452.pdf",
      "size": 494147,
      "sha256": "11f87bd923b43a84f1628336c5c4e512bff9fee55131020b1500abca1562e445",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2020/1452/versions/20201129T133727Z.pdf",
      "captured_at": "2020-11-29T13:37:27Z",
      "label": "copy captured 2020-11-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20201129133727id_/https://eprint.iacr.org/2020/1452.pdf",
      "size": 537288,
      "sha256": "9659da3e05b035506c167f212e7bd5460002068141446223a674ddcf28c7f5e3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251011102612id_/https://eprint.iacr.org/2020/1452.pdf",
      "captured_at": "2025-10-11T10:26:12Z",
      "size": 859346
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1452.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 879940
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1452,\n      author = {Sebastian Berndt and Jan Wichelmann and Claudius Pott and Tim-Henrik Traving and Thomas Eisenbarth},\n      title = {ASAP: Algorithm Substitution Attacks on Cryptographic Protocols},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1452},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1452}\n}"
}
