RemotePE is a C++ remote access trojan for Windows associated with a North Korea-linked Lazarus subgroup whose activity overlaps AppleJeus, Citrine Sleet, UNC4736, and Gleaming Pisces. It has been deployed against financial and cryptocurrency organizations, including a decentralized finance organization, and has replaced earlier PondRAT and ThemeForestRAT implants during intrusions. RemotePE executes entirely in memory without writing its own executable payload to disk.
The deployment chain comprises DPAPILoader, RemotePELoader, and RemotePE. DPAPILoader uses Windows Data Protection API encryption bound to the victim environment to decrypt and load RemotePELoader. RemotePELoader contacts command-and-control infrastructure, receives the final payload, and reflectively loads it into memory. Persistence is supplied by the first-stage loader through Windows service infrastructure. The chain incorporates direct-syscall techniques, removal of endpoint-security hooks, and suppression of Event Tracing for Windows; some RemotePE versions implement syscall resolution and telemetry suppression themselves. Associated intrusions have used targeted Telegram social engineering, impersonation of trading-company employees, and counterfeit meeting-scheduling websites.
RemotePE supports command execution, file operations, process creation and termination, configuration updates, sleep scheduling, data compression and exfiltration, and dynamic loading of reflective DLL plugins. Separate threads handle command-and-control communications and operator instructions. Its communications use AES-GCM encryption and compressed command-response data. Secure deletion routines overwrite files seven times before renaming and deleting them. These capabilities, combined with memory-resident execution and victim-bound loader encryption, reduce forensic visibility and support sustained remote control of compromised systems.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“We observed the actor cleaning up PondRAT and ThemeForestRAT, to deploy a more advanced RAT, which we named RemotePE.”
Lazarus Group Expands Malware Arsenal With PondRAT, ThemeForestRAT, and RemotePE
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Once deployed, the RemotePE malware enables command execution, file manipulation, process management and data access...
IConsole ... Function ID 2 Execute a command and return its output
The first is HellsGate (specifically the TartarusGate variant), a technique that dynamically resolves Windows syscall numbers at runtime... Using these direct syscalls, RemotePELoader iterates the Process Environment Block’s module list and remaps each DLL...
“RemotePE also implements a plugin system that allows the operator to dynamically register DLL payloads at runtime.”
IProcess ... 3 Create a process 4 Create a process as a user
While sleeping, RemotePE also checks for the existence of a Windows event named 554D5C1F-AABE-49E4-AB57-994D22ECED28. If present, it wakes immediately and restarts both controller threads.
IProcess ... 3 Create a process 4 Create a process as a user
While sleeping, RemotePE also checks for the existence of a Windows event named 554D5C1F-AABE-49E4-AB57-994D22ECED28. If present, it wakes immediately and restarts both controller threads.
The first is HellsGate (specifically the TartarusGate variant), a technique that dynamically resolves Windows syscall numbers at runtime.
`decrypt_c2_message` decodes a base64 blob, derives a key and nonce, and uses `AES.new(key, AES.MODE_GCM, nonce)` to decrypt the ciphertext from the `C2Message` structure.
network packets utilize HTTP cookie names that mimic the Microsoft ecosystem. For instance, headers incorporate fields like MSCC and MicrosoftApplicationsTelemetryDeviceId to appear authentic.
Before contacting its command-and-control server, it removes security hooks placed by endpoint protection products and disables Windows event tracing, allowing the malware to operate with little or no visibility to defenders.
RemotePE also implements secure file deletion functionality by repeatedly overwriting files seven times prior to deletion, behavior previously associated with Lazarus-linked malware families such as PondRAT and POOLRAT.
On the first run it sleeps until the configured wake-up timestamp and on subsequent iterations it sleeps for a random interval within the configured bounds.
The final component, a fully featured remote access trojan (RAT), is executed entirely in memory and provides attackers with extensive control over compromised systems.
The attack followed a pattern increasingly common in Lazarus operations, social engineering via Telegram, with operatives posing as employees of a legitimate trading firm, scheduling fake meetings through spoofed Calendly and Picktime domains to gain initial access to a victim’s device.
The malware employs evasion techniques like Hell's Gate and patches Event Tracing for Windows (ETW) to avoid detection.
Once deployed, the RemotePE malware enables command execution, file manipulation, process management and data access...
RemotePE supports various commands, including C2 configuration management, file operations, process manipulation, and self-management.
On the first run it sleeps until the configured wake-up timestamp and on subsequent iterations it sleeps for a random interval within the configured bounds.
The malware supports extensive post-compromise functionality through multiple command classes: ... ZIP compression and exfiltration
The script defines a `CabinetStream` structure with `compressed_buf` and uses `decompress_mszip` with zlib to decompress the command output after decryption.
It then initiates an encrypted HTTP communication loop with remote servers.
Monitor outbound communications for unusual command-and-control activity.
The second-stage loader retrieves the final payload directly from attacker-controlled infrastructure.
All messages exchanged with the C2 server are AES-encrypted, except for the initial check-in response containing the session ID.
The malware supports extensive post-compromise functionality through multiple command classes: ... ZIP compression and exfiltration
DPAPILoader uses the Windows Data Protection API (DPAPI) to decrypt its payload... each deployment produces a unique encrypted blob, meaning the payload hash differs across victims and evades hash-based detection.
IProcess ... 1 Kill process by ID
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.