{
  "id": "2019/715",
  "url": "https://opencryptology.org/2019/715",
  "original_url": "https://eprint.iacr.org/2019/715",
  "title": "On the Security of Lattice-based Fiat-Shamir Signatures in the Presence of Randomness Leakage",
  "authors": [
    "Yuejun Liu",
    "Yongbin Zhou",
    "Shuo Sun",
    "Tianyu Wang",
    "Rui Zhang",
    "Jingdian Ming"
  ],
  "affiliations": null,
  "abstract": "Leakages during the signing process, including partial key exposure and partial (or complete) randomness exposure, may be devastating for the security of digital signatures. In this work, we investigate the security of lattice-based Fiat-Shamir signatures in the presence of randomness leakage. To this end, we present a generic key recovery attack that relies on minimum leakage of randomness, and then theoretically connect it to a variant of Integer-LWE (ILWE) problem. The ILWE problem, introduced by Bootle et al. at Asiacrypt 2018, is to recover the secret vector ${\\bf s}$ given polynomially many samples of the form $({\\bf a}, \\langle {\\bf a}, {\\bf s} \\rangle + e) {\\color{black}\\in \\mathbb{Z}^{n+1}}$, and it is solvable if the error $e {\\color{black}\\in \\mathbb{Z}}$ is not superpolynomially larger than the inner product $\\langle {\\bf a}, {\\bf s} \\rangle$. However, in our variant (we call the variant FS-ILWE problem in this paper), ${\\bf a}{\\color{black}\\in \\mathbb{Z}^{n}}$ is a sparse vector whose coefficients are NOT independent any more, and $e$ is related to ${\\bf a}$ and ${\\bf s}$ as well. We prove that the FS-ILWE problem can be solved in polynomial time, and present an efficient algorithm to solve it.\n\nOur generic key recovery method directly implies that many lattice-based Fiat-Shamir signatures will be totally broken with one (deterministic or probabilistic) bit of randomness leakage per signature. Our attack has been validated by experiments on two NIST PQC signatures Dilithium and qTESLA. For example, as to Dilithium-III of $125$-bit quantum security, the secret key will be recovered within $10$ seconds over an ordinary PC desktop, with about one million signatures. Similarly, key recovery attacks on Dilithium under other parameters and qTESLA will be completed within $20$ seconds and $31$ minutes respectively.\n\nIn addition, we also present a non-profiled attack to show how to obtain the required randomness bit in practice through power analysis attacks on a proof-of-concept implementation of polynomial addition. The experimental results confirm the practical feasibility of our method.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Security of Lattice-based Fiat-Shamir Signatures in the Presence of Randomness Leakage” by Yuejun Liu, Yongbin Zhou, Shuo Sun, Tianyu Wang, Rui Zhang, Jingdian Ming, Cryptology ePrint Archive, Paper 2019/715, https://eprint.iacr.org/2019/715. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-06-18T10:46:34Z",
    "updated": "2020-09-12T06:25:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/715.pdf",
    "sha256": "1edf20e1b25b4116c73620647bfd310191ebaaf326691d1b2b89125b8703857e",
    "size": 1454434,
    "source": "wayback",
    "source_date": "2022-01-20T23:54:49Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/715/versions/20220120T235449Z.pdf",
      "captured_at": "2022-01-20T23:54:49Z",
      "label": "copy captured 2022-01-20",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220120235449id_/https://eprint.iacr.org/2019/715.pdf",
      "size": 1454434,
      "sha256": "1edf20e1b25b4116c73620647bfd310191ebaaf326691d1b2b89125b8703857e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2019/715/versions/20190709T194917Z.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "label": "copy captured 2019-07-09",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/715.pdf",
      "size": 1278782,
      "sha256": "18b1201329a9ab91427f3adc50c009c8cd6140a1a35c102a2cce4bf3b0c63a9d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240413103546id_/https://eprint.iacr.org/2019/715.pdf",
      "captured_at": "2024-04-13T10:35:46Z",
      "size": 559129
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/715.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 1278782
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/715,\n      author = {Yuejun Liu and Yongbin Zhou and Shuo Sun and Tianyu Wang and Rui Zhang and Jingdian Ming},\n      title = {On the Security of Lattice-based Fiat-Shamir Signatures in the Presence of Randomness Leakage},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/715},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/715}\n}"
}
