{
  "id": "2008/385",
  "url": "https://opencryptology.org/2008/385",
  "original_url": "https://eprint.iacr.org/2008/385",
  "title": "Cube Attacks on Tweakable Black Box Polynomials",
  "authors": [
    "Itai Dinur",
    "Adi Shamir"
  ],
  "affiliations": null,
  "abstract": "Almost any cryptographic scheme can be described by\n\\emph{tweakable polynomials} over $GF(2)$, which contain both\nsecret variables (e.g., key bits) and public variables (e.g.,\nplaintext bits or IV bits). The cryptanalyst is allowed to tweak\nthe polynomials by choosing arbitrary values for the public\nvariables, and his goal is to solve the resultant system of\npolynomial equations in terms of their common secret variables. In\nthis paper we develop a new technique (called a \\emph{cube\nattack}) for solving such tweakable polynomials, which is a major\nimprovement over several previously published attacks of the same\ntype. For example, on the stream cipher Trivium with a reduced\nnumber of initialization rounds, the best previous attack (due to\nFischer, Khazaei, and Meier) requires a barely practical\ncomplexity of $2^{55}$ to attack $672$ initialization rounds,\nwhereas a cube attack can find the complete key of the same\nvariant in $2^{19}$ bit operations (which take less than a second\non a single PC). Trivium with $735$ initialization rounds (which\ncould not be attacked by any previous technique) can now be broken\nwith $2^{30}$ bit operations. Trivium with $767$ initialization\nrounds can now be broken with $2^{45}$ bit operations, and the\ncomplexity of the attack can almost certainly be further reduced to about\n$2^{36}$ bit operations. Whereas previous attacks were heuristic,\nhad to be adapted to each cryptosystem, had no general complexity\nbounds, and were not expected to succeed on random looking\npolynomials, cube attacks are provably successful when applied to\nrandom polynomials of degree $d$ over $n$ secret variables\nwhenever the number $m$ of public variables exceeds $d+log_dn$.\nTheir complexity is $2^{d-1}n+n^2$ bit operations, which is\npolynomial in $n$ and amazingly low when $d$ is small. Cube\nattacks can be applied to any block cipher, stream cipher, or MAC\nwhich is provided as a black box (even when nothing is known about\nits internal structure) as long as at least one output bit can be\nrepresented by (an unknown) polynomial of relatively low degree in\nthe secret and public variables.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cube Attacks on Tweakable Black Box Polynomials” by Itai Dinur, Adi Shamir, Cryptology ePrint Archive, Paper 2008/385, https://eprint.iacr.org/2008/385. 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-09-14T16:03:27Z",
    "updated": "2009-01-26T17:44:53Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2008/385.pdf",
    "sha256": "4114911f74bf692db72492cc6fe6155917af17df1b99f6f513b2f563c8c175b2",
    "size": 252836,
    "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/385/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/385.pdf",
      "size": 252836,
      "sha256": "4114911f74bf692db72492cc6fe6155917af17df1b99f6f513b2f563c8c175b2",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2008/385/versions/20081230T092548Z.pdf",
      "captured_at": "2008-12-30T09:25:48Z",
      "label": "copy captured 2008-12-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20081230092548id_/http://eprint.iacr.org:80/2008/385.pdf",
      "size": 248817,
      "sha256": "6cb5ff35600fd3b26a27b3a68461901809c5ab2bfb8572b5159d108b30e12601",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408211006id_/https://eprint.iacr.org/2008/385.pdf",
      "captured_at": "2026-04-08T21:10:06Z",
      "size": 224222
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/385.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 252836
    }
  ],
  "bibtex": "@misc{cryptoeprint:2008/385,\n      author = {Itai Dinur and Adi Shamir},\n      title = {Cube Attacks on Tweakable Black Box Polynomials},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2008/385},\n      year = {2008},\n      url = {https://eprint.iacr.org/2008/385}\n}"
}
