VIRTUALPITA
- Type
- Backdoor
- Capabilities
- PersistenceLateral movementPost exploitationDefense evasion
- Platforms
- Esxi
VIRTUALPITA is a backdoor used in cyberespionage operations targeting VMware vSphere infrastructure, particularly ESXi hypervisors. It is associated with UNC3886, a China-nexus espionage group, and has also been observed in Fire Ant operations that share tooling and targeting overlaps with UNC3886. Public reporting identified its use against vSphere environments in September 2022.
VIRTUALPITA provides persistent remote access and command execution. It creates listeners on hard-coded TCP ports and masquerades as legitimate VMware services through its choice of service names and ports. Attackers have deployed it through malicious vSphere Installation Bundles to maintain access across reboots. Deployment has also followed exploitation of the vCenter Server remote-code-execution vulnerability CVE-2023-34048.
VIRTUALPITA has been used with VMware Virtual Machine Communication Interface channels to pass arbitrary commands from compromised ESXi hosts to guest virtual machines, enabling lateral movement across network segmentation boundaries. Commands can execute inside Windows guests through VMware Tools without being logged on the ESXi host, although guest-side Windows event logs may retain evidence. The backdoor also suppresses host shell-history recording, reducing forensic visibility. Its placement at the virtualization layer supports sustained access in environments where conventional endpoint security monitoring is limited.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)(Citation: Google Cloud Threat Intelligence VMWare ESXi Zero-Day 2023)(Citation: Mandiant Fortinet Zero Day)
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Mandiant has observed a trend in which China-nexus attackers have gained access to edge devices via exploitation of vulnerabilities, particularly zero-days... If an attacker possesses an exploit for a zero-day vulnerability on these devices, they are often able to gain access to a target environment and remain undetected for an extended period of time.
Execution
4 techniques
Execution
[VIRTUALPITA](https://attack.mitre.org/software/S1217) has the ability to spawn a bash shell for script execution.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can call a Python script to run commands on a targeted guest virtual machine.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
In January 2024, Chinese state hackers were linked to attacks exploiting a critical vCenter Server zero-day (CVE-2023-34048) since late 2021, which led to the deployment of VirtualPita and VirtualPie backdoors on compromised ESXi systems.
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can execute commands on guest virtual machines from compromised ESXi hypervisors.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Persistence
2 techniques
Persistence
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can persist as an init.d startup service on Linux vCenter systems.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Cette vulnérabilité est exploitée par des attaquants pour déployer différentes portes dérobées (webshells) afin de maintenir leur présence sur les serveurs compromis.
Privilege Escalation
1 technique
Privilege Escalation
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can persist as an init.d startup service on Linux vCenter systems.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Stealth
7 techniques
Stealth
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[VIRTUALPITA](https://attack.mitre.org/software/S1217) has utilized VMware service names and ports to masquerade as legitimate services.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
[VIRTUALPITA](https://attack.mitre.org/software/S1217) samples have been found in `/usr/libexec/setconf/ksmd` and `/usr/bin/ksmd`, named to spoof the legitimate Kernel Same-Page Merging Daemon binary. (Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
VIRTUALPITA also sets the HISTFILE to 0, which would remove any terminal history on the host system, leaving behind little forensics evidence.
Once the threat actor has disabled execInstalledOnly, they can perform a — force installation of custom malicious VIBs (vSphere Installation Bundles).
des attaquants ciblaient spécifiquement la solution de virtualisation vSphere à des fins d’espionnage pour déployer deux portes dérobées nommées « VirtualPita » et « VirtualPie ».
Malware authors may also take special care to ensure that the malware hinders forensic investigation by circumventing or clearing logging systems in place on the device.
Defense Impairment
1 technique
Defense Impairment
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can impair logging by setting the `HISTFILE` environmental variable to `0` and stopping the `vmsyslogd` service.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Discovery
3 techniques
Discovery
the usage of the following command to list & then terminate all VM processes using the ESXCLI, respectively. esxcli vm process list
des attaquants ciblaient spécifiquement la solution de virtualisation vSphere à des fins d’espionnage pour déployer deux portes dérobées nommées « VirtualPita » et « VirtualPie ».
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can target specific guest virtual machines for script execution.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Lateral Movement
1 technique
Lateral Movement
[VIRTUALPITA](https://attack.mitre.org/software/S1217) is capable of file transfer and arbitrary command execution.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Command and Control
2 techniques
Command and Control
[VIRTUALPITA](https://attack.mitre.org/software/S1217) has the ability to upload and download files.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
[VIRTUALPITA](https://attack.mitre.org/software/S1217) has created listeners on hard coded TCP ports such as 2233, 7475, and 18098.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Impact
1 technique
Impact
[VIRTUALPITA](https://attack.mitre.org/software/S1217) can start and stop the `vmsyslogd` service.(Citation: Google Cloud Threat Intelligence ESXi VIBs 2022)
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.