Page 1 of 1

Can VMP protect memory from reading?

Posted: Fri Mar 29, 2024 7:13 am
by fuyifan
I have some global variables stored in heap? Does VMP have certain API which can protect these memory from reading by OD directly?

Re: Can VMP protect memory from reading?

Posted: Fri Mar 29, 2024 7:29 am
by Admin
Look at NtReadVirtualMemory. For more secure you can call this API directly with SYSCALL/SYSENTER.