Skip to content
Access control Advisory Advanced CVE-2018-0958

Windows Security Feature Bypass Vulnerability (CVE-2018-0958)

Windows failed to properly validate User Mode Code Integrity policies, so an attacker with local access could run a malicious program that bypassed Device Guard. This let them circumvent the UMCI policy that is meant to block untrusted code.

Lee Christensen Follow

Originally disclosed on Microsoft

High 5.3 View original

Description

A security feature bypass vulnerability exists in Windows which could allow an attacker to bypass Device Guard. An attacker who successfully exploited this vulnerability could circumvent a User Mode Code Integrity (UMCI) policy on the machine. To exploit the vulnerability, an attacker would first have to access the local machine, and then run a malicious program. The update addresses the vulnerability by correcting how Windows validates User Mode Code Integrity policies.

FAQ

After I installed the updates for this vulnerability, my PowerShell ScheduledJob jobs will no longer run with DeviceGuard or AppLocker. What do I need to do? Use Windows Task Scheduler or PowerShell ScheduledTasks module as an alternative. For more information, see https://blogs.msdn.microsoft.com/powershell/2017/11/02/powershell-constrained-language-mode/ .

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Lee Christensen ( @tifkin_ ) of SpecterOps. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely Windows did not correctly validate User Mode Code Integrity policies, allowing a policy bypass.

Impact

An attacker with local access could bypass Device Guard and run code that the UMCI policy was meant to block.

What the attacker needed

Local access to the machine

The fix

It was fixed by correcting how Windows validates User Mode Code Integrity policies.

How it was found

  1. Gain access to the local machine.
  2. Run a malicious program on that machine.

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 report has not been written yet. The Original tab links to the source.

Device Guard is a Windows feature that only lets approved, signed programs run, so malware cannot easily execute. This bug meant Windows did not check those rules correctly, so a bad program could still run. The attacker needed to already be on the machine to try it.

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.

More by Lee Christensen

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.