Skip to content

When Your Certificate Authority Becomes the Threat

When Your Certificate Authority Becomes the Threat

There’s an uncomfortable assumption baked into most enterprise security programs: the certificates your systems trust are issued by entities that deserve that trust. The CA/Browser Forum has rules, the big CAs have audits, and your PKI team deployed the right root stores. That assumption just took a hit.

A critical vulnerability discovered in major CA infrastructure has demonstrated that fraudulent certificate issuance at scale is not theoretical. When a CA’s signing keys or issuance controls are compromised, every certificate your systems validate against that CA becomes suspect. That’s not a niche problem — it’s the foundation of your HTTPS traffic inspection, your mutual TLS between services, your code signing pipeline, and your VPN authentication.

The practical question isn’t whether this is bad. It’s what you’re actually going to do about it on Monday morning.

Start With Your Trust Anchors

Most security teams can’t tell you which root CAs their enterprise devices trust without looking it up. That’s a problem. Your root store is your trust boundary, and if you’ve never audited it, you don’t actually know what your systems will accept as valid.

Pull the root certificate store from a representative sample of your endpoints — Windows, macOS, Linux, mobile if you manage them. Cross-reference against the CA/Browser Forum’s list of trusted roots and your own MDM-deployed roots. What you’re looking for: roots you didn’t intentionally add, expired roots that are still present, and any intermediate CAs that have been delegated trust outside your direct control.

On Windows, `certmgr.msc` or `Get-ChildItem -Path Cert:\LocalMachine\Root` gets you there. On Linux, your trust store is typically under `/etc/ssl/certs/` or `/etc/ca-certificates/`. On macOS, Keychain Access shows system roots. This is not glamorous work, but it’s the kind of thing that stops you from getting a call at 2am wondering why your endpoint detection is suddenly seeing traffic it can’t inspect.

Certificate Transparency Logs Are Your Friend

Here’s something a lot of enterprise teams sleep on: Certificate Transparency (CT) logs exist specifically so you can see every publicly-trusted certificate issued for your domains. If a compromised CA issues a fraudulent certificate for `yourcompany.com`, it will show up in CT logs. The question is whether you’re watching.

Tools like `crt.sh` let you query manually. For ongoing monitoring, there are free and low-cost services — Facebook’s Certificate Transparency Monitoring, SSLMate’s Cert Spotter, or a self-hosted solution using the CT log streaming APIs. Set up alerts for any new certificate issuance against your registered domains. This should take an afternoon to stand up and costs almost nothing.

What you’re watching for: certificates issued by CAs you don’t use, certificates with unusual Subject Alternative Names, or certificates issued for subdomains that don’t exist. Any of these could indicate either an attack using a compromised CA or an unauthorized shadow IT deployment that someone forgot to tell you about.

Mutual TLS and Service-to-Service Trust

If your architecture uses mTLS between services — and it should if you’re running anything that handles sensitive data — your internal CA is in scope here too. Most shops run either Microsoft ADCS, HashiCorp Vault PKI, or a managed service like AWS Private CA. The question is: what controls exist on your issuance pipeline?

Walk through the issuance process. Who can request a cert from your internal CA? Is that gated by an authenticated identity, or can anything on the network that can reach the CA endpoint make a request? Are there approval workflows for high-privilege certificates like those used for service accounts or administrative tooling? Are issued certificates logged somewhere you can query and alert on?

If you’re running ADCS, the Security event logs on your CA servers will show you every certificate issuance event. Event IDs 4886 and 4887 are what you want. If you’re not aggregating those into your SIEM, that’s a gap.

Certificate Pinning: Where It Makes Sense

Certificate pinning is often presented as a universal solution and it isn’t. Pinning a certificate or its public key means your application will only accept that specific cert, regardless of what the system trust store says. That’s powerful for protecting specific high-value connections, and it’s brittle for general-purpose use because a pinned cert that expires without a coordinated update breaks your application.

Where it does make sense: internal tooling that communicates with a known, controlled endpoint on a predictable refresh cycle; mobile applications where you control the client and can coordinate pin updates through app releases; CI/CD pipelines that communicate with artifact repositories or deployment targets. For these, pinning your internal CA’s root or intermediate — not the leaf cert — gives you protection against CA compromise without the operational fragility of leaf pinning.

Where it doesn’t make sense: general web browsing, third-party SaaS integrations, or anything where the certificate lifecycle is outside your control.

Detection After the Fact

Assume you’ve already been in this situation for a while before you found out. What does detection look like?

Your TLS inspection proxy logs are the first place to look. If a fraudulent certificate was used in traffic traversing your perimeter, the cert details will be in those logs. Pull certificates for your most sensitive domains over the past 90 days and check the issuing CA, serial number, and validity window against what you know you’ve issued.

EDR telemetry is the second angle. Certificate validation errors that were suppressed or overridden at the endpoint often leave traces. So does unusual certificate acceptance behavior — an endpoint trusting a cert that every other endpoint would reject is a signal worth investigating.

Network detection tools that parse TLS handshakes — your NDR platform if you have one, or Zeek if you’re running open source — can extract certificate metadata from encrypted traffic without decryption. Build a baseline of what normal certificate issuance looks like for your domains and alert on deviations.

The Operational Takeaway

The CA compromise scenario is worth taking seriously not because your specific CA was targeted, but because it illustrates a category of attack that most enterprise detection programs are not positioned to catch. Your defenses are optimized for malware, phishing, and lateral movement. They’re generally not watching the trust infrastructure underneath your encryption.

The fixes here are not expensive or particularly complex. CT log monitoring, CA audit logging in the SIEM, and a one-time root store review are all within reach of a team with normal resource constraints. The harder part is making the case for the work before an incident forces the issue.

That’s the job.

Photo by FlyD on Unsplash

Leave a Reply