{
  "id": "2018/747",
  "url": "https://opencryptology.org/2018/747",
  "original_url": "https://eprint.iacr.org/2018/747",
  "title": "Pseudo Constant Time Implementations of TLS Are Only Pseudo Secure",
  "authors": [
    "Eyal Ronen",
    "Kenneth G. Paterson",
    "Adi Shamir"
  ],
  "affiliations": null,
  "abstract": "Today, about 10% of TLS connections are still using CBC-mode cipher suites, despite a long history of attacks and the availability of better options (e.g. AES-GCM). In this work, we present three new types of attack against four popular fully patched   implementations\nof TLS (Amazon's s2n, GnuTLS, mbed TLS and wolfSSL) which elected to use ``pseudo constant time'' countermeasures against the Lucky 13 attack on CBC-mode. Our attacks combine several variants of the PRIME+PROBE cache timing technique with a new extension of the original Lucky 13 attack. They apply in a cross-VM attack setting and are capable of recovering most of the plaintext whilst requiring only a moderate number of TLS connections. Along the way, we uncovered additional serious (but easy to patch) bugs in all four of the TLS implementations that we studied; in three cases, these bugs lead to Lucky 13 style attacks that can be mounted remotely with no access to a shared cache. Our work shows that adopting pseudo constant time countermeasures is not sufficient to attain real security in TLS implementations in CBC mode.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Pseudo Constant Time Implementations of TLS Are Only Pseudo Secure” by Eyal Ronen, Kenneth G. Paterson, Adi Shamir, Cryptology ePrint Archive, Paper 2018/747, https://eprint.iacr.org/2018/747. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-08-17T11:29:37Z",
    "updated": "2018-08-17T11:29:37Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/747.pdf",
    "sha256": "9cb997149115795ece56ff31cbb6b22d19b9b27b70dcfd08d2a4c0be0dfc98c9",
    "size": 487647,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/747/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/747.pdf",
      "size": 487647,
      "sha256": "9cb997149115795ece56ff31cbb6b22d19b9b27b70dcfd08d2a4c0be0dfc98c9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260226063654id_/https://eprint.iacr.org/2018/747.pdf",
      "captured_at": "2026-02-26T06:36:54Z",
      "size": 407711
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/747.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 487647
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/747,\n      author = {Eyal Ronen and Kenneth G. Paterson and Adi Shamir},\n      title = {Pseudo Constant Time Implementations of TLS Are Only Pseudo Secure},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/747},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/747}\n}"
}
