'Biased Nonce Sense': lattice attacks recover keys from real blockchain and SSH signatures
Joachim Breitner and Nadia Heninger (Financial Crypto 2019) ran lattice (hidden-number-problem) attacks over hundreds of millions of public ECDSA signatures. They recovered hundreds of Bitcoin private keys and dozens of Ethereum, Ripple, SSH and HTTPS keys whose nonces were short, shared bits with other values, or were otherwise biased.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
Lattice methods need only a few leaked or biased nonce bits per signature, far less than full nonce reuse. Many recovered Bitcoin keys had already been emptied, suggesting others had been running similar attacks. Again the cause is IMPLEMENTATION (bad nonce generation in certain wallets and devices), not secp256k1. Deterministic or properly random 256-bit nonces prevent it.
Sources
- paperBiased Nonce Sense: Lattice Attacks against Weak ECDSA Signatures in Cryptocurrencies (ePrint 2019/023)IACR ePrint, eprint.iacr.org
- paperFC 2019 pre-proceedings versionIFCA, fc19.ifca.ai