Hypervisor

The software layer that creates and runs virtual machines and enforces isolation between them; a type 1 hypervisor runs directly on hardware, a type 2 runs on a host operating system.

A hypervisor, or virtual machine monitor, is the software layer that creates, runs and manages virtual machines, giving each a share of the physical hardware while keeping the guests isolated. Two types are commonly distinguished. A type 1 hypervisor, sometimes called bare metal, runs directly on the hardware. A type 2, or hosted, hypervisor runs as an application on a host operating system.

Because the hypervisor enforces the separation between guests, it is a critical part of the trusted computing base of a virtual environment. A flaw that lets code in a guest reach the hypervisor, a virtual machine escape, can undermine the isolation of every guest on that host. The controls that follow are keeping the hypervisor patched and its attack surface small, restricting and protecting the management interfaces that administer the estate, and separating workloads that must not share a host. NIST SP 800-125 gives guidance on securing full virtualisation. Containerization differs: containers share the host’s kernel rather than each running its own guest operating system on a hypervisor.

Exam relevance: a scenario may ask which component, if compromised, would expose every virtual machine on a host, and candidates are expected to identify the hypervisor and its management plane. The type 1 and type 2 distinction tends to turn on where the hypervisor runs.