ENGINEERING

Windows still trusts a cached copy of the seven roots Microsoft removed for eMudhra

Updated November 11: eMudhra revoked eight more intermediates on November 7. They chain to two roots that aren’t among the seven below, and Microsoft hasn’t blocked them. What that means for Windows and Linux.

This follows my eMudhra compromise post, which covers the eight leaked intermediates, Linux, and software that ships its own roots.

On October 26 Microsoft shipped three out-of-band Windows 11 updates for the eMudhra compromise: KB5134130 for 23H2, KB5134133 for 24H2, 25H2 and 26H2, and KB5134134 for 26H1. Microsoft’s blog says they remove “seven certificates associated with the affected hierarchies: six eMudhra G3 roots and an AAA Certificate Services cross-sign” from the Windows trust list.

That’s Microsoft’s second step. The first, on October 20, blocked the eight compromised intermediates through the disallowed-certificate list. This one removes the roots above them.

Most machines already have it

The updates are catalog-only. Microsoft aims them at machines that can’t reach its certificate-update service: offline networks, and machines with Turn off Automatic Root Certificates Update set in Group Policy. Everything else gets the same change through the root list Windows downloads by itself, and that list changed on October 23, three days before the KBs.

My three lab machines (Windows 11 25H2 and 26H2, and Server 2025) all had the October 23 list on the 27th, and none had the KB.

Pureinfotech lists three known issues for KB5134133 and KB5134134: the Smart App Control setting can show greyed out, Remote Desktop for non-administrators can fail with 0xC000000D, and some USB Audio Class 1.0 devices may not start. They’re also 5 GB cumulative updates, and Microsoft says a machine that downloads its lists doesn’t need them.

The seven roots

Microsoft didn’t publish thumbprints, so I compared two copies of the real list: an older copy from a lab machine (dated August 25, 562 entries) and the current one (dated October 23, 555 entries). These are the seven that are gone:

RootSHA-1 thumbprint
emSign Root TLS CA - G339D3236E4A609AB6190CBFA1AD02B3CC61DFC2C3
emSign Root CS CA - G31F74B6010A219FD9CA058D07AA053D15EFD9300D
emSign ECC Root CA - G33043FA4FF257DCA0C380EE2E58EA78B23FE6BBC1
emSign Root Client Auth CA - G33E48813E1F94CE3ACB726F7E897FD9D868F4EC15
emSign Root SMIME CA - G39A839AFC3549E4C1DFA89863D28E536C8EADC608
emSign Root TSA CA - G349A2493755861F9AE1AFB9438E3519BA9135A75F
AAA Certificate ServicesD1EB23A46D17D68FD92564C2F1F1601764D8E349

The last one is the old Sectigo (Comodo) AAA Certificate Services root itself, not a cross-signed certificate. Microsoft’s list calls it “Sectigo (AAA)”. Chrome and Mozilla had already dropped it, and Java’s fix removed it from cacerts too. Current Sectigo certificates chain to its USERTrust roots, which Windows still trusts, and sectigo.com loaded fine on a machine with the new list.

A cached root stays trusted

When Windows trusts a root from Microsoft’s list, it keeps a copy in the machine’s Third-Party Root Certification Authorities store (AuthRoot in the registry). Removing a root from the list doesn’t remove that copy.

I tested it on the Windows 11 25H2 machine, which had the October 23 list. With no copy of AAA Certificate Services on the machine, Windows didn’t trust it. With a copy in AuthRoot, as an older machine would have from before October 23, Windows trusted it again, list or no list. It stopped only when I removed the copy.

Then I tested the KB. I put copies of AAA and emSign Root TLS CA - G3 back into AuthRoot on that machine, confirmed Windows trusted both, and installed KB5134133. The reboot removed both copies. Windows stopped trusting both roots. On the Server 2025 machine, which has no KB, a planted copy of AAA survived a reboot and stayed trusted.

The Windows 11 machine also re-downloaded the root list right after the KB’s reboot, and the server didn’t, so I can’t tell whether the KB removed the copies itself or triggered the download that did. Either way, installing the KB cleaned the Windows 11 machine, and a plain reboot didn’t clean the server.

So the machines left trusting a cached copy are the ones that won’t get the KB: Windows 10, Windows Server, and every Windows 11 machine that downloads the list and never installs a catalog-only update, which is most of them. The lab machine I took the August list from had AAA cached.

The compromised intermediates themselves stay blocked either way, since they’re on the disallowed list. The cached roots matter because Microsoft decided Windows shouldn’t trust them at all, and a machine that kept a copy didn’t follow that decision.

Check one machine

Run this in an elevated PowerShell window. It prints any of the seven still on the machine and where it lives, then the date of the root list the machine has:

$removed = @{
  '39D3236E4A609AB6190CBFA1AD02B3CC61DFC2C3' = 'emSign Root TLS CA - G3'
  '1F74B6010A219FD9CA058D07AA053D15EFD9300D' = 'emSign Root CS CA - G3'
  '3043FA4FF257DCA0C380EE2E58EA78B23FE6BBC1' = 'emSign ECC Root CA - G3'
  '3E48813E1F94CE3ACB726F7E897FD9D868F4EC15' = 'emSign Root Client Auth CA - G3'
  '9A839AFC3549E4C1DFA89863D28E536C8EADC608' = 'emSign Root SMIME CA - G3'
  '49A2493755861F9AE1AFB9438E3519BA9135A75F' = 'emSign Root TSA CA - G3'
  'D1EB23A46D17D68FD92564C2F1F1601764D8E349' = 'AAA Certificate Services'
}
foreach ($t in $removed.Keys) {
  foreach ($k in 'Microsoft\SystemCertificates\AuthRoot', 'Microsoft\SystemCertificates\ROOT',
                 'Policies\Microsoft\SystemCertificates\Root', 'Microsoft\EnterpriseCertificates\Root') {
    if (Test-Path "HKLM:\SOFTWARE\$k\Certificates\$t") { "$($removed[$t]) is in $k" }
  }
}
$f = "$env:TEMP\authroot.stl"
[IO.File]::WriteAllBytes($f, (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\AutoUpdate').EncodedCtl)
(certutil -dump $f | Select-String 'ThisUpdate' | Select-Object -First 1).Line.Trim()

On a clean machine you get one line, ThisUpdate: 10/23/2026 ... or later. A date before October 23 means the machine never got the new list, which is the case the KBs are for.

It reads the registry instead of Cert:\LocalMachine\Root on purpose. That store is a merged view that includes the AuthRoot copies, so every cached root also shows up there, and you can’t tell a copy Windows cached from the one managed by Group Policy. My first version of the check made this mistake.

A line naming AuthRoot is a copy Windows cached. ROOT, Policies or EnterpriseCertificates means an admin, a Group Policy or Active Directory put it there, so investigate before you remove it.

Fix it

This removes the cached copies of the seven from AuthRoot and leaves the other stores alone. Run it in the same window, right after the check, since it uses the same $removed list:

$st = New-Object Security.Cryptography.X509Certificates.X509Store('AuthRoot', 'LocalMachine')
$st.Open('ReadWrite')
foreach ($t in $removed.Keys) {
  foreach ($c in $st.Certificates.Find('FindByThumbprint', $t, $false)) { "removing $($removed[$t])"; $st.Remove($c) }
}
$st.Close()

Run the check again and the AuthRoot lines are gone. Anything on that machine that still depends on one of these roots will stop validating. Machines that never cached them are already in that state.

On Windows 11, installing the KB did the same job on my lab machine. On an offline machine, install the KB for its version (or import Microsoft’s current lists another way), so it gets the October 20 block and the October 23 root list too.

Here’s RFF’s check on the Windows 11 machine with the two planted copies, before the KB:

RFF job output: emSign Root TLS CA - G3 and AAA Certificate Services still cached in AuthRoot and trusted, on a machine with the October 23 root list

And the fix on the Server 2025 machine, where the planted copy survived a reboot:

RFF job output: removing the cached AAA Certificate Services copy, then all 16 intermediates distrusted and the removal verified

Doing this across a fleet

In RFF, the Script Library’s eMudhra CA Compromise - Exposure Check for Windows now covers this step too. It reports any of the seven roots still cached and trusted, which store each copy is in, the date of the root list, and whether the out-of-band update is installed. Block eMudhra CA Compromise removes the cached copies, keeps a backup, and reports any copy an admin or Group Policy put in the Root store. Both also still handle the eight intermediates from my first post.

RFF is free for your first 100 endpoints: getrff.com.

Sources

One email per new post, nothing else. Unsubscribe in one click. Or use the RSS feed.

Comments

Comments use GitHub Discussions, so you'll need a GitHub account to post. Corrections are especially welcome.