Skip to main content
Mallory
Malware4 associated actors

xRAT

Tracked since Jan 8, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors4Associated
ATT&CK30Techniques
IOCs40Tracked
Type
RAT
Capabilities
KeyloggingExfiltrationReconnaissanceProcess injectionDefense evasion
Delivery
SpearphishingLure
Platforms
Windows

xRAT is an open-source, .NET-based remote access trojan for Windows derived from QuasarRAT and sometimes identified under that name. It enables remote control of compromised systems, system-information collection, keylogging, and unauthorized file transfers, supporting surveillance and information theft.

The North Korea-linked Kimsuky threat actor has deployed xRAT alongside other malware, including Gold Dragon. Kimsuky delivery chains have used spear-phishing emails containing malicious shortcuts that unpack scripts and install remote-control payloads. Observed xRAT deployments use encrypted payloads, packed loaders, and process injection or process hollowing to execute within legitimate Windows processes. xRAT has also appeared as a payload in the A41APT espionage campaign targeting Japanese companies and their overseas branches.

Separate distribution campaigns have delivered xRAT through Korean webhard file-sharing services disguised as adult games. These attacks use multistage loaders to decrypt and inject the payload into a Windows process and patch Event Tracing for Windows functionality to reduce visibility. This distribution targets Windows users through social engineering rather than a demonstrated software vulnerability.

The xRAT name has also been applied to an Android surveillance trojan associated with mRAT/Xsser and a Flask-based Python remote-access application; these should not be conflated with the QuasarRAT-derived Windows malware.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Kimsuky

Malware used by Kimsuky: RandomQuery, xRAT, Gold Dragon

via cyfirma blogcyfirma.com
Hellsing

During our investigation we’ve observed the Hellsing APT using both the “Xweber” and “msger” backdoors in their attacks, as well as other tools named “xrat”, “clare”, “irene” and “xKat”.

via securelistsecurelist.com
menuPass

2-4. xRAT ... VERSION 2.0.0.0 ... HOSTS 45.138.157.83:443; ... The payload is xRAT.

via jsac jpcertjsac.jpcert.or.jp
毒云藤

该组织擅长对目标实施鱼叉攻击和水坑攻击,植入修改后的ZXShell、Poison Ivy、XRAT商业木马,并使用动态域名作为其控制基础设施。

via qianxin ti centerti.qianxin.com
MITRE ATT&CK

Techniques & procedures

30 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1189Drive-by CompromiseEvidence1

该组织擅长对目标实施鱼叉攻击和水坑攻击,植入修改后的ZXShell、Poison Ivy、XRAT商业木马,并使用动态域名作为其控制基础设施。

T1195Supply Chain CompromiseEvidence1

Six malicious packages on PyPI, the Python Package Index, were found installing information-stealing and RAT (remote access trojan) malware... The six malicious packages that Phylum detected are the following: pyrologin, easytimestamp, discorder, discord-dev, style.py, pythonstyles.

T1566PhishingEvidence1

The group usually employs spear phishing attacks... The threat actor led users to download a compressed file through attachments or download links within spear phishing emails.

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence2

Provide a remote attacker with a shell ... Executes attacker specified command as the root user

T1203Exploitation for Client ExecutionEvidence1

去年该组织就使用编号为CVE-2018-20250 的WinRAR ACE 漏洞向中国大陆数十个重点目标投递了多个RAT 木马。

T1204.002Malicious FileEvidence1

When this compressed file is decompressed, it yields a legitimate document file along with a malicious LNK file... prompted users to download the compressed file and execute the LNK shortcut file inside.

Persistence

1 technique
T1547Boot or Logon Autostart ExecutionEvidence1

One of the files in the ZIP, 'server.pyw,' launches four threads, one to establish persistence between system reboots...

Privilege Escalation

3 techniques
T1055Process InjectionEvidence1

Ht.dll references this information to read and decrypt the encrypted file before injecting it into a legitimate process... Amadey... goes through svchost.exe before being injected into the iexplore.exe process and run.

T1055.012Process HollowingEvidence1

Injection method is same as the method used by the original Gold Dragon (behavior of process hollowing on iexplore.exe, svchost.exe,etc.) ... Once cp1093.exe is executed, it copies a normal powershell process (powershell_ise.exe) to the “C:\ProgramData\”path and executes xRAT via process hollowing technique.

T1547Boot or Logon Autostart ExecutionEvidence1

One of the files in the ZIP, 'server.pyw,' launches four threads, one to establish persistence between system reboots...

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence1

While these malware are all packed with VMP when in distribution, recently, Amadey and RftRAT variants created with AutoIt have been used... This method seems to be for the purpose of bypassing security products.

T1055Process InjectionEvidence1

Ht.dll references this information to read and decrypt the encrypted file before injecting it into a legitimate process... Amadey... goes through svchost.exe before being injected into the iexplore.exe process and run.

T1055.012Process HollowingEvidence1

Injection method is same as the method used by the original Gold Dragon (behavior of process hollowing on iexplore.exe, svchost.exe,etc.) ... Once cp1093.exe is executed, it copies a normal powershell process (powershell_ise.exe) to the “C:\ProgramData\”path and executes xRAT via process hollowing technique.

T1070Indicator RemovalEvidence2

When triggered, xRAT will clean out its installation directory before issuing a package manager command to uninstall itself.

T1070.004File DeletionEvidence1

xRAT contains a robust file deletion module, capable of removing large portions of a device or attacker-specified files.

T1140Deobfuscate/Decode Files or InformationEvidence1

Decrypt multiple PEs and shellcodes sequentially in multiple stages. Multiple algorithms are used for decryption. Finally, the payload is executed in memory.

T1497.001System ChecksEvidence1

The developers behind xRAT created an alert system, flagging to the malware operator if any of the following antivirus applications are present on a compromised device.

T1622Debugger EvasionEvidence1

Samples from both mRAT and xRAT families have an almost identical code structure, make use of the same decryption key, share certain heuristics and naming conventions, and interestingly contain anti-debugging techniques that cause the a frequently-used malware researcher tool, the dex2jar decompiler, to crash.

Credential Access

1 technique
T1056.001KeyloggingEvidence1

One of the files in the ZIP, 'server.pyw,' launches four threads... one to start a keystroke logger... The malicious packages attempt to steal sensitive user information stored in browsers, run shell commands, and use keyloggers to steal typed secrets.

Discovery

4 techniques
T1082System Information DiscoveryEvidence1

The Flask app used by the attackers, also known as 'xrat,' can steal the victim's username and IP address...

T1083File and Directory DiscoveryEvidence2

List all files and directories on external storage List the contents of attacker specified directories Automatically retrieve files that are of an attacker specified type that are between a minimum and maximum size Search external storage for a file with a specific MD5 hash and, if identified, retrieve it

T1497.001System ChecksEvidence1

The developers behind xRAT created an alert system, flagging to the malware operator if any of the following antivirus applications are present on a compromised device.

T1622Debugger EvasionEvidence1

Samples from both mRAT and xRAT families have an almost identical code structure, make use of the same decryption key, share certain heuristics and naming conventions, and interestingly contain anti-debugging techniques that cause the a frequently-used malware researcher tool, the dex2jar decompiler, to crash.

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence1

Once the Hellsing attackers compromise a computer, they deploy other tools which can be used for gathering further information about the victim or doing lateral movement.

Collection

4 techniques
T1005Data from Local SystemEvidence2

Listed below are the types of data gathered by xRAT and features that enable it to perform reconnaissance, run remote code, and exfiltrate data from Android devices: Browser history Device metadata ... Text messages Contacts Call logs Data from QQ and WeChat ... Email database and any email account username / passwords ... Installed apps

T1056.001KeyloggingEvidence1

One of the files in the ZIP, 'server.pyw,' launches four threads... one to start a keystroke logger... The malicious packages attempt to steal sensitive user information stored in browsers, run shell commands, and use keyloggers to steal typed secrets.

T1113Screen CaptureEvidence1

The PowerShell script will download a ZIP file... install a list of dependencies and additional Python packages that make remote control and screenshot capturing possible... This RAT also supports a 'live' remote desktop feed at a one-frame-per-second rate...

T1560Archive Collected DataEvidence1

This data is zipped up and transmitted through transfer[.]sh to the attackers...

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence2

The command and control servers for xRAT are also linked to Windows malware, indicating that the malicious actors behind this threat are conducting multi-platform attacks against the PCs and mobile devices of targeted groups.

T1071.001Web ProtocolsEvidence1

Application Layer Protocol: Web Protocols (T1071.001)

T1090.002External ProxyEvidence1

The script now runs 'cftunnel.py,' also included in the ZIP archive, that is used to install a Cloudflare Tunnel client on the victim's machine... The threat actors use this tunnel to remotely access a remote access trojan running on the infected device... even if a firewall protects that device.

T1105Ingress Tool TransferEvidence2

Download attacker specified files and save them to specified locations

T1132.002Non-Standard EncodingEvidence1

Data Encoding: Non-Standard Encoding (T1132.002)

T1219Remote Access ToolsEvidence3

该组织擅长对目标实施鱼叉攻击和水坑攻击,植入修改后的ZXShell、Poison Ivy、XRAT商业木马

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence1

Upload attacker specified files to C2 infrastructure

T1567Exfiltration Over Web ServiceEvidence1

This data is zipped up and transmitted through transfer[.]sh to the attackers...

Indicators of compromise

Observables

40 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cyber security newsNews · Jan 9, 2026xRAT Malware Attacking Windows Users Disguised as Adult GamexRAT (QuasarRAT) is a remote access trojan that enables attackers to collect system information, monitor keystrokes, and transfer files without authorization. It uses sophisticated evasion and persistence techniques, including process injection and disabling Windows event logging, to avoid detection and maintain access.Read more ↗ahnlab asec blogNews · Jan 5, 2026xRAT (QuasarRAT) Malware Being Distributed Through Adult Game WebhardRemote Access Trojan (RAT) that provides attackers with capabilities such as system information collection, keylogging, file download/upload, and remote control. In this campaign, it is injected into explorer.exe and disables ETW event logging for stealth.Read more ↗lookout blogNews · Jan 1, 2026JadeRAT Mobile Surveillanceware Spikes in Espionage Activity | Threat IntelMobile RAT/spyware family referenced as part of broader targeted surveillance campaigns.Read more ↗lookout blogNews · Jan 1, 2026XRAT Malware Tied to "Xsser/MRAT" Surveillance | Threat IntelAndroid-focused remote access trojan/surveillanceware used for intelligence collection. It gathers browser history, device metadata, SMS, contacts, call logs, QQ/WeChat data, Wi-Fi passwords, email data, geolocation, and installed apps; supports remote shell access, file download/upload, directory listing, audio recording, phone calls, root command execution, and destructive deletion/wipe functions; and can uninstall itself via a suicide function to evade detection.Read more ↗
+9 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching40Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping30Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.