{
  "id": "2006/288",
  "url": "https://opencryptology.org/2006/288",
  "original_url": "https://eprint.iacr.org/2006/288",
  "title": "Predicting Secret Keys via Branch Prediction",
  "authors": [
    "Onur Aciicmez",
    "Jean-Pierre Seifert",
    "Cetin Kaya Koc"
  ],
  "affiliations": null,
  "abstract": "This paper presents a new software side-channel attack - enabled by the branch prediction capability common to all modern high-performance CPUs. The penalty payed (extra clock cycles) for a mispredicted branch can be used for cryptanalysis of cryptographic primitives that employ a data-dependent program flow. Analogous to the recently described cache-based side-channel attacks our attacks also allow an unprivileged process to attack other processes\nrunning in parallel on the same processor, despite sophisticated partitioning methods such as memory protection, sandboxing or even virtualization. We will discuss in detail several such attacks for the example of RSA, and experimentally show their applicability to real systems, such as OpenSSL and Linux. More specifically, we will present four different types of attacks, which are all derived from the basic idea underlying our novel side-channel attack. Moreover,\nwe also demonstrate the strength of the branch prediction side-channel attack by rendering the obvious countermeasure in this context (Montgomery Multiplication with dummy-reduction) as useless. Although the deeper consequences of the latter result make the task of writing an efficient and secure modular expeonentiation (or scalar multiplication on an elliptic curve) a challenging task, we will eventually suggest some countermeasures to mitigate branch prediction\nside-channel attacks.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Predicting Secret Keys via Branch Prediction” by Onur Aciicmez, Jean-Pierre Seifert, Cetin Kaya Koc, Cryptology ePrint Archive, Paper 2006/288, https://eprint.iacr.org/2006/288. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2006-08-24T07:46:38Z",
    "updated": "2006-08-25T16:04:27Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/288.pdf",
    "sha256": "9b299fc3f775caeb30b696aabea15bf8aa4ca46d4c7d916401aaafd676b4cfc3",
    "size": 476179,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2006/288/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/288.pdf",
      "size": 476179,
      "sha256": "9b299fc3f775caeb30b696aabea15bf8aa4ca46d4c7d916401aaafd676b4cfc3",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260906111522id_/https://eprint.iacr.org/2006/288.pdf",
      "captured_at": "2026-09-06T11:15:22Z",
      "size": 448300
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/288.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 476179
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/288,\n      author = {Onur Aciicmez and Jean-Pierre Seifert and Cetin Kaya Koc},\n      title = {Predicting Secret Keys via Branch Prediction},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/288},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/288}\n}"
}
