ESXiArgs
- Type
- Ransomware
- Capabilities
- Initial accessExtortionDefense evasion
- Platforms
- Esxi
ESXiArgs is ransomware targeting VMware ESXi hypervisors. It became widely known during a mass exploitation campaign beginning in February 2023 that compromised thousands of internet-exposed servers worldwide, particularly in Europe and North America. The campaign exploited CVE-2021-21974, a heap-overflow vulnerability in the ESXi OpenSLP service that enables unauthenticated remote code execution. Targets included unpatched ESXi 6.5, 6.7, and 7.0 installations, despite a patch having been available since February 2021.
ESXiArgs encrypts virtual-machine disk images, configuration files, and related state files, potentially rendering multiple virtual machines unusable on a single affected host. Its deployment scripts attempt to terminate VMX processes to release file locks before encryption, although these attempts do not always succeed. The encryptor uses the Sosemanuk stream cipher and requires an externally supplied RSA public key. It relies on a script to enumerate files and invoke encryption rather than recursively encrypting directories independently. Per-file metadata records encryption parameters, including block sizes and skipped regions. The malware leaves ransom messages, can replace the host's management interface with an attacker message, and supports self-deletion after execution.
CISA released a recovery script to help reconstruct some affected virtual machines; recovery is not universally successful, and later variants reduced the effectiveness of the initial recovery approach.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
この攻撃では、攻撃時点から 約2年前の脆弱性が悪用されています。
ESXiArgs attacks leverage CVE-2021-21974, a heap overflow in the OpenSLP service exposed on TCP/UDP port 427, granting remote code execution.
Execution
3 techniques
Execution
the attackers can greatly impact multiple services and machines ... tend to run specific commands aimed at interacting with ESXi systems
ESXiArgs also uses an external shell script to search files and provide arguments to the esxcli, so there is no native find_files_recursive function to compare.
The ransomware dubbed as “ESXiArgs” is being deployed by exploiting a two-year-old remote code execution vulnerability. Tracked as CVE-2021-21974, the vulnerability is caused by a heap overflow issue in the OpenSLP service and this is being exploited by unauthenticated threat actors in low-complexity attacks.
Persistence
1 technique
Persistence
この攻撃では、攻撃時点から 約2年前の脆弱性が悪用されています。
Discovery
2 techniques
Discovery
the usage of the following command to list & then terminate all VM processes using the ESXCLI, respectively. esxcli vm process list
the only parameter it supports is a path to encrypt... the attacker has to iterate over every file with a script executing the encryptor.
Impact
5 techniques
Impact
Lockbit , ESXiArgs , BlackCat, or Gwisin , the malware has the ability to self-delete after execution.
The encryption process specifically targets virtual machine files (.vmdk, .vmx, .vmxf, .vmsd, .vmsn, .vswp, .vmss, .nvram, *.vmem) and uses a public key deployed by the malware in /tmp/public.pem.
the usage of the following command to list & then terminate all VM processes using the ESXCLI, respectively. esxcli vm process list esxcli vm process kill *
ESXiArgsが実行されると ・仮想マシンの管理画面が攻撃者によるメッセージに置き換えられる
The malware creates an argsfile to store arguments passed to the encryption binary (number of MB to skip, number of MB in encryption block, and file size).
Observables
19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.