I couldn\'t find an easy way that an userspace program can directly write to machine memory in windows, but it seems like shadow page tables do exactly that? The hypervisor