Forging 1024-bit RSA signatures in nearly SNFS time
Implements the 2007 Joux-Naccache-Thomé attack to forge 1024-bit RSA signatures using a raw signing oracle (an HSM), in near-SNFS time, without factoring the key.
Schemes: RSA, GNFS, SNFS, Joux-Naccache-Thome forgery attack, blind RSA
Findings (quotes checked against the source text)
-
A 2007 attack lets an attacker forge RSA signatures after temporary raw signing oracle access, in time close to SNFS, without factoring the key.
An under-appreciated 2007 algorithm of Joux, Naccache, and Thomé allows an attacker to forge RSA signatures after temporary access to a raw RSA signing/decryption oracle in time close to the special number field sieve (SNFS) without factoring the key.
-
The authors implemented the attack on 1024-bit RSA using an HSM as the signing oracle, impersonating the HSM via black-box API calls without exfiltrating the key.
We carried out our attack using a hardware security module (HSM) as the signing oracle, thus demonstrating the ability to impersonate the HSM through black-box API interactions, without exfiltrating the key.
-
Most cost is precomputation; after it, any signature can be forged offline in 180 core-years.
Most of this time is precomputation; after the precomputation the attacker can forge any signature of choice, offline, in 180 core-years.
-
Extrapolation suggests RSA with a signing oracle is 15 to 30 bits weaker than factoring-based estimates, and 4096-bit RSA may not reach 128-bit security in this model.
we conclude that the concrete security of RSA with a signing oracle should be 15 to 30 bits lower than the factoring-based security estimates for the 1024-bit to 4096-bit RSA parameters that are common in practice.
Numbers (as extracted, not quote-checked)
- Total attack cost for 1024-bit RSA: 1380 CPU core-years over five calendar months
- Oracle queries made: 2^32
- Offline forgery cost after precomputation: 180 core-years
- Security loss vs factoring estimates (extrapolated): 15 to 30 bits
For builders
Do not rely on RSA for PQ-transition chains, and treat any RSA signing oracle (HSM, blind signing service) as a forgery risk, not just a key-exposure risk.
Limits
Abstract-only text was used; full paper not read. Extrapolation to larger keys is empirical guesswork; the attack needs temporary raw signing oracle access, and it targets RSA, not PQ schemes.
Topics: cryptanalysis standards-policy wallets-keys threat-model hybrid-schemes