whosstyler/Type2-AMD-HV — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a research Windows hypervisor project for an AMD machine, meant for learning and testing in a VM. It should be a type 2 driver written mostly in C, with only the tiny assembly parts needed for the VMRUN loop and interrupt stubs.

When the driver is loaded by my own loader, it should turn on AMD SVM on every CPU, keep Windows running normally as the guest, and only intercept the basics like VMRUN, VMMCALL, a couple of MSRs, and nested page faults from its own hooks.

I also want a small user mode client that can talk to it with hypercalls, so I can test reading and writing another process memory, installing and removing NPT page hooks, hiding a memory range, and looking up process details like CR3 for a PID.

Please keep it as a clean substrate only. Don’t add anti cheat bypasses, injection, mouse hooks, spoofing, or anything like that. Add clear comments and diagrams or notes where the AMD manual behavior is tricky.

Want more depth? Deep Reverse