T1673: Virtual Machine Discovery
Tactics: Discovery. Platforms: ESXi, Linux, macOS, Windows.
An adversary may attempt to enumerate running virtual machines (VMs) after gaining access to a host or hypervisor.
MITRE's description
An adversary may attempt to enumerate running virtual machines (VMs) after gaining access to a host or hypervisor. For example, adversaries may enumerate a list of VMs on an ESXi hypervisor using a Hypervisor CLI such as esxcli or vim-cmd (e.g. esxcli vm process list or vim-cmd vmsvc/getallvms). Adversaries may also directly leverage a graphical user interface, such as VMware vCenter, in order to view virtual machines on a host.
Telemetry that detects it
- Command Execution
- Process Creation
Procedure examples
- Cheerscrypt has leveraged esxcli vm process list in order to gather a list of running virtual machines to terminate them.
- PureCrypter can identify virtual machines by querying the WMI object Win32_ComputerSystem for manufacturer and model and check it against the regular expression Microsoft|VMWare|Virtual.
- Qilin can detect virtual machine environments including ESXi hosts, datacenters, and clusters within vCenter environments.
- UNC3886 has used scripts to enumerate ESXi hypervisors and their guest VMs.
5 documented uses in all. These are a sample.
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.