{
  "id": "2023/950",
  "url": "https://opencryptology.org/2023/950",
  "original_url": "https://eprint.iacr.org/2023/950",
  "title": "A new approach based on quadratic forms to attack the McEliece cryptosystem",
  "authors": [
    "Alain Couvreur",
    "Rocco Mora",
    "Jean-Pierre Tillich"
  ],
  "affiliations": null,
  "abstract": "We introduce a novel algebraic approach for attacking the  McEliece cryptosystem which is currently at the $4$-th round of the  NIST competition.  The contributions of the article are twofold.\n  (1) We present a new distinguisher on alternant and Goppa codes  working in a much broader range of parameters than \\cite{FGOPT11}. \n (2) With this approach we also  provide a polynomial--time key recovery attack on  alternant codes which are distinguishable with the distinguisher  \\cite{FGOPT11}.  \n  \n  These results are obtained by introducing a subspace of matrices  representing quadratic forms. Those are associated with quadratic  relations for the component-wise product in the dual of the Goppa  (or alternant) code of the cryptosystem. It turns out that this subspace of matrices contains matrices of unusually small rank in the case of alternant or Goppa codes ($2$ or $3$ depending on the field characteristic) revealing the secret polynomial structure  of the code.\n MinRank solvers can then be used to recover the  secret key of the scheme. We devise a dedicated algebraic modeling in  characteristic $2$ where the Gröbner basis techniques to solve it can be analyzed.\nThis computation behaves differently  when applied to the matrix space associated with a  random code rather than with a Goppa or an alternant code. This  gives a distinguisher of the latter code families, which contrarily to the one proposed in \\cite{FGOPT11} working only in a tiny parameter regime is now able to work for code rates above $\\frac{2}{3}$. It applies to most of the instantiations of the McEliece cryptosystem in the literature. It coincides with the one of \\cite{FGOPT11}\nwhen the latter can be applied (and is therefore of polynomial complexity in this case). However, its complexity increases significantly when \\cite{FGOPT11} does not apply anymore, but stays subexponential as long as the co-dimension of the code is sublinear in the length (with an asymptotic exponent which is below those of all known key recovery or message attacks). For the concrete parameters of the McEliece NIST submission \\cite{ABCCGLMMMNPPPSSSTW20}, its complexity is way too complex to threaten the cryptosystem, but is smaller than known key recovery attacks for most of the parameters of the submission. This subspace of quadratic forms can also be used in a different manner  to give a polynomial time attack of the McEliece cryptosystem  based on generic alternant codes or Goppa codes provided that these codes are distinguishable by the method of  \\cite{FGOPT11}, and in the Goppa case we need the additional assumption that its degree is less than $q-1$, where $q$ is the  alphabet size of the code.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A new approach based on quadratic forms to attack the McEliece cryptosystem” by Alain Couvreur, Rocco Mora, Jean-Pierre Tillich, Cryptology ePrint Archive, Paper 2023/950, https://eprint.iacr.org/2023/950. 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-06-17T08:07:18Z",
    "updated": "2023-08-24T13:01:11Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/950.pdf",
    "sha256": "f78dffb6f4319568f918f26a2c54c1ccfbdfea31cfb07d6f601718e6af02826d",
    "size": 1043070,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/950/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/950.pdf",
      "size": 1043070,
      "sha256": "f78dffb6f4319568f918f26a2c54c1ccfbdfea31cfb07d6f601718e6af02826d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/950/versions/20230624T144434Z.pdf",
      "captured_at": "2023-06-24T14:44:34Z",
      "label": "copy captured 2023-06-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230624144434id_/https://eprint.iacr.org/2023/950.pdf",
      "size": 885854,
      "sha256": "630114c67c29948cfbb8e62067a0a0361df878d920a7287e41e54d9ea11bf583",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251216160626id_/https://eprint.iacr.org/2023/950.pdf",
      "captured_at": "2025-12-16T16:06:26Z",
      "size": 1043397
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/950.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1043070
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/950,\n      author = {Alain Couvreur and Rocco Mora and Jean-Pierre Tillich},\n      title = {A new approach based on quadratic forms to attack the McEliece cryptosystem},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/950},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/950}\n}"
}
