Virtualisation Threats, Storage and Resilience
Virtual environments offer powerful resilience features and face specific threats. This lesson explains continuity and resilience with snapshots, migration, clustering and replication, storage management and data domains, and threats such as VM escape, VM sprawl and brute-force attacks, with countermeasures including threat hunting.
Learning outcomes
After completing this lesson, you will be able to:
- Describe virtualisation continuity and resilience features.
- Explain storage management and data domains.
- Identify threats specific to virtual environments.
- Choose countermeasures and describe threat hunting.
Continuity and resilience
Virtualisation provides features that support availability and recovery.
- Snapshot
- A point-in-time image of a VM's disk, and optionally memory, state. Useful before changes, so that a failed update can be rolled back. Snapshots usually depend on the original storage and degrade performance if kept, so they are not backups.
- Live migration
- Moving a running VM from one host to another without downtime, for maintenance or load balancing.
- High-availability clustering
- If a host fails, its VMs restart automatically on other hosts in the cluster; fault tolerance features can keep a synchronised shadow VM running for near-zero downtime.
- Replication
- Copying VMs to another site or cloud region so they can be started there in a disaster, supporting short recovery times.
- Templates and golden images
- Hardened, approved VM images from which new systems are built consistently and rebuilt quickly after compromise.
Resilience planning avoids single points of failure in hosts, storage arrays and networks, keeps separate, tested backups of VMs and their data (ideally immutable and stored apart from the virtual environment's credentials, because attackers who control the hypervisor often delete snapshots and backups), and tests recovery against RTO and RPO.
Storage management
Virtual environments rely on shared storage, such as storage area networks (SANs), network-attached storage (NAS) and hyper-converged storage. Storage management keeps data separated, protected and available. A data domain is a logical storage area, such as a separate datastore, volume, LUN or storage pool, with its own access controls, used to separate systems, tenants or data of different classifications. Hosts are permitted to see only the volumes they need (through LUN masking and zoning), storage networks are isolated from user networks, and administrative access to storage systems is restricted and logged.
Data is encrypted at rest on the storage arrays or within VMs. VM images and disk files contain whole systems, including credentials, keys and data, so copying one is equivalent to stealing the server; they are protected like the most sensitive data they contain. When VMs and volumes are deleted, the storage is sanitised or cryptographically erased so that data does not remain for the next user of the space.
Threats and attacks
Virtual environments face familiar threats and some specific ones.
- VM escape: exploiting a hypervisor or device emulation flaw to break out of a guest VM and run code on the host or other guests. Rare but critical.
- Hypervisor and management compromise: stolen administrator credentials or exploited management interfaces give control of all VMs.
- Brute-force attacks against exposed management consoles, SSH or RDP on guests, and APIs.
- VM sprawl: uncontrolled creation of VMs that are forgotten, unpatched and unmonitored, enlarging the attack surface.
- Theft of VM images and snapshots, which contain complete systems and secrets.
- Resource exhaustion: a VM or container consuming shared CPU, memory or storage and degrading others (the noisy neighbour problem), whether accidental or malicious.
- Inter-VM attacks across virtual networks that lack segmentation, and side-channel attacks between co-located VMs.
The following diagram compares snapshots on the same storage array with separate backups.

Virtualisation threats
Countermeasures and threat hunting
Countermeasures follow from the threats: patch hypervisors and firmware promptly and minimise enabled features (VM escape); isolate and protect management with MFA, least privilege, jump hosts and monitoring (management compromise); apply lockout, MFA and restricted exposure (brute force); maintain an inventory with owners and lifecycle processes that retire unused VMs (sprawl); encrypt and restrict access to images and backups (theft); set resource limits and reservations (exhaustion); and segment virtual networks with virtual firewalls and micro-segmentation (inter-VM attacks).
Threat hunting is the proactive, analyst-led search for threats that automated tools have not detected. Hunters form a hypothesis, for example "an attacker may be using stolen credentials to access the virtualisation management console outside working hours", based on threat intelligence and frameworks such as MITRE ATT&CK, then search hypervisor, management, EDR and network logs to confirm or refute it. Findings lead to incident response if threats are found and to new detection rules either way. The following table summarises threats and countermeasures.
| Threat | Key countermeasures |
|---|---|
| VM escape | Patch hypervisors; disable unneeded virtual devices and features; separate trust levels |
| Management compromise | Management network, MFA, least privilege, logging |
| Brute force | MFA, lockout, no internet exposure of consoles |
| VM sprawl | Inventory, ownership, lifecycle and decommissioning processes |
| Image and snapshot theft | Encryption, access control, monitoring |
| Resource exhaustion | Resource limits and reservations, monitoring |
Securing virtual environments
Snapshots are not backups
An administrator relies on daily VM snapshots stored on the same storage array as the VMs as the only backup. Ransomware operators gain access to the virtualisation console and delete the snapshots before encrypting the datastore. What should have been in place?
Separate backups: copies stored on different storage, ideally immutable or offline, with credentials independent of the virtualisation console, so that an attacker who controls the hypervisor cannot delete them. Snapshots depend on the same storage and administrative access, so they are convenient rollback points, not backups. The console should also have been protected with MFA and a management network.
Forgotten VMs
A vulnerability scan finds 120 VMs that no one can identify an owner for, many running unsupported operating systems. What problem is this and how is it fixed?
This is VM sprawl. Identify owners through inventory data, network activity and application records; shut down or isolate those with no owner after notice; patch or replace the ones that are needed; and introduce lifecycle controls: required owner tags, expiry dates for test VMs, approval for new VMs and regular reconciliation.
What is VM sprawl, and why is it a risk?
Show answer
The uncontrolled growth of virtual machines that are forgotten, unpatched and unmonitored, which enlarges the attack surface.
Exam Tips
Remember for the exam
- Snapshots are not backups; keep separate, protected backups.
- VM escape threatens every guest on a host; patch hypervisors and limit features.
- VM sprawl is controlled by inventory and lifecycle management; threat hunting is hypothesis-driven.