The 2008 Attack That Forged a Certificate Authority
In December 2008, researchers combined an engineered MD5 hash collision with RapidSSL's predictable, sequential serial numbers to forge a rogue intermediate CA certificate trusted by every major browser. MD5 alone was not enough - the attack also needed to predict the exact bytes of the certificate RapidSSL was about to sign, which predictable serial numbers handed them. That is the direct reason industry rules now require at least 64 bits of real randomness in every certificate serial number. MD5 has been banned from certificate signing for years, but the predictability half of the 2008 attack resurfaced in a different form in November 2026, when SECOM, BJCA, SSL.com, TunTrust, D-Trust and others disclosed serial number generators that were not actually random.
Imagine a notary who stamps documents in a completely predictable pattern - the same ink, the same angle, and because their office runs on a fixed schedule, you can work out in advance exactly which document number they'll stamp next Tuesday at 9am. Now imagine you could also predict, byte for byte, what that document will physically look like once reduced to the small fingerprint the notary's own checking process uses to tell documents apart. You write a completely different document - one that says you're now allowed to notarize anything yourself - and arrange for it to produce the exact same fingerprint. The notary stamps the real document on schedule, never having seen yours. The stamp is valid on both.
That, more or less, is the 2008 rogue CA attack.
Quick summary
- What: Researchers exploited a weakness in the MD5 hash function, combined with a certificate authority's predictable serial numbers and issuance timing, to forge a certificate that let them impersonate any website on the internet in every major browser. Disclosed: December 30, 2008, at the 25th Chaos Communication Congress. Researchers: Alexander Sotirov, Marc Stevens, Jacob Appelbaum, Arjen Lenstra, David Molnar, Dag Arne Osvik, and Benne de Weger. Target CA: RapidSSL, then owned by VeriSign. CA's response: Dropped MD5 for signing; did not revoke existing MD5-signed certificates, a response the researchers considered adequate at the time. Severity at the time: Critical - a working, universally-trusted rogue intermediate CA certificate, demonstrated in public. Status in 2026: MD5 has been banned for certificate signing for well over a decade. The predictability half of the attack - the part this post is actually about - resurfaced in a different form in 2026, at several real CAs.
What it is in plain English
MD5 is a hash function: it takes any input and compresses it down to a short, fixed-length fingerprint. A certificate authority's signature doesn't actually cover your whole certificate - it covers the fingerprint. If two completely different certificates happen to produce the exact same MD5 fingerprint, a signature over one is, mathematically, also a valid signature over the other. That's a collision, and by 2008, researchers could construct one deliberately.
Finding two arbitrary documents that collide is one problem. Making one of them a certificate that a real CA will actually sign, on command, is a different and much harder problem - and that's where predictability came in.
How the attack worked
- RapidSSL issued certificates through a fully automated pipeline with sequential serial numbers, so the researchers could predict, in advance, almost everything about the next certificate RapidSSL would sign: the serial number, the issuance timestamp, the validity period. The one thing they couldn't predict, they controlled directly - they bought the certificate themselves, for $45, specifying everything else about it. With the future certificate's exact bytes known ahead of time, they spent roughly two days on a cluster of 200 PlayStation 3s (about $20,000 of equivalent cloud compute) constructing a second document - a rogue intermediate CA certificate, with the authority to issue certificates for any domain - engineered to produce the identical MD5 fingerprint as the real one RapidSSL was about to sign. When RapidSSL signed the ordinary certificate the researchers had ordered, that signature was mathematically also a valid signature on the rogue CA certificate sitting unseen on their own machine. RapidSSL never saw it, never signed it on purpose, and had no way to know it existed.
The result: a certificate authority certificate, trusted by every major browser of the time, that the researchers controlled completely - capable of minting a trusted certificate for any domain on the internet.
What the impact was, and why it stayed responsible
The researchers deliberately limited the damage of their own demonstration. They backdated the rogue CA certificate to August 2004, so it would look old rather than freshly minted, and - critically - they never published or used the private key, and they built the certificate with a validity window that had already passed, so it couldn't be used for a live attack even by someone who obtained it. They disclosed responsibly, gave CAs time to react, and published the technique only after RapidSSL had moved off MD5. The same general technique - a hash collision engineered into a certificate - resurfaced years later in the Flame malware, this time used maliciously rather than disclosed responsibly.
Why predictable serial numbers specifically mattered
MD5's weakness got the headlines, but MD5 alone was not enough. Constructing a colliding pair requires knowing, in advance, the exact bytes of the document the real signer is about to sign. A certificate's serial number and issuance timing are exactly those bytes. If a CA's serial numbers are sequential, or otherwise guessable, an attacker can predict the next one before it's issued - which is precisely the gap this attack walked through. If RapidSSL's serial numbers had been unpredictable, the researchers would have had no way to know what to collide against, and the attack would not have worked, regardless of MD5.
This is the direct reason the industry rule exists today that a certificate's serial number must carry at least 64 bits from a genuine random number generator: not as a formality, but specifically so nobody can precompute the exact bytes a CA is about to sign.
Why it still matters in 2026
MD5 itself has been dead in certificate issuance for a long time; nobody is replaying this exact attack today. But the predictability half of it - the half this post is actually about - came back in a different form in November 2026, at CAs with no connection to each other or to 2008. SECOM disclosed that subscriber certificates from fifteen of its issuing CAs, including its JPRS and NII Open Domain CAs, had their serial numbers generated from Java's SHA1PRNG seeded with the time the CA system started - meaning anyone who could narrow down that startup time could reproduce the serial number stream (Mozilla Bugzilla 2096366). At least 116,740 certificates were affected. Around the same time, similar clock-seeded or otherwise-predictable serial number generators turned up at BJCA, SSL.com, TunTrust, and D-Trust, and TWCA found its own generator had been silently discarding one bit of randomness on every certificate it issued. None of these CAs has reported that a private key was compromised - keys are generated separately, inside hardware security modules, and none of the 2026 incidents found a way to predict one. But the 2008 lesson was never really about MD5. It was that predictability anywhere in what a CA is about to sign is a door, and eighteen years later, several real CAs left it open.
What TLS Radar checks
TLS Radar samples certificate serial numbers from public Certificate Transparency logs every day and checks every CA behind your certificates against the 64-bit randomness requirement, on every scan, free or full. If a CA you depend on turns up with a predictable generator, you find out the same way we did about TWCA, SECOM, and the others - not by reading about your own certificate in an incident report months later.
Check your certificate's serial number, no account required
See whether your certificate's issuing CA has a known serial number entropy problem - along with everything else our scanner checks. Free, no account required.
Hear about a predictable CA before it's a mass revocation
TLS Radar samples serial numbers from public CT logs daily and checks every CA behind your certificates against the 64-bit requirement, continuously.
Related reading
Frequently asked questions
- What was the 2008 rogue CA attack?
- Researchers engineered an MD5 hash collision between an ordinary certificate they bought from RapidSSL and a rogue intermediate CA certificate they controlled, so RapidSSL's real signature was also mathematically valid on the rogue certificate - giving them an intermediate CA trusted by every major browser.
- Why did predictable serial numbers matter if the real weakness was MD5?
- Constructing the collision required knowing, in advance, the exact bytes of the certificate RapidSSL was about to sign. RapidSSL's sequential, automated serial numbers and predictable issuance timing gave the researchers exactly that. Without predictable serials, they would have had nothing to collide against.
- Is this attack still possible today?
- Not this exact one - MD5 has been banned for certificate signing for well over a decade. But the predictability failure that made it possible resurfaced in a different form in November 2026 at several real CAs using serial number generators that were not actually random.
- What happened in November 2026?
- SECOM, BJCA, SSL.com, TunTrust, D-Trust and TWCA all disclosed serial number generators with insufficient or predictable randomness, affecting well over 100,000 certificates combined, none tied to MD5 or key compromise.
- Does TLS Radar check for this?
- Yes, on every scan, free or full. TLS Radar samples serial numbers from public Certificate Transparency logs daily and checks every CA behind your certificates against the 64-bit randomness requirement.
Get the next post in your inbox
TLS monitoring tips and product updates. No spam, unsubscribe anytime.