Virtual Machine Introspection as an Evasion and Defense Technique
Watching from the hypervisor beats evasive malware, until attackers hold that seat.

Virtual Machine Introspection is both a defense against evasive malware and a way to evade defenses. Its power comes from observing a virtual machine outside its operating system, beyond the reach of in-guest controls. That position is not inherently friendly territory. Security teams need to understand who controls it, what it can see, and where its view can be deceived.
Why in-guest security controls have a structural blind spot
Endpoint detection and response software depends on sensors anchored inside the guest operating system’s kernel. When attackers get kernel-level access, they can compromise those sensors or shut them down completely. Once an attacker controls that territory, a quiet sensor may mean that nothing happened, or that someone cut its microphone.
User-mode telemetry has a related weakness at a more specific boundary. EDR products receive events from user-mode ETW providers through EtwEventWrite in ntdll.dll, an in-process function responsible for event emission. Patching it can silence the process’s user-mode ETW event stream without that stream giving the EDR an out-of-process way to notice. The scope of that claim is important. Kernel-mode providers such as ETW-TI are unaffected by patching this function, so disabling this path is not the same as disabling every EDR signal.
The Red Report 2026 ranked Virtualization and Sandbox Evasion (T1497) as the fourth most commonly observed technique. Attackers are probing the environment as well as attacking applications. Fingerprinting an analysis system before committing a payload complements attacks on telemetry because both target what defenders can learn. Observation itself is part of the attack surface.
What VMI is and why the hypervisor position changes the trust model
Virtual Machine Introspection, or VMI, moves observation outside the guest operating system. From the hypervisor’s position, it can read VM memory, watch CPU registers, and trace execution without installing an agent or code inside the guest. The guest has no monitoring component to disable. That changes the trust model because the detection pipeline no longer depends on surviving within the operating system it examines.
Classical VMI rests on a trusted hypervisor with visibility into the VM’s state. Under that model, code inside the VM cannot modify the hypervisor-side monitor, while the monitor can observe VM state and capture code execution originating inside it. The benefit is not simply a better-hidden agent, but a separation between the monitored system and the mechanism watching it.
The HypErSIS project frames this separation as a way to stop attacks inside VMs from disabling detection mechanisms outside them. Its approach extends to detecting and preventing malware infiltration into virtualized operating system kernels. A pipeline that runs wholly outside the monitored VM needs no guest agents or in-VM components. There is no local plug for the malware to pull. But this protection depends on that position staying within reach and safe to trust.
The semantic gap: the engineering problem that determines whether VMI works in practice
The hypervisor can see memory pages, CPU registers, and I/O operations. It does not receive a neatly labeled account of processes, file handles, or network connections. The semantic gap lies between those raw observations and what they mean in the operating system. Having access to every page is not the same as understanding the book.
The foundational VMI architecture paper at NDSS established this gap as the field’s defining problem. To make sense of what they see, analysts need knowledge of the guest operating system’s internal data structures, drawn from debugging symbols or reverse engineering, especially for closed-source software. That knowledge connects a memory location to a useful security concept. Off-the-shelf tooling therefore cannot simply be pointed at an arbitrary guest and expected to understand it.
Bridging the gap also has a runtime cost. Traditional context-switching methods impose overhead on guest applications, making performance a deployment constraint. Srivastava’s kernel observation work describes Wizard as an approach that works without trusting guest OS data structures at all. Instead, it correlates events at the high-level kernel service interface with events at the low-level hardware device interface. The work reports moderate overhead on guest applications, illustrating that a different trust strategy still requires an engineering trade-off.
How the research ecosystem has built working VMI systems around this problem
LibVMI provides a widely adopted, open-source introspection API across virtualization backends, while libmicrovmi also pursues cross-hypervisor unification. These projects give implementations a common foundation for accessing VM state. They do not abolish the semantic gap. Their role is to support systems that turn low-level access into useful observations without rebuilding every backend connection from scratch.
DRAKVUF builds a large-scale dynamic malware analysis framework on LibVMI. Tamas Lengyel originally presented it at ACSAC 2014, running in Xen’s Dom0 and using breakpoint injection to trap kernel functions and detect Direct Kernel Object Manipulation attacks. Here, execution interception connects the hypervisor’s view to meaningful kernel activity. Active development includes an ongoing effort to run the framework on VirtualBox through LibVMI and libmicrovmi. That effort signals broader backend support.
Other systems address different parts of the problem. vDefender, described in 2024, is an explainable, introspection-based malware detection system for fine-grain monitoring of VM processes at the hypervisor. It is designed to identify malicious behavior across 17 different Windows malware families exhibiting new evolving behavior. Stackdb takes a layered approach instead. Its composable debugger targets allow simultaneous observation of a PHP script, its Linux process, and the Xen VM kernel, coordinating meaning across those levels.
“Benchmarking Hyper-Breakpoints for Efficient Virtual Machine Introspection,” published in Electronics in 2025 under the HypErSIS project, describes a detection pipeline resistant to EDR killers including the FudModule rootkit and Turla Kazuar loader. This connects the architecture directly to attacks on in-guest sensors. The monitor’s location is part of its protection.
The same hypervisor vantage point that defends can be weaponized
The separation that protects a defender’s monitor can also protect an attacker’s activity from in-guest controls. An operator at the hypervisor level works below the guest operating system and the mechanisms it uses for detection. If an adversary controls that position, the same architecture that frustrates malware tampering can frustrate defensive inspection.
Karkallis and Blasco’s VIC paper, published on arXiv in 2025, demonstrates this through Virtual Machine Introspection Cheats. The system uses an introspection-enabled hypervisor to read and change the memory of a game process from outside the guest. The authors demonstrated evasion of user-level and kernel-level anti-cheat systems in Fortnite, BlackSquad, and Team Fortress 2. Together, those games included five different anti-cheat implementations, all evaded.
The VIC authors also propose a possible extension to cheating-as-a-service over cloud infrastructure. Its significance is that virtualization can supply both the privileged position and a way to deliver it at scale. This applies beyond anti-cheat software because an in-guest detection control cannot directly see or stop activity at the hypervisor layer. A stronger kernel sensor does not, by itself, change which side of that boundary it occupies.
VMI sandboxes have their own detectable side effects that adversaries exploit
An outside monitor can be protected from direct tampering without being invisible. VMI introduces execution pauses that can be measured inside the guest, revealing the presence of a sandbox. Malware may only need to notice that execution behaves differently when someone is watching.
Cosseron, Rilling, and Quinson’s ESORICS 2025 paper proposes metrics for characterizing these side effects in multi-core guests and a strategy for concealing VMI pauses. The work also identifies shortcomings in that strategy, particularly where concealment must be coordinated across vCPUs. Existing sandbox countermeasures have limits in multi-core guests too.
This gives T1497 a concrete connection to VMI rather than a generic association with virtual machines. Timing attacks and environment fingerprinting can probe the artifacts of monitoring itself. The distinction is between preventing malware from disabling a monitor and preventing malware from recognizing that it is under analysis.
Confidential computing is breaking the foundational assumption VMI rests on
Classical VMI assumes the hypervisor can inspect guest memory and CPU state. Confidential VMs deliberately remove that access from the normal hypervisor. This is a different trust model, designed to protect workloads from the hypervisor, traditional introspection’s privileged observer.
RealmEye, described by researchers from the Chinese Academy of Sciences and UCAS in an August 2026 arXiv paper, addresses that boundary for Arm CCA Realm VMs. The work describes the first VMI system for those VMs, with introspection logic inside the Realm Management Monitor at R-EL2. There, hardware keeps the monitor separate from the VM it watches, with no agent inside the Realm. On the Arm FVP, it detects process hiding and syscall-table hooking by the Diamorphine rootkit. The observer moves again, this time into the protected architecture.
Yet RealmEye also exposes a register-forging weakness in its design. VBAR_EL1, TTBR1_EL1, and SP_EL0 are ordinary EL1-writable system registers in ARMv9-A, so kernel code can write them before causing an exit. The RMM cannot distinguish a forged value from a genuine one. A rootkit can therefore steer the introspection system’s own process-list traversal.
Arm engineers have posted a revised patch series that adds KVM support for protected virtual machines under Arm CCA. It allows a host to create and run Realm VMs whose memory and CPU state remain inaccessible to the normal hypervisor. When that support merges, the visibility gap becomes a production concern. Existing VMI tooling cannot assume that yesterday’s privileged viewpoint will remain available.
What the dual-use symmetry means for how security teams should reason about VMI
VMI makes attacks much more costly by ruling out an entire class of in-guest tampering with an outside detection pipeline. It does not end the contest. Instead, it relocates the contested boundary toward the hypervisor and makes control of that layer central to the security argument. The VIC example shows why evaluating a sensor’s privilege without evaluating who holds it leaves half the analysis undone.
For security teams evaluating VMI, the lesson is to examine the remaining boundaries rather than treat “agentless” as a complete security claim. How does the system reconstruct guest meaning, and which guest-controlled structures or register values does it trust? Can evasion-aware malware detect its pause artifacts? Does the workload permit hypervisor visibility at all? These questions distinguish a protected monitoring component from a dependable detection architecture.
Performance belongs in that evaluation too. DPU offloading is a new approach that moves introspection processing off the host CPU while keeping the out-of-guest trust boundary in place. It addresses the overhead objection without giving up the separation that makes VMI useful. It does not, by itself, answer questions about semantic interpretation, detectable pauses, or confidential VM access.
Security vendors explaining VMI to detection engineers, CISOs, and threat intelligence teams need to preserve these distinctions. Threat-intelligence-grounded content should apply the same rigor that practitioners apply to a detection control, including its adversarial uses and residual attack surface. A system’s trust boundary, interpretation, and visibility must hold in the environment where it will operate.
Sources
- A Virtual Machine Introspection Based Architecture for Intrusion Detection
- HypErSIS - Malware, Cybercrime and Threat Intelligence Research Group
- VIC: Evasive Video Game Cheating via Virtual Machine Introspection
- Mitigation of the Impact of Virtual Machine Introspection Pauses on Multi-core Virtual Machines
- Benchmarking Hyper-Breakpoints for Efficient Virtual Machine Introspection
- Virtualization/Sandbox Evasion, Technique T1497 - Enterprise


