{
  "id": "2006/086",
  "url": "https://opencryptology.org/2006/086",
  "original_url": "https://eprint.iacr.org/2006/086",
  "title": "Analysis of the Linux Random Number Generator",
  "authors": [
    "Zvi Gutterman",
    "Benny Pinkas",
    "Tzachy Reinman"
  ],
  "affiliations": null,
  "abstract": "Linux is the most popular open source project. The\nLinux random number generator is part of the kernel of\nall Linux distributions and is based on generating randomness from entropy of operating\nsystem events. The output of this generator is used for almost every\nsecurity protocol, including TLS/SSL key generation, choosing TCP sequence numbers,\nand file system and email encryption. Although the\ngenerator is part of an open source project, its source code (about $2500$ lines of code) is poorly documented, and patched with hundreds of code patches.\n\nWe used dynamic and static reverse engineering to learn the operation of this generator. This paper presents\na description of the underlying algorithms and exposes several security vulnerabilities. In particular, we show an attack on the forward security of the generator which enables an adversary who exposes the state of the generator\nto compute previous  states and outputs. In addition we present a few cryptographic\nflaws in the design of the generator, as well as measurements of\nthe actual entropy collected by it, and a critical analysis of the use of the generator in Linux distributions on disk-less devices.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Analysis of the Linux Random Number Generator” by Zvi Gutterman, Benny Pinkas, Tzachy Reinman, Cryptology ePrint Archive, Paper 2006/086, https://eprint.iacr.org/2006/086. 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-03-07T10:58:43Z",
    "updated": "2006-03-07T10:58:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2006/086.pdf",
    "sha256": "f9b3b657568e755b873e75208adb4ec0d0ce5ea25bec6664dcccf58e753f3f48",
    "size": 295337,
    "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/086/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/086.pdf",
      "size": 295337,
      "sha256": "f9b3b657568e755b873e75208adb4ec0d0ce5ea25bec6664dcccf58e753f3f48",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260820133333id_/https://eprint.iacr.org/2006/086.pdf",
      "captured_at": "2026-08-20T13:33:33Z",
      "size": 273901
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2006/086.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 295337
    }
  ],
  "bibtex": "@misc{cryptoeprint:2006/086,\n      author = {Zvi Gutterman and Benny Pinkas and Tzachy Reinman},\n      title = {Analysis of the Linux Random Number Generator},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2006/086},\n      year = {2006},\n      url = {https://eprint.iacr.org/2006/086}\n}"
}
