Runtime Credential Guard Deactivation
An undocumented named kernel event in LsaIso.exe can be signaled by a process with SYSTEM privileges to disable Windows Credential Guard at runtime. After this, new logon sessions store NT hashes in plain lsass memory, allowing an attacker to dump and extract them.
S12 - 0x12Dark Development Follow
Published on medium.com
Welcome to this new Medium post, in this one we will see how to bypass Windows Credential Guard at runtime by signaling an undocumented named kernel event inside LsaIso.exe, and then just dump the lsassprocess and it’s user hashes
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an undocumented shutdown event in LsaIso.exe that, when signaled, tears down the Credential Guard provider and stops intercepting logon sessions, leaving new sessions unprotected.
Impact
An attacker with administrator rights could disable Credential Guard at runtime and extract NT hashes from new logon sessions, without a reboot or a vulnerable driver.
What the attacker needed
Administrator privileges; Ability to impersonate SYSTEM; Windows with Credential Guard enabled
How it was found
- Enable SeDebugPrivilege on the process token.
- Open winlogon.exe and steal its token.
- Duplicate the token as an impersonation token and impersonate SYSTEM.
- Open and signal the named event to disable Credential Guard.
- Revert to the process token and wait for teardown.
- Create a new interactive logon and scan lsass memory for the NT hash.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Credential Guard is a Windows feature that keeps password hashes in a separate, protected part of memory so that tools cannot steal them. This post shows that a special internal signal can turn that protection off while Windows is running, after which new logons leave hashes where they can be read. The attacker needs administrator rights and a way to act as the SYSTEM account.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.