1개월 전 · Jul 11, 2026 2:13 PM
How a Type-2 Hypervisor intercepts CR3 page table directory swaps:
- In the VMCS (Virtual Machine Control Structure), enable
CPU_BASED_CR3_LOAD_EXITINGbit inVMCS_PROC_BASED_EXEC_CONTROLS. - Whenever guest OS or anti-cheat executes
mov cr3, rax: - The CPU triggers an immediate #VMEXIT to hypervisor VMX root mode.
- Hypervisor reads the new CR3 target from
VMCS_EXIT_QUALIFICATION, logs the guest game process DirectoryTableBase, and executes__vmx_vmresume().
Guest software has 0 awareness that its CR3 operations were intercepted!