Biased Nonce Sense: Lattice Attacks against Weak ECDSA Signatures in Cryptocurrencies
Recovers hundreds of Bitcoin and dozens of Ethereum, Ripple, SSH, and HTTPS ECDSA private keys by applying lattice attacks (hidden number problem) to signatures with biased nonces.
Schemes: ECDSA
Findings (quotes checked against the source text)
-
Biased ECDSA nonces leak the long-term signing key, and a lattice algorithm for the hidden number problem recovers it from public blockchain signatures.
If this nonce is not generated uniformly at random, an attacker can potentially exploit this bias to compute the long-term signing key.
-
Hundreds of Bitcoin private keys were computed from weak signatures found in public blockchains.
In this paper, we compute hundreds of Bitcoin private keys and dozens of Ethereum, Ripple, SSH, and HTTPS private keys by carrying out cryptanalytic attacks against digital signatures contained in public blockchains and Internet-wide scans.
-
The attacks succeeded because of multiple apparent implementation vulnerabilities that produced biased nonces.
We use a lattice-based algorithm for solving the hidden number problem to efficiently compute private ECDSA keys that were used with biased signature nonces due to multiple apparent implementation vulnerabilities.
For builders
Use deterministic or verified-uniform nonce generation for any signature scheme on-chain, and audit nonce sources, since bias alone can expose keys even when the signature math is sound; this matters for migration tooling more than PQ schemes themselves.
Limits
Abstract only; full text was not read. Attacks target ECDSA, not post-quantum schemes, so relevance to PQ design is indirect.
Topics: cryptanalysis implementation-sidechannel wallets-keys threat-model