Crypto

Researchers Forge RSA Signatures Inside Hardware Security Modules Without Extracting Private Keys

The attack required 4 billion signing requests and disabled FIPS mode, posing no immediate threat to Bitcoin, Ethereum, or modern padded RSA deployments.

A joint research team from UC San Diego and France’s Institute for Research in Computer Science (INRIA) successfully forged RSA digital signatures using a 1,024-bit key locked inside a hardware security module, proving that tamper-resistant cryptographic devices can be manipulated without ever exposing the private key they protect. The findings, detailed in a preprint submitted to the IACR Cryptology ePrint Archive on September 20, expose a theoretical vulnerability in how certain legacy signing operations handle raw mathematical inputs.

The demonstration required roughly 4 billion signing requests—equivalent to 2^32 operations—and consumed approximately 1,380 CPU core-years of computational power. While the resource demands render the attack impractical for most adversaries today, the methodology bypasses the foundational assumption behind institutional cryptography: that keeping a key sealed inside a certified physical device guarantees its safety.

Hardware security modules serve as the backbone of enterprise and institutional digital asset custody. Providers such as BitGo rely on these tamper-resistant boxes to ensure private keys are generated, stored, and used for signing transactions entirely within a secure boundary, never existing in plaintext outside the chassis. The UC San Diego and INRIA researchers demonstrated that this physical isolation is insufficient if the device is forced to act as an unrestricted mathematical oracle.

To execute the forgery, the team disabled the hardware security module’s FIPS mode—a federally certified security configuration designed to enforce strict operational standards. With FIPS protections turned off, the device was configured to sign unformatted numbers rather than properly structured data. Using a test key they controlled, the researchers fed the module billions of chosen integers. By analyzing the resulting outputs, they reverse-engineered the signing capability, effectively learning to replicate the device’s cryptographic stamp without ever factoring the underlying prime numbers or extracting the key itself.

This distinction matters because RSA security, invented in 1977 by Ron Rivest, Adi Shamir, and Leonard Adleman, relies on the extreme difficulty of factoring the product of two massive prime numbers. The researchers did not factor anything. Instead, they exploited a side-channel behavior created by unrestricted access to the signing function itself.

Cryptocurrency holders face no immediate risk from this specific research. Bitcoin secures its network using the elliptic curve digital signature algorithm (ECDSA) and Schnorr signatures over the secp256k1 curve. Ethereum and most major blockchain networks utilize similar elliptic-curve cryptography. These architectures do not use RSA, making them structurally immune to the techniques outlined in the paper.

Modern RSA deployments are also largely shielded from this specific vector. Standard RSA implementations apply cryptographic padding schemes, such as PKCS#1 v1.5 or Probabilistic Signature Scheme (PSS), before executing the core mathematics. This formatting step scrambles the input, preventing attackers from submitting the predictable, unformatted numbers required to build an exploitable oracle. The authors explicitly noted that padded signatures neutralize the technique, meaning standard web infrastructure and enterprise applications running current configurations remain unaffected.

However, systems intentionally designed to process blinded inputs represent a different threat landscape. RSA-based blind signatures allow a server to cryptographically sign a payload without viewing its contents. This mechanism underpins Privacy Pass, a protocol utilized by Cloudflare and Apple to let users prove they have passed human verification checks, such as CAPTCHAs, without revealing their identity or tracking history. Because blind signatures inherently require processing unformatted data, they theoretically provide the exact type of oracle the researchers leveraged. The concept traces back to cryptographer David Chaum, who pioneered blind signatures when founding DigiCash in 1989.

The preprint arrives amid heightened scrutiny of RSA’s long-term viability. Sensational claims regarding broken RSA frequently circulate but rarely withstand technical review. In January 2023, Chinese researchers published a paper suggesting a quantum method threatened RSA, but the demonstration only factored a 48-bit number, leading experts to dismiss it as practically irrelevant. The new UC San Diego and INRIA paper differs significantly because it successfully targets a full 1,024-bit key using classical computing, albeit under highly constrained laboratory conditions.

The researchers framed their work as classical evidence accelerating the need to abandon RSA entirely during the ongoing post-quantum transition. While quantum computers capable of running Shor’s algorithm to break elliptic-curve cryptography remain theoretical—Caltech researchers estimated in late March that 10,000 to 20,000 qubits would be required to threaten Bitcoin’s ECDSA—the classical vulnerabilities exposed in aging algorithms like RSA compound the urgency of migration.

Major technology firms are already operating against fixed deadlines for this transition. Google has mandated the completion of its internal migration to post-quantum cryptography by 2029.