Join our Newsletter — 33% off our NHI Course
Home› Guides› Hyper-V and Nutanix Mass Encryption Playbook: Respond, Recover…
Guide Incident Response & Forensics

Hyper-V and Nutanix Mass Encryption Playbook: Respond, Recover and Restore Trust Beyond ESXi

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 15 min read
On this page

When ransomware encrypts virtual machines at the hypervisor layer, every guest on the affected hosts goes down at once, and recovery depends on whether your replicas, snapshots and management plane were out of the attacker's reach. This playbook covers response and recovery for mass encryption on Microsoft Hyper-V and Nutanix AHV environments: the first hour, containment decisions, how to choose a clean recovery source on each platform, the order in which to bring services back and how to restore trust in the identities that run the virtualisation layer.

It is written for incident responders, virtualisation administrators and identity teams. It does not cover attacker techniques beyond what is needed to recognise the event. VMware ESXi has its own procedure in the ESXi Ransomware Playbook, and a broader management plane compromise without encryption is covered by If your hypervisor and virtualisation platform is compromised. Platforms in this guide are covered in alphabetical order (Microsoft Hyper-V, then Nutanix AHV) with the same structure and depth for each; this is not a comparison or a ranking.

Key takeaways

  • Hypervisor level encryption is a mass outage event. Declare a major incident as soon as more than one host or many guests show encrypted or missing virtual disks, and bring in identity, backup and business continuity owners straight away.
  • Contain by isolating management networks and disabling the identities that can administer hosts, not by powering everything off. Hosts that are still running hold evidence and may hold unencrypted data.
  • Do not fail over or restore until you know the recovery target is clean. Replicas, snapshots and recovery points inside the same administrative domain may have been deleted or encrypted too.
  • On Hyper-V, recovery sources include Hyper-V Replica recovery points, exported checkpoints and separate backups; Microsoft states that standard checkpoints are not a full backup.
  • On Nutanix, recovery sources include local and remote snapshots defined by protection domains or protection policies, and Prism Central can be rebuilt from its own backup on a designated cluster.
  • Recover identity first: directory services, the accounts that administer the hypervisor, backup service accounts and replication credentials. A clean host managed by a compromised identity is not clean.
  • Bring services back in dependency order and validate each tier before reconnecting it to production networks.

Scope and triggers

Use this playbook when one or more of the following is true for Hyper-V hosts or clusters, or for Nutanix AHV clusters:

  • Many virtual machines fail to start, or their virtual disk files have been renamed, replaced or appear encrypted.
  • A ransom note appears on host storage or management interfaces rather than inside a single guest.
  • Snapshots, checkpoints, replicas or recovery points have been deleted in bulk, or retention settings have been changed without a change record.
  • Guest services stopped across many virtual machines at the same time, followed by storage level changes.

The relevant MITRE ATT&CK impact techniques are T1486 Data Encrypted for Impact, T1490 Inhibit System Recovery, T1489 Service Stop and T1529 System Shutdown/Reboot. Access to the management plane usually comes through T1078 Valid Accounts, which is why identity recovery is a core part of this playbook.

If the encryption is confined to files inside a few guests, use your standard Ransomware Response and Recovery Guide instead.

Roles and decision owners

RoleOwnsKey decisions
Incident commanderOverall response, timeline, communication cadenceDeclaring the incident, approving containment that causes further outage
Virtualisation leadHost, cluster and management plane stateWhich hosts to isolate, which recovery source to use per workload
Identity leadDirectory, privileged accounts, service accounts, certificatesWhich identities to disable, when the directory is trusted again
Backup and recovery leadBackups, replicas, snapshots, recovery pointsWhether a recovery point is clean, restore order
Forensics leadEvidence preservation and scopingWhat must be captured before rebuild
Business continuity ownerService priorities and workaroundsRecovery order by business impact
Legal and communicationsRegulatory, contractual and public notificationNotification timing and content

The first hour

  1. Declare and assemble. Open a major incident bridge. Use out of band communication if corporate email, chat or telephony run on the affected hosts.
  2. Stop the spread at the management plane. Isolate host management networks, cluster management interfaces and remote access paths to them at the network layer. Keep a record of every change.
  3. Freeze privileged identities. Disable or reset the accounts that can administer hosts and clusters, except a small break glass set held by the response team. Revoke active sessions where the platform allows it.
  4. Protect recovery assets. Disconnect or lock down backup infrastructure, replica targets and remote clusters so that ongoing attacker activity cannot reach them. Do not start a failover yet.
  5. Preserve evidence. Capture host logs, management plane audit logs, a sample of encrypted files and ransom notes, and screenshots of console state before any rebuild.
  6. Inventory impact. List affected hosts, clusters and guests, and the state of each one's recovery sources.
  7. Notify early. Brief legal and executive owners, and check reporting obligations. The CISA #StopRansomware Guide includes a response checklist that is useful at this stage.

Avoid two common first hour mistakes: powering off every host (which destroys volatile evidence and may interrupt unencrypted workloads) and failing over immediately to a replica site that shares credentials with the compromised one.

Containment decisions

Isolate or shut down

Prefer network isolation of management interfaces over shutdown. Shut down a host only when encryption is still actively progressing on it and isolation cannot stop it, and record the time and reason.

Directory trust

If hosts or management tools authenticate against a directory that may be compromised, treat the directory as part of the incident. Do not use directory credentials to log on to recovery infrastructure until the identity lead confirms they are safe. The Active Directory Domain Compromise Response Playbook covers that workstream.

Replication links

Pause or break replication between affected and recovery sites so that encrypted or deleted data is not copied over clean replicas, and so the attacker cannot use replication trust to reach the second site.

Backup systems

Assume the attacker targeted backups. Check that backup catalogues, immutable copies and offline copies are intact before relying on them. For deeper investigation of backup infrastructure, see If your backup and cyber recovery platform is compromised.

Microsoft Hyper-V: response and recovery

Understand the recovery sources

Hyper-V Replica, according to Microsoft, is a built in feature of Hyper-V in Windows Server that replicates virtual machines between hosts for business continuity and disaster recovery, maintaining an asynchronous copy of a VM's storage on another host or cluster without shared storage. Changes can be sent at intervals of 30 seconds, 5 minutes or 15 minutes. The default is a single latest recovery point, and up to 24 hourly recovery points can be kept so that you can revert to an earlier state. Volume Shadow Copy Service integration can provide application consistent recovery points for VSS aware applications.

Checkpoints are a second source. Microsoft describes production checkpoints, the default, as using VSS inside Windows guests (or file system freeze on Linux) to create a data consistent backup without memory state, while standard checkpoints capture memory state and are not a full backup. Checkpoints are stored as .avhdx files in the same location as the virtual machine's .vhdx files, so an attacker who can encrypt the virtual disks can usually reach the checkpoints too. Treat checkpoints on affected storage as suspect.

Separate backups, held outside the Hyper-V administrative domain, are the third and usually the most trustworthy source.

Choose a recovery point

  • Select a recovery point from before the earliest confirmed attacker activity, not just before encryption started. Attackers often have access for days before they encrypt.
  • When using Replica, choose among the retained hourly recovery points rather than the latest one if the latest may already contain attacker changes.
  • Confirm the replica host or cluster was not reachable with the same compromised credentials. Microsoft supports Kerberos authentication for domain joined hosts and certificate based authentication for non domain joined hosts; if the replica trusts the same compromised directory or certificates, scope it into the investigation first.

Test before you fail over

Microsoft states that a test failover can be run at any point without affecting production, creates a temporary copy of the replica VM on the secondary host, and is isolated from the production network. Use test failover to inspect each critical virtual machine from a clean administrative workstation, scan it and confirm it is free of attacker tooling before committing.

Fail over

Microsoft describes planned failover as shutting the primary VM down gracefully and replicating remaining changes before switching roles, and unplanned failover as starting the replica without shutting down the primary, which can result in data loss. In a mass encryption event, the primary is untrusted, so unplanned failover from the secondary is the usual path. Do not let remaining changes from an encrypted primary replicate across. For clustered hosts, the Hyper-V Replica Broker handles highly available VMs that move between cluster nodes, so include it in your scoping and rebuild.

Rebuild hosts

  • Rebuild affected Hyper-V hosts from trusted installation media rather than cleaning them in place.
  • Rejoin them only to a directory the identity lead has declared trusted, or keep management in a separate administrative forest or workgroup during recovery.
  • Issue new certificates for replication if certificate based authentication was used, and remove trust in the old ones.
  • Re-establish replication only after both ends are rebuilt and verified. Reverse replication, which Microsoft describes as synchronising changes back after the primary is restored, should run from clean hosts only.

For hardening the rebuilt environment, see the Hyper-V Security Guide.

Nutanix AHV: response and recovery

Understand the recovery sources

The Nutanix Bible describes snapshots as zero copy, and protection domains as a group of VMs or files to be replicated together on a desired schedule, with consistency groups for subsets that must be snapshotted together in a crash consistent manner. Retention policies set how many local and remote snapshots are kept, and a remote site is a remote Nutanix cluster used as a backup or disaster recovery target. A storage only cluster can serve as a backup only target.

Policy driven disaster recovery, configured through Prism Central, applies protection policies at the category level, setting snapshot frequency, recovery location and retention. Recovery points, which the Nutanix Bible defines as restoration points or snapshots, can follow linear or roll up retention.

Local snapshots on an affected cluster share an administrative domain with the encrypted workloads. Remote site snapshots and separate backups are usually more trustworthy, provided the remote cluster was not administered with the same compromised credentials.

Choose a recovery point

  • Select a recovery point from before the earliest confirmed attacker activity, not just before encryption started.
  • Check retention and schedule settings for changes made during the attack window, since shortened retention or removed schedules can indicate an attempt to remove recovery points.
  • Confirm which remote sites and availability zones were paired with the affected cluster, and scope any that shared administrative accounts.

Test before you recover

Recovery plans in Nutanix Disaster Recovery are runbooks that define power on sequencing and network mapping, including test failover and failback networks. The Nutanix Bible advises using a non routable or isolated network for test networks. Use that isolation to inspect restored virtual machines from a clean administrative workstation before connecting them to production.

Restore or fail over

The Nutanix Bible describes two restore modes from a snapshot: restore replaces the original VMs or files, and clone creates new entities. In a mass encryption event, cloning to new entities preserves the encrypted originals as evidence while you validate the restored copies. Recovery plans let you apply staged power on, and the Nutanix Bible recommends bringing up core services such as directory and DNS first, then dependent tiers in order.

Recover the management plane

If Prism Central itself is affected, the Nutanix Bible describes Prism Central Backup and Restore, which continuously backs up Prism Central configuration to between one and three designated Nutanix clusters. When a restore occurs, Prism Central is rebuilt on one of the backup clusters. If the original cluster comes back online, the original Prism Central should be shut down or deleted. Before restoring, confirm the backup target clusters were not compromised, and plan to rotate all Prism Central credentials after the rebuild.

Rebuild clusters

  • Reimage affected hosts and controller components from trusted media rather than cleaning them in place.
  • Rotate local administrative, Prism and directory integrated accounts, and any API keys or service accounts used by backup and automation tools.
  • Re-establish replication to remote sites only after both ends are rebuilt and verified.

For hardening the rebuilt environment, see the Nutanix AHV and Prism Security Guide.

Identity and credential recovery

Hypervisor mass encryption almost always involves privileged credentials. Restore trust in this order:

  1. Directory services. Recover or validate domain controllers first, from a known clean source, and reset privileged account credentials.
  2. Hypervisor administrators. Issue new credentials to a minimal set of named administrators, enforce phishing resistant MFA on management access and remove standing access for everyone else.
  3. Non human identities. Rotate service accounts, API keys and certificates used by backup software, monitoring, orchestration and replication. These identities often have broad rights and are easy to overlook. See the Backup Identity Isolation Guide.
  4. Local and break glass accounts. Change local host and cluster passwords, and store new break glass credentials offline.
  5. Guest credentials. Once guests are restored, rotate credentials stored in or used by them, since restored machines carry the secrets they held before the attack.

Recovery sequencing and validation

TierExamplesValidation before moving on
0: Recovery infrastructureClean admin workstations, out of band network, backup and replica targetsRebuilt from trusted media, new credentials, no shared trust with affected domain
1: Identity and namingDirectory, DNS, certificate servicesPrivileged accounts reset, no unknown admins, audit logging working
2: Management planeHyper-V cluster management, Prism CentralRebuilt or restored, credentials rotated, audit logs forwarded off platform
3: Core dataDatabases, file servicesIntegrity checks pass, restored from pre intrusion point
4: ApplicationsLine of business applicationsFunctional tests, no attacker tooling found
5: User facing servicesWeb front ends, remote accessMonitoring in place, phishing resistant MFA enforced

Keep restored workloads on isolated networks until their tier is validated. Track recovery time per tier against the business continuity owner's priorities, and record which recovery point each workload came from.

Evidence and notification

  • Preserve a copy of encrypted virtual disks, ransom notes, host and management plane logs, and backup and replication logs for the attack window.
  • Record configuration changes made by the attacker, including retention changes, deleted snapshots or recovery points and new accounts.
  • Keep a timeline linking each containment and recovery action to a person and time.
  • Assess notification duties with legal counsel, and consider reporting to national authorities. NIST SP 800-61 Rev. 3 provides incident response recommendations that can structure this work.

Common failure patterns

  • Failing over to a contaminated site. The recovery site shared the same administrators, directory or certificates and was encrypted or backdoored as well.
  • Restoring the latest recovery point. The most recent point already contained attacker accounts or tooling, so the attacker returned.
  • Treating checkpoints or local snapshots as backups. They sat on the same storage and under the same administrators as the encrypted disks.
  • Rebuilding hosts but not identities. New hosts were joined to a directory the attacker still controlled.
  • Forgetting service accounts. Backup and replication service accounts kept their old credentials and broad rights.
  • Restoring over the evidence. Overwriting encrypted originals removed the material investigators needed.
  • Reconnecting too fast. Restored workloads joined production networks before validation.

Practitioner checklist

  • Document which recovery sources exist for each critical workload on Hyper-V and on Nutanix, and which identities can delete them.
  • Keep at least one copy of critical workloads outside the hypervisor administrative domain, with separate credentials.
  • Pre stage clean administrative workstations and an out of band communication channel.
  • Keep multiple Hyper-V Replica recovery points or Nutanix retention points for critical workloads, so you can recover from before the intrusion.
  • Exercise test failover into isolated networks at least twice a year.
  • Maintain a recovery runbook that orders tiers by dependency, starting with identity.
  • List every service account, API key and certificate used by backup, replication and automation, with a rotation procedure.
  • Forward hypervisor and management plane audit logs to a system the virtualisation administrators cannot alter.
  • Run a tabletop exercise, such as the Ransomware Tabletop Exercise, that starts at the hypervisor layer.

Standards and references

Related NHI Mgmt Group resources: ESXi Ransomware Playbook · If your hypervisor and virtualisation platform is compromised · Ransomware Response and Recovery Guide · Backup Identity Isolation Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.