{
  "id": "2023/1711",
  "url": "https://opencryptology.org/2023/1711",
  "original_url": "https://eprint.iacr.org/2023/1711",
  "title": "Passive SSH Key Compromise via Lattices",
  "authors": [
    "Keegan Ryan",
    "Kaiwen He",
    "George Arnold Sullivan",
    "Nadia Heninger"
  ],
  "affiliations": null,
  "abstract": "We demonstrate that a passive network attacker can opportunistically obtain private RSA host keys from an SSH server that experiences a naturally arising fault during signature computation. In prior work, this was not believed to be possible for the SSH protocol because the signature included information like the shared Diffie-Hellman secret that would not be available to a passive network observer. We show that for the signature parameters commonly in use for SSH, there is an efficient lattice attack to recover the private key in case of a signature fault. We provide a security analysis of the SSH, IKEv1, and IKEv2 protocols in this scenario, and use our attack to discover hundreds of compromised keys in the wild from several independently vulnerable implementations.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Passive SSH Key Compromise via Lattices” by Keegan Ryan, Kaiwen He, George Arnold Sullivan, Nadia Heninger, Cryptology ePrint Archive, Paper 2023/1711, https://eprint.iacr.org/2023/1711. 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-11-05T00:43:41Z",
    "updated": "2023-11-05T00:43:41Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1711.pdf",
    "sha256": "481aab67e2963f899f4d0981c2be3f03e3ff14965119cb78e929b36c27b58597",
    "size": 689686,
    "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/1711/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/1711.pdf",
      "size": 689686,
      "sha256": "481aab67e2963f899f4d0981c2be3f03e3ff14965119cb78e929b36c27b58597",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260921024454id_/https://eprint.iacr.org/2023/1711.pdf",
      "captured_at": "2026-09-21T02:44:54Z",
      "size": 672326
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1711.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 689686
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1711,\n      author = {Keegan Ryan and Kaiwen He and George Arnold Sullivan and Nadia Heninger},\n      title = {Passive SSH Key Compromise via Lattices},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1711},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1711}\n}"
}
