VBS Enhances Data Protection in Windows 11 with New Enclave Feature

Apps & Games / Desktop / Windows / VBS Enhances Data Protection in Windows 11 with New Enclave Feature
04 Jul 2024

Virtualization-Based Security (VBS) has been a topic of debate since its default activation in Windows 11. By transforming the operating system into a virtual machine through the Hyper-V hypervisor, VBS significantly boosts data protection and integrity, albeit at the cost of performance.

For gamers and everyday users seeking optimal performance, disabling VBS and Hyper-V virtualization is often recommended. Despite this, Microsoft stands firm on the security benefits VBS brings to Windows 10/11. The latest addition to VBS, VBS enclaves, offers a novel approach to application development prioritizing data protection.

Understanding VBS Enclaves

A VBS enclave serves as a “software-based trusted execution environment (TEE) within a host application,” as explained by Microsoft. Leveraging Hyper-V, VBS establishes an environment with higher privilege than the OS within a VM on the hypervisor. Developers can safeguard specific application segments using Dynamic Link Library (DLL) files loadable by any standard Windows program.

VBS creates a privileged virtual environment known as Virtual Trust Level 1 (VTL1), described by Microsoft as the “root of trust of the OS.” VTL1, with isolated user mode and secure kernel, operates at a higher privilege level than the traditional Windows environment (VTL0).

Security Benefits and Requirements

VBS enclaves enable the isolation of application segments within VTL1, safeguarding sensitive data like passwords and decryption operations from external threats. However, the implementation of VBS enclaves necessitates specific device requirements, including:

  • Windows 11 or Windows Server 2019 with VBS/HVCI enabled
  • Visual Studio 2022 version 17.9 or later for coding projects

While VBS enclaves offer robust security features, they have limited access to Windows APIs to minimize the attack surface for cybercriminals. Developers are advised not to trust the host application entirely, as DLL files can potentially be loaded by any program, not just the intended host application.

In conclusion, while VBS enclaves present a significant advancement in data protection within Windows environments, they come with specific requirements and limitations that developers must navigate carefully. Balancing security and performance remains a critical consideration for both users and developers in this evolving landscape.

Update: 04 Jul 2024