Type-2 Intel hypervisor for Windows 10 systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
_xeroxz 5e7e61a5d0
Update README.md
4 years ago
README.md Update README.md 4 years ago
VMCS.md Update VMCS.md 4 years ago
bluepill.sln init commit 4 years ago
bluepill.vcxproj getting rekted by vmxerror 7 (invalid control fields) 4 years ago
bluepill.vcxproj.filters getting rekted by vmxerror 7 (invalid control fields) 4 years ago
bluepill.vcxproj.user init commit 4 years ago
entry.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
exit_handler.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
hv_types.hpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
ia32.hpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
segment.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
segment_intrin.asm getting rekted by vmxerror 7 (invalid control fields) 4 years ago
segment_intrin.h getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmcs.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmcs.hpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmxexit_handler.asm getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmxexit_handler.h init commit 4 years ago
vmxlaunch.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmxlaunch.hpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmxon.cpp getting rekted by vmxerror 7 (invalid control fields) 4 years ago
vmxon.hpp init commit 4 years ago

README.md

Figure 1. First ever vmexit...

Bluepill

Bluepill is an Intel type-2 research hypervisor written with no access to github.com. This project is purely for educational purposes and is designed to run on Windows 10 systems. This project uses WDK and thus Windows Kernel functions to facilitate vmxlaunch.

VMCS

Dump of VMCS control fields can be found here. This is not required, but for learning its nice to see exactly what the MSR masks are, and what VMCS field's there are. When I first configured the VMCS control field(s), I was setting whatever bits I thought I needed high after applying VMX reserved bit masks. This was causing vmxerror #7 (control field misconfiguration). Also I found out my xeons dont support xsave, nor do they support processor tracing.