Lotus Wiper is a highly destructive, stealthy malware discovered in April 2026 targeting energy and utility organizations. It is designed to permanently destroy computer systems by wiping hard drives and removing all recovery options It bypasses standard data recovery by directly overwriting physical sectors, clearing system traces, and operating at an exceptionally low disk level. This threat aims to cause maximum operational disruption rather than extort money.

Stages of Infection

It operates in a highly destructive 3-stage chain:

Stage 1: Defense Weakening

Attackers infiltrate the network and run malicious scripts to disable security software. This step clears user accounts, lowers system defenses, and prepares the environment for the main payload

Stage 2: Elimination of Backups

To block system recovery, the malware deletes or conceals shadow copies and backup journals. This deliberate obstruction ensures the victim cannot restore their system before decrypting the payload.

Stage 3: Permanent Destruction

The Lotus Wiper payload executes. It aggressively overwrites the physical hard drives with zeros and systematically deletes every file. This leaves the system completely dead and unrecoverable.

We will look more closely at each stage of the attach chain.

Stages of Attack (Infection)

After gaining access to the network, the attackers employ two bat scripts and one exe file.

Each SHA256 file can be given its own file name:

405177294f6f9268432a43998049ad0d4a61c6909216533b8713c911bc430755 – OHSyncNow.bat

9d05854c95c6anstats.exefa68911bd28af12282185e0fe34f2e58fddbc50ab22d1508d7 – notesreg.bat

1d6f374087087738b7699ebf91f1cfdb3b2a65c2e9be72e106ee7c9814be3274 – nstats.exe

Stage 1: Defense Weakening (Execution & Environment Setup)

The threat actor initiates the intrusion by executing a malicious batch file named OhSyncNow.bat to prepare the infected host and verify its network environment. This stage focuses primarily on checking directory structures, subverting legacy defensive mechanisms, and performing situational awareness checks regarding the compromised network’s Active Directory layout. By validating these environment settings before launching the core payload, the script ensures it is running on a high-value domain-joined target while minimizing the risk of early detection.

Directory Targeting: Checks for C:\lotus and falls back to %SystemDrive%\lotus if unavailable.

Defense Evasion: Disables and stops the Interactive Services Detection ( UI0Detect ) service to hide graphical warnings on older Windows systems.

Network Trigger Check: Looks for a remote file named OHSync.xml hosted on the domain’s NETLOGON share using a hardcoded organization name.

Retry Logic: Implements a randomized delay of up to 20 minutes to retry the NETLOGON check if the share is initially unreachable.

Domain Validation: If the remote file exists, it checks for a local OHSync.xml file to determine Active Directory domain membership.

Kill Switch Check: If the remote file is entirely missing, the script terminates immediately.

Stage 2: Elimination of Backups (Execution & Account Sabotage)

During this phase, the threat actor executes a malicious batch script named notesreg.bat to systematically blind security monitoring and prevent system recovery. The script targets the Volume Shadow Copy Service (VSS) and Windows Backup utilities, executing commands to delete existing backup snapshots and disable automatic repair mechanisms. Simultaneously, the script initiates account sabotage by force-changing passwords and altering group memberships to lock legitimate administrators out of the system. This proactive containment ensures that once the final destructive payload is dropped, the victim cannot easily restore their data or intervene in the attack. Once these environmental modifications are complete, the script transitions into a series of automated checks and staging operations to prepare for the final payload.

During the behavioral and static analysis of the payload delivery chain, a specialized 32-bit Windows utility named nstats.exe was identified functioning as a critical multi-stage decryptor.

Binary Decryption

The nstats binary is a 32-bit Windows binary that functions as a simple XOR-based file transformer. Its primary user-defined logic, found in function sub_401000, accepts input and output file paths via command-line arguments. It reads the entire contents of the source file into a heap-allocated buffer, iterates through the data performing a bitwise XOR operation with a static key (0x03), and writes the modified buffer to the target file. While the binary includes a significant amount of standard Microsoft Visual C++ runtime boilerplate for exception handling and dynamic function resolution (API sets), the implementation of a primitive XOR cipher is a common technique used by malware stages to obfuscate payloads or configuration data.

Step-by-Step Breakdown

The hex-rays decompiler was used to decompile the code of the main function (401000) into an understandable C code format.

Argument Check: It verifies that argc is greater than 2. The program expects at least two command-line arguments: the input file path (argv[1]) and the output file path (argv[2]).

File Size Discovery: It opens the source file, uses fseek(Stream, 0, 2) to jump to the end, and calls ftell to determine the total file size in bytes (ElementCount).

Data Reading: It rewinds the file pointer to the beginning and reads the entire file into the allocated memory buffer.

XOR Cipher Transformation: It loops through every single byte of the buffer and applies Buffer[i] ^= 3u;. This performs a bitwise XOR operation against the constant value 3.

Data Writing: It opens the destination file path specified in argv[2] in write-binary mode (aWb, which likely represents “wb”) and writes the modified buffer to it

Cleanup: It frees the allocated memory and closes both file streams safely to prevent leaks.

Stage 3: Data Destruction: (Final Lotus Wiper Execution)

The final stage of the attack lifecycle initiates the absolute and irreversible destruction of all system data and logical volumes. Upon successful execution, the nstats.exe binary escalates its privileges to interact directly with hardware abstractions, aiming to maximize operational disruption. It systematically targets both active user directories and critical system files to ensure that host recovery is impossible without a complete hardware or backup restoration.

Low-Level Sector Wiping: The standalone Lotus Wiper implant bypassesthe operating system layer and communicates directly with storage devicesvia IOCTL calls, overwriting raw physical sectors withzeroes.

Anti-Forensics & Recovery Block: The implant deletes all Volume ShadowCopies (VSS), wipes system restore points, and clears Update SequenceNumber (USN) change journals.

Destruction Loop: This data-erasure cycle repeats multiple times beforesending an IOCTL_DISK_UPDATE_PROPERTIES command to update disk states, rendering the device permanently unbootable and mathematically unrecoverable.