CPUID results
CPUID is an x86 instruction that returns information about the processor it is running under. Before running the instruction, the type of information, called a leaf, is required and stored in register EAX. Depending on the leaf, it returns values in registers EAX, EBX, ECX, and EDX. Every bit stored in the registers may tells if a certain CPU feature is available or not. Details about the returned CPU information can be found at https://en.wikipedia.org/wiki/CPUID.
One of then pieces of CPUID returned information is a flag that tells whether the system is running on a hypervisor. Hypervisor is a CPU feature that supports running VM guests. For anti-VM, if this flag were enabled, it would mean that the process is in a VM guest. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access