Factoring RSA Keys with Many Zeros
Researchers found a new class of weak RSA keys with many zeros, which can be factored easily. These keys are found in the wild, including in certificates issued to large organizations.
Intelligence analysis by Llama 3.3 70B
A new vulnerability in RSA keys with many zeros has been discovered, affecting a small minority of hosts on the internet. The vulnerability is due to independent cryptographic implementations failing in similar ways.
Imagine you have a special lock that keeps your online communications safe. This lock is like a secret code that only you and the person you're talking to can understand. But what if someone found a way to make this lock weaker, so that they could easily break in and read your messages? That's kind of what's happening with these weak RSA keys.
Analysis
Introduction to RSA Key Vulnerabilities
The discovery of weak RSA keys with many zeros is a significant finding in the field of cryptography. RSA keys are widely used to secure online communications, and any vulnerability in these keys could have serious consequences. The researchers found that these weak keys are not only theoretical, but are actually found in the wild, including in certificates issued to large organizations such as Yahoo and Verizon.
The Badkeys Project and Its Findings
The badkeys project is an open-source service that checks public keys for known vulnerabilities. The project collected a massive number of real-world keys from public sources, including Certificate Transparency logs, internet-wide TLS and SSH scans, PGP keys, and many others. By searching this dataset for unexpectedly sparse RSA moduli, the researchers uncovered a large number of keys with the patterns in Figure 1. Both patterns include several regularly spaced blocks of all zeros interleaved with seemingly random data.
Implications of the Discovery
The discovery of these weak RSA keys has significant implications for the security of online communications. The fact that these keys are found in the wild and are used by large organizations highlights the potential for deliberate backdoors in cryptographic implementations. This could be a deliberately designed backdoor, of the sort that has been written about in the past. The researchers speculate that some government agency may have figured out how to break this class of RSA keys and then convinced different providers to hand them out to users. This highlights the need for careful scrutiny of cryptographic implementations and the importance of using secure and trusted sources for cryptographic keys.
Key points
- A new class of weak RSA keys with many zeros has been discovered
- These keys are found in the wild, including in certificates issued to large organizations
- The vulnerability is due to independent cryptographic implementations failing in similar ways
The discovery of these weak RSA keys highlights the importance of careful scrutiny of cryptographic implementations. By identifying and addressing these vulnerabilities, we can improve the security of online communications and prevent potential backdoors. This is a positive step towards a more secure online environment.
The fact that these weak RSA keys are found in the wild and are used by large organizations highlights the potential for deliberate backdoors in cryptographic implementations. This could compromise the security of online communications and have serious consequences. It's possible that more implementations may include the same bugs, which could lead to further vulnerabilities.



