A virtual machine (VM) is a software-based computer that runs inside a host system and behaves like a separate machine. It is commonly used for cloud workloads, testing, sandboxing, and malware analysis because it gives strong logical isolation without requiring separate physical hardware.
In security, a VM reduces exposure but does not eliminate risk. Attacks can target the hypervisor, abuse shared resources, or leak information through side channels such as timing, cache behavior, power use, or other physical emissions. This matters in high-assurance environments because a VM may still be influenced by activity on the underlying CPU and other hardware. Defenders use patched hypervisors, strict tenant separation, monitoring, and, for sensitive systems, physical controls like shielding and reduced co-location risk.


