The Challenge
On October 17, 2020, Mozilla's cryptography engineering team received a report that shook the security world: eight intermediate certificates issued by eMudhra, an Indian certification authority, had been compromised. The private keys protecting these certificates weren't stolen through sophisticated attacks or insider threats. They were never protected at all.
Security researcher Scott Helme recovered eMudhra's private keys on his laptop in under a second. One key was the number 4. Another was 56. Others included 66, 115, 155, 156, 230, and 237.
To understand the severity: a P-384 private key should be a random 384-bit number, giving you 2³⁸⁴ possibilities (roughly 10¹¹⁵). eMudhra's keys were guessable by hand. This meant anyone could forge certificates for any domain and impersonate servers to intercept or modify traffic. Over 60 million digital certificates were instantly untrustworthy.
The incident exposed a fundamental control failure that compliance frameworks exist to prevent. This wasn't a zero-day exploit or nation-state attack. It was a catastrophic breakdown in cryptographic hygiene at an organization whose entire business model depends on cryptographic trust.
The Environment and Constraints
eMudhra operates as a certification authority, positioning itself as a provider of digital trust infrastructure. The company had issued more than 60 million digital certificates, serving as a trusted intermediary in the public key infrastructure (PKI) ecosystem. Every certificate they issued carried their cryptographic signature, asserting to browsers and systems worldwide that "this certificate is legitimate."
The constraints facing the remediation effort were severe:
Scope: 60 million certificates were potentially compromised. Each one represented a trust relationship that needed immediate reassessment.
Distribution: These certificates existed across countless systems, applications, and services globally. There's no central registry of where eMudhra certificates were deployed.
Trust chain: Browser vendors, operating system maintainers, and application developers all needed to coordinate responses. A certificate authority compromise affects every relying party simultaneously.
Time pressure: From the moment Mozilla received the report, attackers could theoretically forge certificates for any domain. The window for exploitation was open until every system stopped trusting eMudhra's signatures.
The Approach Taken
Mozilla, Chrome, and Apple responded by updating their browser trust stores to reject eMudhra's compromised certificates. Mozilla's Dennis Jackson documented the coordinated response, which included working with eMudhra to revoke the affected certificates.
Multiple FOSS projects issued updates removing trust for eMudhra certificates from their systems. Developer Geoffrey Huntley published guidance for automating the process of identifying eMudhra certificates in production environments.
The response followed standard PKI incident protocols: identify the compromised root, push trust store updates through existing distribution channels, and coordinate with the CA to revoke certificates. What made this incident unusual wasn't the response process but the root cause. Browser vendors are equipped to handle compromised CAs. They're not accustomed to finding private keys that are single-digit integers.
Results and Metrics
Browser vendors successfully pushed updates that prevented their users from trusting eMudhra certificates. Organizations relying on eMudhra certificates needed to identify affected systems and reissue certificates from trusted CAs.
The broader impact is harder to measure. Unlike browsers, many systems and services don't have automatic trust store updates. Industrial control systems, embedded devices, legacy applications, and custom software may still trust these certificates until administrators manually intervene.
The incident demonstrated that PKI trust is only as strong as its weakest link. A single CA with inadequate cryptographic practices can undermine trust for millions of certificates across the entire internet.
What Should Have Been Done Differently
The failures here weren't operational. They were architectural and governance-related:
Key generation controls: eMudhra should have implemented cryptographically secure random number generation for all private keys. This is Cryptography 101, covered in ISO/IEC 27001 Annex A 8.24 (Use of Cryptography) and SOC 2 CC6.7 (encryption of data-at-rest and data-in-transit).
Pre-issuance validation: Before signing any intermediate certificate, eMudhra should have validated that the private key met minimum entropy requirements. Automated checks would have caught keys like '4' instantly.
External audit rigor: Certification authorities undergo regular audits under WebTrust principles. The fact that these keys existed in production certificates suggests audit procedures didn't include cryptographic validation of key material, or findings weren't treated as blocking issues.
Cryptographic testing in CI/CD: If eMudhra generated certificates through automated processes, those pipelines should have included cryptographic validation tests that failed on weak keys.
The incident also reveals gaps in how organizations validate their CA providers. If you're accepting certificates from a CA, what assurance do you have about their cryptographic practices? Browser vendors maintain trust stores, but enterprises often add CAs to their trust stores without equivalent vetting.
Takeaways for Your Team
Validate your certificate providers: Don't assume CA compliance. If you're purchasing certificates or operating an internal CA, verify cryptographic key generation meets NIST SP 800-57 guidance. Ask for evidence of cryptographic module validation.
Implement cryptographic controls testing: ISO/IEC 27001 Annex A 8.24 requires you to define and implement policy on cryptographic key management. That policy should include entropy requirements and validation procedures. SOC 2 CC6.7 requires encryption controls, but you need to define what "adequate" means.
Audit your trust stores: Map which CAs your organization trusts and why. Document the business justification and risk acceptance for each trusted root. This becomes your ISMS risk register entry for third-party cryptographic dependencies.
Build certificate inventory capabilities: You can't respond to a CA compromise if you don't know where you're using that CA's certificates. Implement certificate discovery across your infrastructure. Tools exist; the gap is usually organizational priority.
Test your incident response for PKI failures: Your IR plan probably covers malware and data breaches. Does it cover "our CA's private keys were compromised"? The eMudhra incident required organizations to identify, assess, and replace certificates under time pressure. Practice that scenario.
The eMudhra incident is a case study in what happens when cryptographic controls fail at scale. For GRC practitioners, it's a reminder that compliance frameworks point you toward controls like cryptographic key management for a reason. The controls aren't bureaucratic checkboxes. They're the difference between a trusted CA and a CA whose private key is '4'.





