# Virtualization-based security (VBS) Bypass

## Theory

Virtualization-based security, or VBS, uses hardware virtualization and the Windows hypervisor to create an isolated virtual environment that becomes the root of trust of the OS that assumes the kernel can be compromised. Windows uses this isolated environment to host a number of security solutions, providing them with greatly increased protection from vulnerabilities in the operating system, and preventing the use of malicious exploits which attempt to defeat protections. VBS enforces restrictions to protect vital system and operating system resources, or to protect security assets such as authenticated user credentials.

## Practice

{% content-ref url="/pages/fig8lLWDHPtQ6k1jQMuv" %}
[Hypervisor Code Integrity (HVCI) Disallowed Images](/redteam/evasion/endpoint-detection-respons-edr-bypass/hypervisor-code-integrity-hvci-disallowed-images.md)
{% endcontent-ref %}

{% content-ref url="/pages/bF2nPaUSPHIzZ9sCTnjM" %}
[Credential Guard bypass](/redteam/evasion/virtualization-based-security-vbs-bypass/credential-guard-bypass.md)
{% endcontent-ref %}

{% content-ref url="/pages/zI9SIK7N0tm9limtlbrn" %}
[Windows Defender Application Control (WDAC) Bypass](/redteam/evasion/virtualization-based-security-vbs-bypass/windows-defender-application-control-wdac-bypass.md)
{% endcontent-ref %}

## Resources

{% embed url="<https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-vbs>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://red.infiltr8.io/redteam/evasion/virtualization-based-security-vbs-bypass.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
