CVE-2020-0890 | Windows Hyper-V Denial of Service Vulnerability proof-of-concept codeHyper-V DoS PoC.
This is code files of Visual Studio 2019 driver project.
1. Compile driver.
2. Enable nested virtualization for guest OS using command:
```
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
```
3. Run driver inside guest OS. Host OS will be rebooted or generate BSOD with HYPERVISOR_ERROR code.
Bug is present in Hyper-V from Windows Server 2019, Windows 10 with latest patches and
Windows 10 insider preview, build 10.0.20206.1000 and early.
Mitigations:
Simple disable nested virtualization on untrusted VM. Execute command on host server:
```
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $false
```
[4.0K] /data/pocs/579f62de8d9370a58440e98df5f52f7cf746bc21
├── [ 512] hvdetectdrv.inf
├── [7.9K] hvdetectdrv.vcxproj
├── [1.6K] hvdetectdrv.vcxproj.filters
├── [ 165] hvdetectdrv.vcxproj.user
├── [137K] hvgdk.h
├── [2.7K] hypervbsod.c
├── [1.4K] hypervbsod.h
├── [2.7K] hypervbsod.sln
├── [3.0K] hypervenlightments.c
├── [ 665] README.md
├── [ 267] vmx.asm
└── [4.0K] x64
└── [4.0K] Release
└── [ 20K] hypervbsod.sys
2 directories, 12 files