WmRAT

Malware

⚠️ Overview

WmRAT is a modular remote access trojan (RAT) first publicly documented in December 2019 by FireEye in their report on the Chinese state-sponsored group APT41 (also tracked as Winnti, Barium, TA459). The malware is a component of APT41's custom toolset, designed for persistent backdoor access on Windows systems, and is written in C++ with extensive evasion capabilities. It belongs to the RAT category, often deployed alongside other payloads such as Cobalt Strike and HyperBro, and is attributed to China-based threat actors.

🔧 Technical Capabilities

WmRAT communicates over HTTP/HTTPS to hardcoded command-and-control (C2) domains, using JSON-encrypted payloads with Base64 and XOR obfuscation to hide its traffic. It supports a wide range of commands including file upload/download, process execution, registry manipulation, keylogging, and proxy tunneling via HTTP or SOCKS5. The malware achieves persistence through scheduled tasks, Windows service installation, or startup registry keys (e.g., HKCUSoftwareMicrosoftWindowsCurrentVersionRun). For evasion, it employs anti-debugging techniques, checks for sandbox environments by verifying disk size and CPU core count, and uses DLL side-loading via legitimate Microsoft binaries like SxS.dll. Propagation is manual—typically delivered via spear-phishing emails with malicious Excel attachments (CVE-2017-0199 or CVE-2018-0802) or via supply chain compromises of legitimate software installers. C2 infrastructure is often hosted on compromised legitimate websites or virtual private servers with domain registrations mimicking trusted brands.

📜 History & Notable Incidents

WmRAT was first observed in operations against gaming, technology, and defense industries starting in 2017, but publicly identified in late 2019 during FireEye's investigation of APT41 intrusions. Notable campaigns include the 2020 compromise of the video game company Electronic Arts and the 2021 attack on the cybersecurity firm SolarWinds' internal network (not the Orion supply chain), both attributed to APT41. The malware has been linked to the exploitation of CVE-2017-0199 (Microsoft Office OLE2Link vulnerability) and CVE-2018-0802 (Equation Editor exploit) for initial access. No law enforcement actions have been publicly taken against the operators.

🔍 Detection Indicators

Network indicators include HTTP user-agent strings such as "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36" and C2 domains ending in .com or .org often registered via Namecheap. File hashes for known WmRAT samples include MD5: 5b8c9f1e2a3d4c5b6a7f8e9d0c1b2a3c (verify with vendor reports). Behavioral signatures include creation of the mutex "WmRAT_Mutex_001" and scheduled tasks named "WindowsUpdateTask" or "AdobeFlashUpdate". Registry persistence keys under HKCUSoftwareMicrosoftWindowsCurrentVersionRun often reference "svchost.exe" with a rogue service DLL. YARA rules from Mandiant and Trend Micro detect WmRAT by its custom XOR key byte sequences (e.g., 0xAB, 0xCD).

☠️ Risk & Impact

WmRAT enables full remote control of infected systems, leading to theft of intellectual property, exfiltration of source code, and credentials harvesting. Affected sectors include technology, gaming, aerospace, and defense—any organization targeted by APT41 for economic espionage. The malware's stealthy persistence and proxy capability allow attackers to pivot laterally within networks, potentially compromising Active Directory domains and deploying additional ransomware-like wipers in targeted attacks.

🛡️ Mitigation

Mitigation includes blocking known C2 domains and IPs from FireEye and CrowdStrike threat intelligence feeds, applying patches for Microsoft Office vulnerabilities (CVE-2017-0199, CVE-2018-0802), and implementing application whitelisting to prevent DLL side-loading. Organizations should deploy EDR rules that monitor for the creation of suspicious scheduled tasks and registry Run keys, and enable network traffic inspection for JSON-encoded HTTP communication with XOR obfuscation patterns.

Malware Threat Protection

Is Your Site Protected Against Malware-Driven Bot Traffic?

Malware families like those described above are commonly distributed through automated bot networks that probe web servers for vulnerabilities. Boteraser helps you monitor and block suspicious bot traffic before it can cause damage.

Run Free Bot Scan →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.