Hypervisor Code Integrity Security Feature Bypass (CVE-2016-0181)
Windows incorrectly allowed certain kernel-mode pages to be marked as Read, Write, Execute (RWX) even with Hypervisor Code Integrity (HVCI) enabled. An attacker could run a specially crafted application to bypass code integrity protections in Windows.
Originally disclosed on Microsoft
Description
A security feature bypass vulnerability exists when Windows incorrectly allows certain kernel-mode pages to be marked as Read, Write, Execute (RWX) even with Hypervisor Code Integrity (HVCI) enabled. To exploit this vulnerability, an attacker could run a specially crafted application to bypass code integrity protections in Windows. The security update addresses the vulnerability by correcting security feature behavior to preclude the incorrect marking of RWX pages under HVCI.
Virtual Secure Mode
Virtual Secure Mode
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 failed to properly enforce memory permissions under HVCI, allowing kernel-mode pages to be marked RWX when they should not be.
Impact
An attacker could bypass code integrity protections in Windows, potentially allowing execution of unsigned or malicious kernel-mode code.
What the attacker needed
Ability to run a specially crafted application
The fix
The security update addresses the vulnerability by correcting security feature behavior to preclude the incorrect marking of RWX pages under HVCI.
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.
Hypervisor Code Integrity (HVCI) is a Windows security feature that uses a hypervisor to enforce that kernel-mode code cannot be modified or executed from writable memory. This vulnerability meant that, despite HVCI being on, some kernel-mode pages could still be marked as readable, writable, and executable at the same time, which weakens the protection. An attacker who can run code on the machine could use this to bypass code integrity checks.
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.