Bali, Indonesia
Insights

Air-Gapped Backup Invalidation: Why LockBit 3.0 Blinded PDN via Compromised vCenter Network Control Planes

Invalid Date
0:00
When Indonesia's Temporary National Data Center (PDNS 2) went dark in June 2024, halting immigration checkpoints, ministerial workflows, and civil service portals nationwide, public postmortems quickly identified LockBit 3.0 (specifically the BrainCipher variant) as the culprit. As detailed in the academic postmortem Studi Kasus Pusat Data Nasional (PDN), the incident revealed a fatal flaw common to enterprise infrastructure: a single credential compromise or perimeter pivot did not merely compromise a subset of guest workloads—it took down the entire hypervisor fabric and obliterated co-located backups in a single stroke. To understand why virtualized environments collapse so violently under modern ransomware, we have to look past simple endpoint hygiene and dissect the topology of centralized virtualization control planes. In standard enterprise vSphere deployments, hundreds of independent virtual machines share underlying bare-metal compute nodes, clustered storage fabrics, and centralized orchestrators like vCenter. If the hypervisor management network shares a routing domain with ordinary jump hosts, corporate VPNs, or internal staging networks, the virtual machine isolation model is functionally dead on arrival.
Modern ransomware operators no longer bother encrypting guest operating systems machine by machine. Operating inside a guest VM requires traversing individual guest firewalls, contending with unique endpoint detection and response (EDR) agents, and waiting on slow NTFS or ext4 filesystem traversal over virtual block devices. Targeting the underlying ESXi hypervisors is orders of magnitude more destructive and efficient. Once an adversary pivots into a vCenter server or extracts administrative credentials, they gain programmatic control over the ESXi management vmkernel interfaces (vmk0). Through the vSphere API or direct SSH sessions opened via host profiles, the malware executes an orchestrated shutdown of guest processes. It enumerates running worlds and terminates virtual machine monitor threads with raw commands:
BASH
# Enumerate running VMs and terminate their processes
esxcli vm process list
esxcli vm process kill --type=force --world-id=<WorldID>
# Iterate through VMFS datastores to corrupt flat VMDK descriptors and headers
find /vmfs/volumes/ -name "*.vmdk" ! -name "*-flat.vmdk" -exec ...
By severing the virtual machine process (vmx), the ransomware unlocks file handles on the VMFS datastore. Rather than encrypting hundreds of gigabytes of sparse raw data inside a -flat.vmdk, specialized ESXi encryptors corrupt the VMDK header descriptors and use intermittent byte-range encryption on the first few megabytes of the block payload. In seconds, a datastore hosting dozens of terabytes of critical multi-tenant databases becomes an unrecoverable pool of corrupted metadata. Because ESXi lacks a rich userland daemon architecture—running a proprietary, stripped-down VMkernel rather than a conventional Linux distribution—third-party behavioral EDR agents rarely run natively on the hypervisor nodes, leaving the malicious execution invisible until the management API stops answering.
In the PDN postmortem, the most damning engineering failure was not just the encryption of running production nodes, but the immediate discovery that secondary backups were unavailable or wiped simultaneously. Many engineering teams design backup topologies on paper with what they believe is an 'air-gap'. In reality, this usually amounts to a secondary Network-Attached Storage (NAS) appliance or an isolated vSAN pool mounted directly via NFS or iSCSI across the same management VLAN or routed through an internal core switch. If your backup repository exposes management interfaces (SSH, IPMI, or a web console) to the same administrative credential tree, or if the backup software agent runs with root privileges that can execute automated prune and snapshot-delete commands, you have a shared blast radius, not an air-gap. LockBit operators routinely query the active directory domain for backup service accounts, identify systems running Veeam, Commvault, or native scripts, and issue storage API commands to purge shadow copies, delete snapshot chains, and wipe remote LUNs before triggering datastore encryption. A storage volume mounted as a read-write filesystem to a hypervisor host is structurally exposed to any entity holding execution privileges on that host. True immutability requires enforcing write-once-read-many (WORM) constraints at the hardware controller or storage appliance layer, isolated by a control plane that rejects deletion or overwrite requests regardless of the caller's administrative credentials.
Eliminating this systemic vulnerability requires stripping management authority away from shared network topologies. Hypervisor control planes (vmk0, IPMI/iDRAC, vCenter, and SAN controllers) must reside on dedicated, physically isolated Out-of-Band Management (OOBM) networks with no default gateway pointing toward general tenant routing fabrics. Access to this management plane must be restricted to hardware-isolated jump hosts governed by physical hardware tokens (FIDO2) and zero-standing-privilege policies.
YAML
# Concept: Decoupled immutable backup pull agent
backup_profile:
  target_access: pull-only-via-mtls
  retention_lock: compliance-mode
  lock_duration_days: 30
  delete_api_accessible_from_control_plane: false
At the hypervisor host level, ESXi 'Lockdown Mode' must be set to Strict, disabling direct SSH access and shell daemons across all physical nodes. When host shells are completely disabled, administrative interactions are strictly constrained to signed API payloads mediated by hardened control nodes, eliminating the ability of an attacker to execute ad-hoc bash or Python encryptor binaries directly on the datastore mounts. For backup resilience, operational teams must move to a strict decoupled 'pull' architecture. In this design, the hypervisor and production environments have zero outbound credentials or network routes to the backup repository. Instead, an isolated, hardened backup target initiates an inbound connection over mutual TLS, pulls snapshot deltas, and commits them to immutable object stores governed by S3 Object Lock in Compliance Mode. Once committed, the object store's internal microcode rejects any deletion, truncation, or overwrite call—even if requested by the global storage administrator—until the cryptographic retention epoch expires. Centralizing hundreds of public service workloads into a consolidated virtualization fabric yields massive operational efficiency, but it compresses the fault line of an entire nation into a single control plane. When hypervisor networks are treated as ordinary internal subnets, a perimeter crack does not result in isolated workload degradation—it guarantees total, structural blindness.