MITRE ATT&CK / Techniques / T1564.006

Hide Artifacts: Run Virtual Instance

ID
T1564.006
Tactics
TA0005 Stealth
Sub-technique of
T1564 Hide Artifacts
Platforms
ESXi, Linux, macOS, Windows
Data sources
Process Creation, Service Creation, Windows Registry Key Modification, File Creation, File Modification, Command Execution, Image Metadata
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may carry out malicious operations using a virtual instance to avoid detection. A wide variety of virtualization technologies exist that allow for the emulation of a computer or computing environment. By running malicious code inside of a virtual instance, adversaries can hide artifacts associated with their behavior from security tools that are unable to monitor activity inside the virtual instance.[2] Additionally, depending on the virtual networking implementation (ex: bridged adapter), network traffic generated by the virtual instance can be difficult to trace back to the compromised host as the IP address and hostname might not match known values.[3]

Adversaries may utilize native support for virtualization (ex: Hyper-V), deploy lightweight emulators (ex: QEMU), or drop the necessary files to run a virtual instance (ex: VirtualBox binaries).[4] After running a virtual instance, adversaries may create a shared folder between the guest and host with permissions that enable the virtual instance to interact with the host file system.[5]

Threat actors may also leverage temporary virtualized environments such as the Windows Sandbox, which supports the use of .wsb configuration files for defining execution parameters. For example, the <MappedFolder> property supports the creation of a shared folder, while the <LogonCommand> property allows the specification of a payload.[6][7][8]

In VMWare environments, adversaries may leverage the vCenter console to create new virtual machines. However, they may also create virtual machines directly on ESXi servers by running a valid .vmx file with the /bin/vmx utility. Adding this command to /etc/rc.local.d/local.sh (i.e., RC Scripts) will cause the VM to persistently restart.[9] Creating a VM this way prevents it from appearing in the vCenter console or in the output to the vim-cmd vmsvc/getallvms command on the ESXi server, thereby hiding it from typical administrative activities.[1]

Detection

Mitigations (3)

M1038 Execution Prevention

Use application control to mitigate installation and use of unapproved virtualization software.

M1042 Disable or Remove Feature or Program

Disable native virtualization technologies such as Hyper-V if not necessary within a given environment. Consider also disabling Windows Sandbox if it is not needed to test or debug applications.

M1047 Audit

Periodically audit virtual machines for abnormalities. On ESXi servers, periodically compare the output of vim-cmd vmsvc/getallvms, which lists all VMs in vCenter, and escxli vm process list | grep Display, which lists all VMs hosted on ESXi.[1]

Software (3)

References

  1. MITRE VMware Abuse 2024
  2. CyberCX Akira Ransomware
  3. SingHealth Breach Jan 2019
  4. Securonix CronTrap 2024
  5. Sophos Ragnar May 2020
  6. ESET MirrorFace 2025
  7. ITOCHU Hack the Sandbox
  8. ITOCHU Sandbox PPT
  9. vNinja Rogue VMs 2024