Home
%3CLINGO-SUB%20id%3D%22lingo-sub-890167%22%20slang%3D%22en-US%22%3EVirtualization-Based%20Security%3A%20Enabled%20by%20Default%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-890167%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdesign%2Fdevice-experiences%2Foem-vbs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EVirtualization-based%20Security%20(VBS)%3C%2FA%3E%20uses%20hardware%20virtualization%20features%20to%20create%20and%20isolate%20a%20secure%20region%20of%20memory%20from%20the%20normal%20operating%20system.%20Windows%20can%20use%20this%20%22virtual%20secure%20mode%22%20(VSM)%20to%20host%20a%20number%20of%20security%20solutions%2C%20providing%20them%20with%20greatly%20increased%20protection%20from%20vulnerabilities%20in%20the%20operating%20system%2C%20and%20preventing%20the%20use%20of%20malicious%20exploits%20which%20attempt%20to%20defeat%20operating%20systems%20protections.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Microsoft%20hypervisor%20creates%20VSM%20and%20enforces%20restrictions%20which%20protect%20vital%20operating%20system%20resources%2C%20provides%20an%20isolated%20execution%20environment%20for%20privileged%20software%20and%20can%20protect%20secrets%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fidentity-protection%2Fcredential-guard%2Fcredential-guard-manage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Esuch%20as%20authenticated%20user%20credentials%3C%2FA%3E.%20With%20the%20increased%20protections%20offered%20by%20VBS%2C%20even%20if%20malware%20compromises%20the%20operating%20system%20kernel%2C%20the%20possible%20exploits%20can%20be%20greatly%20limited%20and%20contained%20because%20the%20hypervisor%20can%20prevent%20the%20malware%20from%20executing%20code%20or%20accessing%20secrets.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Microsoft%20hypervisor%20has%20supported%20VSM%20since%20the%20earliest%20versions%20of%20Windows%2010.%20However%2C%20until%20recently%2C%20Virtualization-based%20Security%20has%20been%20an%20optional%20feature%20that%20is%20most%20commonly%20enabled%20by%20enterprises.%20This%20was%20great%2C%20but%20the%20hypervisor%20development%20team%20was%20not%20satisfied.%20We%20believed%20that%20all%20devices%20running%20Windows%20should%20have%20Microsoft%E2%80%99s%20most%20advanced%20and%20most%20effective%20security%20features%20enabled%20by%20default.%20In%20addition%20to%20bringing%20significant%20security%20benefits%20to%20Windows%2C%20achieving%20default%20enablement%20status%20for%20the%20Microsoft%20hypervisor%20enables%20seamless%20integration%20of%20numerous%20other%20scenarios%20leveraging%20virtualization.%20Examples%20include%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fwsl2-index%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EWSL2%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fwindows-defender-application-guard%2Fwd-app-guard-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EWindows%20Defender%20Application%20Guard%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Kernel-Internals%2FWindows-Sandbox%2Fba-p%2F301849%22%20target%3D%22_blank%22%3EWindows%20Sandbox%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fvirtualization%2Fapi%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EWindows%20Hypervisor%20Platform%20support%20for%203rd%20party%20virtualization%20software%3C%2FA%3E%2C%20and%20much%20more.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20that%20goal%20in%20mind%2C%20we%20have%20been%20hard%20at%20work%20over%20the%20past%20several%20Windows%20releases%20optimizing%20every%20aspect%20of%20VSM.%20We%20knew%20that%20getting%20to%20the%20point%20where%20VBS%20could%20be%20enabled%20by%20default%20would%20require%20reducing%20the%20performance%20and%20power%20impact%20of%20running%20the%20Microsoft%20hypervisor%20on%20typical%20consumer-grade%20hardware%20like%20tablets%2C%20laptops%20and%20desktop%20PCs.%20We%20had%20to%20make%20the%20incremental%20cost%20of%20running%20the%20hypervisor%20as%20close%20to%20zero%20as%20possible%20and%20this%20was%20going%20to%20require%20close%20partnership%20with%20the%20Windows%20kernel%20team%20and%20our%20closest%20silicon%20partners%20%E2%80%93%20Intel%2C%20AMD%2C%20and%20ARM%20(Qualcomm).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThrough%20software%20innovations%20like%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FVirtualization%2FHyper-V-HyperClear-Mitigation-for-L1-Terminal-Fault%2Fba-p%2F382429%22%20target%3D%22_blank%22%3EHyperClear%3C%2FA%3E%20and%20by%20making%20significant%20hypervisor%20and%20Windows%20kernel%20changes%20to%20avoid%20fragmenting%20large%20pages%20in%20the%20second-level%20address%20translation%20table%2C%20we%20were%20able%20to%20dramatically%20reduce%20the%20runtime%20performance%20and%20power%20impact%20of%20hypervisor%20memory%20management.%20We%20also%20heavily%20optimized%20hot%20hypervisor%20codepaths%20responsible%20for%20things%20like%20interrupt%20virtualization%20%E2%80%93%20taking%20advantage%20of%20hardware%20virtualization%20assists%20where%20we%20found%20that%20it%20was%20helpful%20to%20do%20so.%20Last%20but%20not%20least%2C%20we%20further%20reduced%20the%20performance%20and%20power%20impact%20of%20a%20key%20VSM%20feature%20called%20Hypervisor-Enforced%20Code%20Integrity%20(HVCI)%20by%20working%20with%20silicon%20partners%20to%20design%20completely%20new%20hardware%20features%20including%20Intel%E2%80%99s%20Mode-based%20execute%20control%20for%20EPT%20(MBEC)%2C%20AMD%E2%80%99s%20Guest-mode%20execute%20trap%20for%20NPT%20(GMET)%2C%20and%20ARM%E2%80%99s%20Translation%20table%20stage%202%20Unprivileged%20Execute-never%20(TTS2UXN).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EI%E2%80%99m%20proud%20to%20say%20that%20as%20of%20Windows%2010%20version%201903%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4517211%2Fwindows-10-update-kb4517211%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CEM%3E9D%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%2C%20we%20have%20succeeded%20in%20enabling%20Virtualization-based%20Security%20by%20default%20on%20some%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdesign%2Fdevice-experiences%2Foem-vbs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CEM%3Ecapable%20hardware%3C%2FEM%3E%3C%2FA%3E%3CEM%3E!%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fwww.samsung.com%2Fus%2Fmobile%2Ftablets%2Fgalaxy-book-2%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESamsung%20Galaxy%20Book2%3C%2FA%3E%20is%20officially%20the%20first%20Windows%20PC%20to%20have%20VBS%20enabled%20%3CU%3Eby%20default%3C%2FU%3E.%20This%20PC%20is%20built%20around%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.qualcomm.com%2Fproducts%2Fsnapdragon-850-mobile-compute-platform%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EQualcomm%20Snapdragon%20850%3C%2FA%3E%20processor%2C%20a%2064-bit%20ARM%20processor.%20This%20is%20particularly%20exciting%20for%20the%20Microsoft%20hypervisor%20development%20team%20because%20it%20also%20marks%20the%20first%20time%20that%20enabling%20our%20hypervisor%20is%20officially%20supported%20on%20any%20ARM-based%20device.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKeep%20an%20eye%20on%20this%20blog%20for%20announcements%20regarding%20the%20default-enablement%20of%20VBS%20on%20additional%20hardware%20and%20in%20future%20versions%20of%20Windows%2010.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-890167%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20style%3D%22background-color%3A%20transparent%3B%20box-sizing%3A%20border-box%3B%20color%3A%20%23146cac%3B%20font-family%3A%20%26amp%3Bquot%3B%20segoeui%26amp%3Bquot%3B%2C%26amp%3Bquot%3Blato%26amp%3Bquot%3B%2C%26amp%3Bquot%3Bhelvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20underline%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdesign%2Fdevice-experiences%2Foem-vbs%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EVirtualization-based%20Security%20(VBS)%3C%2FA%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20cursor%3A%20text%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%20uses%20hardware%20virtualization%20features%20to%20create%20and%20isolate%20a%20secure%20region%20of%20memory%20from%20the%20normal%20operating%20system.%20Windows%20can%20use%20this%20%22virtual%20secure%20mode%22%20(VSM)%20to%20host%20a%20number%20of%20security%20solutions%2C%20providing%20them%20with%20greatly%20increased%20protection%20from%20vulnerabilities%20in%20the%20operating%20system%2C%20and%20preventing%20the%20use%20of%20malicious%20exploits%20which%20attempt%20to%20defeat%20operating%20systems%20protections.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

Virtualization-based Security (VBS) uses hardware virtualization features to create and isolate a secure region of memory from the normal operating system. Windows can use this "virtual secure mode" (VSM) 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 operating systems protections.

 

The Microsoft hypervisor creates VSM and enforces restrictions which protect vital operating system resources, provides an isolated execution environment for privileged software and can protect secrets such as authenticated user credentials. With the increased protections offered by VBS, even if malware compromises the operating system kernel, the possible exploits can be greatly limited and contained because the hypervisor can prevent the malware from executing code or accessing secrets.

 

The Microsoft hypervisor has supported VSM since the earliest versions of Windows 10. However, until recently, Virtualization-based Security has been an optional feature that is most commonly enabled by enterprises. This was great, but the hypervisor development team was not satisfied. We believed that all devices running Windows should have Microsoft’s most advanced and most effective security features enabled by default. In addition to bringing significant security benefits to Windows, achieving default enablement status for the Microsoft hypervisor enables seamless integration of numerous other scenarios leveraging virtualization. Examples include WSL2, Windows Defender Application Guard, Windows Sandbox, Windows Hypervisor Platform support for 3rd party virtualization software, and much more.

 

With that goal in mind, we have been hard at work over the past several Windows releases optimizing every aspect of VSM. We knew that getting to the point where VBS could be enabled by default would require reducing the performance and power impact of running the Microsoft hypervisor on typical consumer-grade hardware like tablets, laptops and desktop PCs. We had to make the incremental cost of running the hypervisor as close to zero as possible and this was going to require close partnership with the Windows kernel team and our closest silicon partners – Intel, AMD, and ARM (Qualcomm).

 

Through software innovations like HyperClear and by making significant hypervisor and Windows kernel changes to avoid fragmenting large pages in the second-level address translation table, we were able to dramatically reduce the runtime performance and power impact of hypervisor memory management. We also heavily optimized hot hypervisor codepaths responsible for things like interrupt virtualization – taking advantage of hardware virtualization assists where we found that it was helpful to do so. Last but not least, we further reduced the performance and power impact of a key VSM feature called Hypervisor-Enforced Code Integrity (HVCI) by working with silicon partners to design completely new hardware features including Intel’s Mode-based execute control for EPT (MBEC), AMD’s Guest-mode execute trap for NPT (GMET), and ARM’s Translation table stage 2 Unprivileged Execute-never (TTS2UXN).

 

I’m proud to say that as of Windows 10 version 1903 9D, we have succeeded in enabling Virtualization-based Security by default on some capable hardware!

 

The Samsung Galaxy Book2 is officially the first Windows PC to have VBS enabled by default. This PC is built around the Qualcomm Snapdragon 850 processor, a 64-bit ARM processor. This is particularly exciting for the Microsoft hypervisor development team because it also marks the first time that enabling our hypervisor is officially supported on any ARM-based device.

 

Keep an eye on this blog for announcements regarding the default-enablement of VBS on additional hardware and in future versions of Windows 10.