Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

HyperVision

A minimal Type-2 hypervisor for Windows x64 using Intel VT-x/VMX.

What It Does

HyperVision loads as a kernel driver and transparently virtualizes the running Windows OS. After loading, Windows continues to run normally but inside a virtual machine controlled by HyperVision. This provides:

  • Full VMX root control — intercept CPUID, MSR access, CR changes, EPT violations
  • EPT-based memory virtualization — identity-mapped with 2MB large pages
  • Stealth — hides hypervisor presence from CPUID detection
  • Clean shutdown — devirtualizes all cores on driver unload

Project Structure

common/     Architecture definitions (VMX, VMCS, EPT, segments)
driver/     WDM kernel driver source (C + MASM assembly)
docs/       Architecture docs and testing guide

Quick Start

# Build (requires VS2022 + WDK)
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -T "WindowsKernelModeDriver10.0"
cmake --build build --config Debug

# Load (in test VM with nested virt + test signing)
sc create hypervision type= kernel start= demand binPath= "C:\path\to\hypervision.sys"
sc start hypervision

# Unload
sc stop hypervision
sc delete hypervision

See docs/testing.md for detailed setup instructions.

Requirements

  • Intel CPU with VT-x support
  • Windows 10/11 x64
  • Hyper-V / VBS must be disabled
  • For testing: VMware with nested virtualization enabled

References

  • Intel® 64 and IA-32 Architectures Software Developer's Manual, Volume 3
  • HyperPlatform by tandasat
  • hvpp by wbenny

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages