{
  "id": "2008/017",
  "url": "https://opencryptology.org/2008/017",
  "original_url": "https://eprint.iacr.org/2008/017",
  "title": "New State Recovery Attack on RC4",
  "authors": [
    "Alexander Maximov",
    "Dmitry Khovratovich"
  ],
  "affiliations": null,
  "abstract": "The stream cipher RC4 was designed by R.~Rivest\nin 1987, and it has a very simple and elegant structure. It is\nprobably the most deployed cipher on the Earth.\n\n~~~~In this paper we analyse the class RC4-$N$ of RC4-like stream ciphers,\nwhere $N$ is the modulus of operations, as well as the length of internal\narrays. Our new attack is a state recovery attack which accepts\nthe keystream of a certain length, and recovers the internal state.\nFor the original RC4-256, our attack has total complexity of\naround $2^{241}$ operations,\nwhereas the best previous attack needs $2^{779}$ of time.\nMoreover, we show that if the secret key is of length $N$ bits or longer,\nthe new attack works faster than an exhaustive search. The algorithm of\nthe attack was implemented and verified on small cases.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“New State Recovery Attack on RC4” by Alexander Maximov, Dmitry Khovratovich, Cryptology ePrint Archive, Paper 2008/017, https://eprint.iacr.org/2008/017. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2008-01-14T11:27:30Z",
    "updated": "2008-02-20T17:24:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2008/017.pdf",
    "sha256": "ed781e536c200e53ebcf8d7ba2b8a2cf13539047a509c38053092abd6d902a1f",
    "size": 434496,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2008/017/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/017.pdf",
      "size": 434496,
      "sha256": "ed781e536c200e53ebcf8d7ba2b8a2cf13539047a509c38053092abd6d902a1f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260513074656id_/https://eprint.iacr.org/2008/017.pdf",
      "captured_at": "2026-05-13T07:46:56Z",
      "size": 303188
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/017.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 434496
    }
  ],
  "bibtex": "@misc{cryptoeprint:2008/017,\n      author = {Alexander Maximov and Dmitry Khovratovich},\n      title = {New State Recovery Attack on RC4},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2008/017},\n      year = {2008},\n      url = {https://eprint.iacr.org/2008/017}\n}"
}
