{
  "id": "2014/441",
  "url": "https://opencryptology.org/2014/441",
  "original_url": "https://eprint.iacr.org/2014/441",
  "title": "Improved Generic Attacks Against Hash-based MACs and HAIFA",
  "authors": [
    "Itai Dinur",
    "Gaëtan Leurent"
  ],
  "affiliations": null,
  "abstract": "The security of HMAC (and more general hash-based MACs) against state-recovery and universal forgery attacks was very recently shown to be suboptimal, following a series of surprising results by Leurent \\emph{et al.} and Peyrin \\emph{et al.}. These results have shown that such powerful attacks require much less than $2^{\\ell}$ computations, contradicting the common belief (where $\\ell$ denotes the internal state size). In this work, we revisit and extend these results, with a focus on properties of concrete hash functions such as a limited message length, and special iteration modes.\n\nWe begin by devising the first state-recovery attack on\nHMAC with a HAIFA hash function (using a block counter in\nevery compression function call), with complexity $2^{4\\ell/5}$.\nThen, we describe improved trade-offs between the message length and\nthe complexity of a state-recovery attack on HMAC. Consequently, we obtain improved attacks on several HMAC constructions used in practice, in which the hash functions limit the maximal message length (e.g., SHA-1 and SHA-2).\nFinally, we present the first universal forgery attacks, which can be applied with short message queries to the MAC oracle. In particular, we devise the first\nuniversal forgery attacks applicable to SHA-1 and SHA-2.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improved Generic Attacks Against Hash-based MACs and HAIFA” by Itai Dinur, Gaëtan Leurent, Cryptology ePrint Archive, Paper 2014/441, https://eprint.iacr.org/2014/441. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-06-13T03:32:04Z",
    "updated": "2014-06-14T18:02:04Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/441.pdf",
    "sha256": "efa0b580931772c4dc4025c8525d127384ee9d91d8b4c03cfdec456e25395f24",
    "size": 560065,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/441/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/441.pdf",
      "size": 560065,
      "sha256": "efa0b580931772c4dc4025c8525d127384ee9d91d8b4c03cfdec456e25395f24",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240415212024id_/https://eprint.iacr.org/2014/441.pdf",
      "captured_at": "2024-04-15T21:20:24Z",
      "size": 481401
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/441.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 560065
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/441,\n      author = {Itai Dinur and Gaëtan Leurent},\n      title = {Improved Generic Attacks Against Hash-based MACs and HAIFA},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/441},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/441}\n}"
}
