{
  "id": "2023/1408",
  "url": "https://opencryptology.org/2023/1408",
  "original_url": "https://eprint.iacr.org/2023/1408",
  "title": "Correlation Cube Attack Revisited: Improved Cube Search and Superpoly Recovery Techniques",
  "authors": [
    "Jianhua Wang",
    "Lu Qin",
    "Baofeng Wu"
  ],
  "affiliations": null,
  "abstract": "In this paper, we improve the cube attack by exploiting low-degree factors of the superpoly w.r.t. certain \"special\"  index set of cube (ISoC). This can be viewed as a special case of the correlation cube attack proposed at Eurocrypt 2018, but under our framework  more beneficial equations on the key variables can be obtained in the  key-recovery phase. To mount our attack, one has two challenging  problems: (1) effectively recover algebraic normal form of the superpoly and extract out its low-degree factors; and (2) efficiently search a large quantity  of good ISoCs. We bring in new techniques to solve both of them.\n\nFirst, we propose the variable substitution technique for middle rounds of a cipher, in which  polynomials on the key variables in the algebraic expressions of internal states are substituted by new variables. This will improve computational complexity of the superpoly recovery and  promise more compact superpolys that can be easily decomposed with respect to the new variables. Second, we propose the vector numeric mapping technique, which seeks out a tradeoff between efficiency of the numeric mapping technique (Crypto 2019) and accuracy of the monomial prediction technique (Asiacrypt 2020) in degree evaluation of  superpolys. Combining with this technique,  a fast pruning method is given and modeled by MILP to filter good ISoCs of which the algebraic degree satisfies some fixed threshold. Thanks to  automated MILP solvers, it becomes practical to comprehensively search for good cubes across the entire search space.\n\nTo illustrate the power of our techniques, we apply all of them to Trivium stream cipher. As a result, we have recovered the superpolys of three cubes given by Kesarwani et al.  in 2020, only to find they do not have zero-sum property up to 842 rounds as claimed in their paper. To our  knowledge, the previous best practical key recovery attack was on 820-round Trivium with complexity $2^{53.17}$. We put forward 820-, 825- and 830-round practical key-recovery attacks, in which there are $\\mathbf{2^{80}\\times 87.8\\%}$, $\\mathbf{2^{80}\\times 83\\%}$ and $\\mathbf{2^{80}\\times 65.7\\%}$ keys that could be practically recovered, respectively, if we consider $\\mathbf{2^{60}}$ as the upper bound for practical computational complexity. Besides, even for computers with computational power not exceeding $\\mathbf{2^{52}}$ (resp. $\\mathbf{2^{55}}$), we can still recover $\\mathbf{58\\%}$ (resp. $\\mathbf{46.6\\%}$) of the keys in the key space for 820 rounds (resp. 830 rounds). Our attacks have led 10 rounds more than the previous best practical attack.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Correlation Cube Attack Revisited: Improved Cube Search and Superpoly Recovery Techniques” by Jianhua Wang, Lu Qin, Baofeng Wu, Cryptology ePrint Archive, Paper 2023/1408, https://eprint.iacr.org/2023/1408. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-09-19T09:09:48Z",
    "updated": "2023-09-19T09:09:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1408.pdf",
    "sha256": "326ca87f3e0d720f3fa4243252f012e5ffaa7065208e7aca0cd91b5ec117880e",
    "size": 739027,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1408/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1408.pdf",
      "size": 739027,
      "sha256": "326ca87f3e0d720f3fa4243252f012e5ffaa7065208e7aca0cd91b5ec117880e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260111055337id_/https://eprint.iacr.org/2023/1408.pdf",
      "captured_at": "2026-01-11T05:53:37Z",
      "size": 727835
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1408.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 739027
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1408,\n      author = {Jianhua Wang and Lu Qin and Baofeng Wu},\n      title = {Correlation Cube Attack Revisited: Improved Cube Search and Superpoly Recovery Techniques},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1408},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1408}\n}"
}
