{
  "id": "2017/653",
  "url": "https://opencryptology.org/2017/653",
  "original_url": "https://eprint.iacr.org/2017/653",
  "title": "Universal Forgery with Birthday Paradox: Application to Blockcipher-based Message Authentication Codes and Authenticated Encryptions",
  "authors": [
    "Fanbao Liu",
    "Fengmei Liu"
  ],
  "affiliations": null,
  "abstract": "An universal forgery attack means that for any given message $M$, an adversary without the key can forge the corresponding Message Authentication Code (MAC) tag $\\tau$, and the pair $(M,\\tau)$ can be verified with probability 1. For a idea MAC, the universal forgery attack should be infeasible to be implemented, whose complexity is believed to be min{$(2^n, 2^k)$} queries in the classic setting, where $n$ is the tag length and $k$ is the key length of the MAC, respectively.\n\nIn this paper, we launch a general universal forgery attack to some blockcipher-based MACs and authenticated encryptions (AEs) using birthday attack, whose complexity is about $O(2^{n/2})$ queries in the classic setting. The attack shows that such MACs and AEs are totally insecure. However, this attack is not applicable in the quantum model, since no inclusion of period in the input messages is guaranteed.\n\nWe also propose other generic universal forgery attacks using collision finding with structural input messages with complexity of $O(2^{n/2})$, by birthday paradox in the classic setting. Since our attacks are based on the collision finding with fixed but unknown differences (or period), such attacks can also be implemented with only $O(n)$ queries using \\textit{Simon's} algorithm in the quantum model, which shows that such MACs and AEs are completely broken in the quantum model.\n\nOur attacks can be applied to CBC-MAC, XCBC, EMAC, OMAC, CMAC, PC-MAC, MT-MAC, PMAC, PMAC with parity, LightMAC and some of their variants. Moreover, such attacks are also applicable to the authenticated encryptions of the third round of the  CAESAR candidates: CLOC, SILC, AEZ, COLM (including COPA and ELmD) and Deoxys.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Universal Forgery with Birthday Paradox: Application to Blockcipher-based Message Authentication Codes and Authenticated Encryptions” by Fanbao Liu, Fengmei Liu, Cryptology ePrint Archive, Paper 2017/653, https://eprint.iacr.org/2017/653. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-07-05T21:43:14Z",
    "updated": "2017-08-03T06:12:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/653.pdf",
    "sha256": "4d34b30bfadae643cfee45ff99d0a0b38f442b2eb11f4668fa16d0ac03015c2a",
    "size": 1216575,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/653/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/653.pdf",
      "size": 1216575,
      "sha256": "4d34b30bfadae643cfee45ff99d0a0b38f442b2eb11f4668fa16d0ac03015c2a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2017/653/versions/20170709T191945Z.pdf",
      "captured_at": "2017-07-09T19:19:45Z",
      "label": "copy captured 2017-07-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170709191945id_/http://eprint.iacr.org/2017/653.pdf",
      "size": 1327308,
      "sha256": "cab92db5c0677746965c69aeea42096d256481c3b48293a16b7b5406a001e321",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260224224838id_/https://eprint.iacr.org/2017/653.pdf",
      "captured_at": "2026-02-24T22:48:38Z",
      "size": 939633
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/653.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 1216575
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/653,\n      author = {Fanbao Liu and Fengmei Liu},\n      title = {Universal Forgery with Birthday Paradox: Application to Blockcipher-based Message Authentication Codes and Authenticated Encryptions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/653},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/653}\n}"
}
