Posts
Windows10 Vulnerability (VU#506989): Dataprise Defense Digest
By: Dataprise
Table of content
Executive Summary
On July 20nd, The Carnegie Mellon University’s Software Engineering Institute published a note on a vulnerability (VU#506989) affecting windows 10 issued a warning about a critical vulnerability affecting Windows 10 build 1809 and above which can grant non-administrative users access to SAM, SYSTEM and SECURITY files. Which can allow for LPE (Local Privilege Escalation). No patch has been issued yet, the work around involves restricting access to SAM, SYSTEM and SECURITY Files and removing VSS Shadow Copies.
Impact
Gaining access to Windows 10’s systems SAM, SYSTEM and SECURITY files on a vulnerable system with VSS shadow copies of the system drive a locally authenticated user may be able to achieve LPE, masquerade as other users, or even cause other security related impacts.
Detailed Analysis
Starting with Windows 10 build 1809, the BUILTIN\Users group is given RX permissions to the following files:
C:\Windows\System32\config\sam
C:\Windows\System32\config\system
C:\Windows\System32\config\security
If there is VSS shadow copy of the system drive available, a non-privileged user may leverage access to these files to achieve impacts described (but not limited to these) below:
- Extract and leverage account password hashes.
- Discover the original Windows installation password.
- Obtain DPAPI computer keys, which can be used to decrypt all computer private keys.
- Obtain a computer machine account, which can be used in a silver ticket attack.
NOTE: Even though VSS shadow copies may not explicitly be enabled in a system – Having a drive that is larger than 128GB and performing windows updates or installing an MSI Packet will automatically create a shadow copy.
To check if a system has shadow copies enabled, the following command can be run from a command prompt:
vssadmin list shadows
A system with active shadow copies will return a report such as:

A system with active shadow copies will return:
“No items found that satisfy the query.”
A vulnerable system will output a message like this: BUILTIN\Users:(I)(RX)
Indicators Of Vulnerability
There are no current indicators of compromise, but running the following command from a non-privileged account will help identify if the system is vulnerable:
icacls %windir%\system32\config\sam

A system that is not vulnerable will output a message similar to this:

We are currently unaware of a solution to this vulnerability, following workaround is recommended:
Mitigation Steps
- Vulnerable systems can remove the USERS ACL to read these sensitive files by running the following commands:
icacls %windir%\system32\config\sam /remove “Users”
icacls %windir%\system32\config\security /remove “Users”
icacls %windir%\system32\config\system /remove “Users”
Once the CLS have been adjusted for these viles, any VSS shadow copies of the system must be deleted to ensure protection against this exploitation, assuming that the system drive is C:
vssadmin delete shadows /for=c: /Quiet
Check that VSS shadow copies have been deleted:
vssadmin list shadows
Sources
- https://www.kb.cert.org/vuls/id/506989
- https://borncity.com/win/2021/07/20/windows-10-sam-zugriffsrechte-ab-1809-nach-upgrade-kaputt-benutzerzugriff-mglich/
- https://twitter.com/jonasLyk/status/1417205166172950531
Contributing Authors
- Stephen Jones, Senior Director Cybersecurity
- Maximo Bredfeldt, vCISO
- Susan Verdin, Cybersecurity Analyst
Featured Resources
Recent Tweets
INSIGHTS
Want the latest IT insights?
Subscribe to our blog to learn about the latest IT trends and technology best practices.