ZeroCleare
- Type
- Wiper
- Capabilities
- Defense evasionByovd
- Platforms
- Windows
ZeroCleare is a destructive Windows disk-wiping malware family associated with Iranian state-aligned cyber operations. It has targeted energy and industrial organizations in the Middle East, including Saudi Arabia. A variant was also deployed during the HomeLand Justice operation associated with VOID MANTICORE, alongside ROADSWEEP ransomware.
ZeroCleare abuses the legitimate EldoS RawDisk driver to obtain direct disk access and overwrite disk contents, including the master boot record and partitions. This corrupts file systems, destroys data, and can render affected systems unbootable. Observed variants overwrite disk data with repeated bytes, including zeros. Its execution chain can exploit a vulnerable, digitally signed VirtualBox driver to bypass Windows Driver Signature Enforcement and load an unsigned RawDisk driver. Malicious PowerShell scripts have also been used to bypass Windows controls.
Earlier variants targeted the system drive, while a later variant accepts operator-supplied command-line arguments to select a drive for destruction and install, start, or remove the disk-access driver. ZeroCleare functions as a destructive payload on already-compromised hosts; no consistent malware-specific initial infection vector is established.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In 2019-2020, a couple new wipers – ZeroCleare and Dustman, were exposed in 2 operations against entities in the Arabian Peninsula.
In 2019-2020, a couple new wipers – ZeroCleare and Dustman, were exposed in 2 operations against entities in the Arabian Peninsula.
During HomeLand Justice, threat actors used a version of ZeroCleare to wipe disk drives on targeted hosts.
...ROADSWEEP, the CHIMNEYSWEEP backdoor, and a ZEROCLEAR wiper variant (aka Cl Wiper)...
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
the threat actors exploited a vulnerability in the company’s VPN service to gain initial access and establish a foothold in the company’s network
Execution
4 techniques
Execution
[ZeroCleare](https://attack.mitre.org/software/S1151) can receive command line arguments from an operator to corrupt the file system using the [RawDisk](https://attack.mitre.org/software/S0364) driver.(Citation: Mandiant ROADSWEEP August 2022)
[ZeroCleare](https://attack.mitre.org/software/S1151) can use a malicious PowerShell script to bypass Windows controls.(Citation: IBM ZeroCleare Wiper December 2019)
Dragonfly has used the command line for execution. Empire uses a command-line interface to interact with systems. StarProxy has used the command line for execution of commands.
[ZeroCleare](https://attack.mitre.org/software/S1151) can call the `GetSystemDirectoryW` API to locate the system directory.(Citation: Mandiant ROADSWEEP August 2022)
Privilege Escalation
2 techniques
Privilege Escalation
[ZeroCleare](https://attack.mitre.org/software/S1151) has used a vulnerable signed VBoxDrv driver to bypass Microsoft Driver Signature Enforcement (DSE) protections and subsequently load the unsigned [RawDisk](https://attack.mitre.org/software/S0364) driver.(Citation: IBM ZeroCleare Wiper December 2019)
it bypassed the Windows Driver Signature Enforcement (DSG), which protects Windows from loading unsigned drivers (RawDisk driver).
Stealth
4 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.
VOID MANTICORE has masqueraded malicious payloads to resemble legitimate applications. During HomeLand Justice, threat actors renamed ROADSWEEP to GoXML.exe and ZeroCleare to cl.exe.
[ZeroCleare](https://attack.mitre.org/software/S1151) has the ability to uninstall the [RawDisk](https://attack.mitre.org/software/S0364) driver and delete the `rwdsk` file on disk.(Citation: Mandiant ROADSWEEP August 2022)(Citation: CISA Iran Albanian Attacks September 2022)
ZeroCleare and Dustman mirrored Shamoon’s reliance on modified legitimate drivers to achieve destructive effects.
Defense Impairment
2 techniques
Defense Impairment
[ZeroCleare](https://attack.mitre.org/software/S1151) can deploy a vulnerable, signed driver on a compromised host to bypass operating system safeguards.(Citation: IBM ZeroCleare Wiper December 2019)
"Play has used Base64-encoded PowerShell scripts to disable Microsoft Defender," "StrongPity can use PowerShell to add files to the Windows Defender exclusions list," and "ZeroCleare can use a malicious PowerShell script to bypass Windows controls."
Discovery
1 technique
Discovery
[ZeroCleare](https://attack.mitre.org/software/S1151) can use the `IOCTL_DISK_GET_DRIVE_GEOMETRY_EX`, `IOCTL_DISK_GET_DRIVE_GEOMETRY`, and `IOCTL_DISK_GET_LENGTH_INFO` system calls to compute disk size.(Citation: Mandiant ROADSWEEP August 2022)
Impact
4 techniques
Impact
wiper malware can be defined as malicious software that tries to destroy data.
Many wipers also make sure to overwrite the Master Boot Record (MBR) of the disk.
If the MBR is destroyed, the computer won't start. | ZeroCleare overwrites the disks directly with 0x55 bytes. This, of course, starts with the MBR and continues with all partitions.
[ZeroCleare](https://attack.mitre.org/software/S1151) can corrupt the file system and wipe the system drive on targeted hosts.(Citation: Mandiant ROADSWEEP August 2022)(Citation: CISA Iran Albanian Attacks September 2022)(Citation: IBM ZeroCleare Wiper December 2019)
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.