{
  "id": "2016/273",
  "url": "https://opencryptology.org/2016/273",
  "original_url": "https://eprint.iacr.org/2016/273",
  "title": "On the weaknesses of PBKDF2",
  "authors": [
    "Andrea Visconti",
    "Simone Bossi",
    "Hany Ragab",
    "Alexandro Calò"
  ],
  "affiliations": null,
  "abstract": "Password-based key derivation functions are of particular interest in cryptography because they (a) input a password/passphrase (which usually is short and lacks enough entropy) and derive a cryptographic key; (b) slow down brute force and dictionary attacks as much as possible. In PKCS#5 [17], RSA Laboratories described a password based key derivation function called PBKDF2 that has been widely adopted in many security related applications [6, 7, 11]. In order to slow down brute force attacks, PBKDF2 introduce CPU-intensive operations based on an iterated pseudorandom function. Such a pseudorandom function is HMAC-SHA-1 by default. In this paper we show that, if HMAC-SHA-1 is computed in a standard mode without following the performance improvements described in the implementation note of RFC 2104 [13] and FIPS 198-1 [14], an attacker is able to avoid 50% of PBKDF2’s CPU intensive operations, by replacing them with precomputed values. We note that a number of well-known and widely-used crypto libraries are subject to this vulnerability.In addition to such a vulnerability, we describe some other minor optimizations that an attacker can exploit to reduce even more the key derivation time.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the weaknesses of PBKDF2” by Andrea Visconti, Simone Bossi, Hany Ragab, Alexandro Calò, Cryptology ePrint Archive, Paper 2016/273, https://eprint.iacr.org/2016/273. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-03-10T18:13:15Z",
    "updated": "2016-03-10T18:13:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/273.pdf",
    "sha256": "5e0bc8501c3674c427e6478bc6bac9364281f0ee643f3d1872f8de74f54fd612",
    "size": 835456,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/273/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/273.pdf",
      "size": 835456,
      "sha256": "5e0bc8501c3674c427e6478bc6bac9364281f0ee643f3d1872f8de74f54fd612",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260924034608id_/https://eprint.iacr.org/2016/273.pdf",
      "captured_at": "2026-09-24T03:46:08Z",
      "size": 721542
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/273.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 835456
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/273,\n      author = {Andrea Visconti and Simone Bossi and Hany Ragab and Alexandro Calò},\n      title = {On the weaknesses of PBKDF2},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/273},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/273}\n}"
}
