Skip to main content
Mallory
MalwareUsed by 7 actorsExploits 1 CVE

XenoRAT

XenoRAT is an open-source .NET remote access trojan publicly available on GitHub and used by multiple threat actors for persistent remote access, surveillance, and post-exploitation. Reported capabilities include encrypted TCP command-and-control, dynamic DLL loading via Assembly.Load, file operations, command execution, keylogging, screen capture, clipboard monitoring, webcam and microphone surveillance, SOCKS5 tunneling or reverse proxying, Hidden VNC/HVNC, process manipulation, file exfiltration, antivirus enumeration, and self-uninstall. Observed persistence mechanisms include HKCU\Software\Microsoft\Windows\CurrentVersion\Run entries, scheduled tasks such as XenoUpdateManager, and mutexes including clouda and Xeno_rat_nd8912d.

The malware has been delivered through spear-phishing emails, ZIP archives containing malicious LNK files, HTA and PowerShell chains, BAT/VBS/Python loaders, GitHub-hosted payloads, drive-by delivery, and Excel XLL add-ins built with Excel-DNA. Multiple campaigns used decoy PDFs or documents while silently installing XenoRAT. In Seqrite’s Operation XENOFISCAL, a Pakistan-linked SideCopy cluster under the Transparent Tribe/APT36 umbrella targeted Afghanistan’s Ministry of Finance and provincial finance offices using Pashto-language phishing lures, mshta.exe, obfuscated JavaScript, in-memory .NET loading, and a compromised Afghan education domain, ultimately deploying XenoRAT 1.8.7 and communicating with 185.235.137.106. Fortinet also linked earlier DPRK-related LNK campaigns targeting South Korean organizations to XenoRAT distribution before later variants shifted toward deeper surveillance using GitHub-based C2. AhnLab documented South Korea-focused spear-phishing chains that exfiltrated system information and deployed XenoRAT. Breakglass Intelligence observed a German-language SERPENTINE#CLOUD wave targeting German small businesses that injected XenoRAT v1.8.7 into explorer.exe via Early Bird APC injection and used C2 176.96.136.182, install path %LOCALAPPDATA%\XenoManager, and startup name XenoUpdateManager. Securonix also observed XenoRAT delivered as encrypted shellcode blob xn.bin and injected into suspended explorer.exe processes.

A customized variant, MoonPeak, is described as a modified XenoRAT codebase associated with DPRK-linked activity, including campaigns targeting South Korean users and financially motivated operations against retail cryptocurrency traders. Kimsuky reporting also lists XenoRAT among the group’s open-source RAT arsenal. High-confidence indicators directly mentioned in the content include C2 IPs 185.235.137.106, 176.96.136.182, and 27.102.137.88:443 for MoonPeak; mutexes clouda, Xeno_rat_nd8912d, and Dansweit_Hk65-PSAccerdle for MoonPeak; scheduled task names XenoUpdateManager, ChromeCheck, and EdgeCheck in related delivery chains; install path %LOCALAPPDATA%\XenoManager; and payload filenames such as xn.bin and frexs.bin.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

1 CVES
CVE-2024-23692Unauthenticated RCE in Rejetto HTTP File Server via Template InjectionExploited in the wild

“Although XMRig CoinMiner is installed in the end, XenoRAT and a vulnerability scanner script are also installed.”

via ahnlab asec blogasec.ahnlab.com
THREAT ACTORS

Groups observed using it

7 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Transparent Tribe

Seqrite Labs identified a sophisticated SideCopy XenoRAT malware attack focused directly on government networks.

via security online infosecurityonline.info
SideCopy

Seqrite Labs identified a sophisticated SideCopy XenoRAT malware attack focused directly on government networks.

via security online infosecurityonline.info
Kimsuky

The group’s arsenal includes proprietary malware such as PebbleDash, BabyShark, AppleSeed, and RandomQuery, as well as open-source RATs like xRAT, XenoRAT, and TutRAT.

via securelistsecurelist.com
APT37

While earlier versions spread the XenoRAT malware, the current version focuses on deep surveillance.

via hackreadhackread.com
Lazarus

While earlier versions spread the XenoRAT malware, the current version focuses on deep surveillance.

via hackreadhackread.com
UAC-0050

…LUMMASTEALER, XENORAT, SECTOPRAT…

via cert uacert.gov.ua
LemonDuck

“Although XMRig CoinMiner is installed in the end, XenoRAT and a vulnerability scanner script are also installed.”

via ahnlab asec blogasec.ahnlab.com
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

1 technique
T1598Phishing for InformationEvidence1

This level of detail indicates that the threat actors conducted thorough prior reconnaissance.

T1584Compromise InfrastructureEvidence2

The malicious files were delivered through infrastructure hosted on Afghan government servers, allowing the attackers to blend their traffic with legitimate state communications and evade network-level detection.

Initial Access

2 techniques
T1566PhishingEvidence1

The attackers used phishing emails containing ZIP archives with a malicious file masquerading as an internal government document.

T1566.001Spearphishing AttachmentEvidence4

The complex intrusion sequence initiates through a tailored spear-phishing email delivery path. This electronic mail contains a compressed archive enclosing a fraudulent shortcut file.

Execution

5 techniques
T1053.005Scheduled TaskEvidence2

It connects to a hard-coded IP address using encrypted TCP traffic and registers itself through both a Windows Scheduled Task named “XenoUpdateManager” and a Registry Run key.

T1059.005Visual BasicEvidence1
TacticExecution

That loader DLL downloaded an encoded, GZIP-compressed blob from attacker-controlled URLs and unpacked it entirely in memory.

T1059.007JavaScriptEvidence2
TacticExecution

Subsequently, the remote web application processes a heavily obfuscated JavaScript payload within the host memory space.

T1129Shared ModulesEvidence1
TacticExecution

The function manages the dynamic loading and execution of external DLL modules received through a remote Node connection... loads it dynamically using Assembly.Load.

T1204.002Malicious FileEvidence2
TacticExecution

Consequently, unsuspecting provincial finance officials clicked the attachment.

Persistence

2 techniques
T1053.005Scheduled TaskEvidence2

It connects to a hard-coded IP address using encrypted TCP traffic and registers itself through both a Windows Scheduled Task named “XenoUpdateManager” and a Registry Run key.

T1547.001Registry Run Keys / Startup FolderEvidence3

To ensure a long-term presence, the software establishes automated registry execution keys that masquerade as legitimate Windows applications.

T1053.005Scheduled TaskEvidence2

It connects to a hard-coded IP address using encrypted TCP traffic and registers itself through both a Windows Scheduled Task named “XenoUpdateManager” and a Registry Run key.

T1055Process InjectionEvidence1

the malware directly allocates executable memory within the current process using the Windows API VirtualAlloc()... copies the reconstructed shellcode buffer into the allocated region... and transfers execution to the injected buffer through the CreateThread() API.

T1547.001Registry Run Keys / Startup FolderEvidence3

To ensure a long-term presence, the software establishes automated registry execution keys that masquerade as legitimate Windows applications.

Stealth

11 techniques
T1027Obfuscated Files or InformationEvidence2
TacticStealth

The loader script implements a custom Base64 decoding routine to hide its downstream modules.

T1027.011Fileless StorageEvidence1
TacticStealth

This staged approach is commonly used in fileless malware... reconstruct the serialized payload entirely in memory without touching disk.

T1036MasqueradingEvidence2
TacticStealth

To ensure a long-term presence, the software establishes automated registry execution keys that masquerade as legitimate Windows applications.

T1055Process InjectionEvidence1

the malware directly allocates executable memory within the current process using the Windows API VirtualAlloc()... copies the reconstructed shellcode buffer into the allocated region... and transfers execution to the injected buffer through the CreateThread() API.

T1070.004File DeletionEvidence1
TacticStealth

It launches a hidden cmd.exe process with a Base64-decoded command (/C choice /C Y /N /D Y /T 3 & Del) that waits for a few seconds and then deletes the running executable file from disk.

T1140Deobfuscate/Decode Files or InformationEvidence1
TacticStealth

The malware later decompresses and decodes the data to reconstruct the final HTA payload... The routine first decodes the Base64 blob... and utilizes the .NET GZipStream class to restore the original payload buffer.

T1218.005MshtaEvidence3
TacticStealth

Instead of dropping a binary immediately, the shortcut covertly launches the native Windows command tool mshta.exe. This legitimate system binary fetches an externally hosted hypertext application file from a compromised domain.

T1480.002Mutual ExclusionEvidence1
TacticStealth

The malware runs a mutex called “clouda” to prevent duplicate instances.

T1497.001System ChecksEvidence1

The malware runs a mutex called “clouda” to prevent duplicate instances, and it queries installed antivirus products before reporting back to its operators.

T1564.001Hidden Files and DirectoriesEvidence1
TacticStealth

The malware creates a directory named USOShared-1de48789-1285 under C:\Users\Public\ to store the next-stage HTA payload... The directory naming convention mimics application-generated cache or profile folders.

T1620Reflective Code LoadingEvidence3
TacticStealth

Specifically, the malware handles this payload reconstruction phase strictly within volatile memory.

T1056.001KeyloggingEvidence1

Performs keylogging, screen capture, clipboard monitoring, and webcam/microphone surveillance.

Discovery

3 techniques
T1012Query RegistryEvidence1
TacticDiscovery

The script then checks whether the .NET Framework version v4.0.30319 is installed by querying the registry path HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319.

T1082System Information DiscoveryEvidence1
TacticDiscovery

dynamically selects the download endpoint based on the victim operating system version. Systems identified as Windows 7 (Version 6.1) are redirected to an alternate payload location.

T1497.001System ChecksEvidence1

The malware runs a mutex called “clouda” to prevent duplicate instances, and it queries installed antivirus products before reporting back to its operators.

Collection

3 techniques
T1056.001KeyloggingEvidence1

Performs keylogging, screen capture, clipboard monitoring, and webcam/microphone surveillance.

T1113Screen CaptureEvidence1

Performs keylogging, screen capture, clipboard monitoring, and webcam/microphone surveillance.

T1123Audio CaptureEvidence1

Performs keylogging, screen capture, clipboard monitoring, and webcam/microphone surveillance.

T1071Application Layer ProtocolEvidence1

Subsequently, once fully initialized, the backdoor implants open a persistent command channel back to the malicious operators. This outgoing data stream targets a dedicated server node located at internet protocol destination 185.235.137.106.

T1071.001Web ProtocolsEvidence2

After the shortcut file launched mshta.exe, it pulled an HTML Application payload from abimj.edu.af... The final stage deployed XenoRAT 1.8.7... which established an encrypted connection to a bulletproof server in Frankfurt, Germany.

T1090.002External ProxyEvidence1

Supports SOCKS5 proxy-based network tunneling.

T1095Non-Application Layer ProtocolEvidence1

ConnectAndSetupAsync function is responsible for establishing and initializing a TCP-based command-and-control (C2) connection between the client and the remote server.

T1105Ingress Tool TransferEvidence1

After the shortcut file launched mshta.exe, it pulled an HTML Application payload from abimj.edu.af... That loader DLL downloaded an encoded, GZIP-compressed blob from attacker-controlled URLs and unpacked it entirely in memory.

T1219Remote Access ToolsEvidence1

Once opened, the file silently installed XenoRAT, an open-source remote access trojan that allows attackers to maintain long-term access to infected systems.

T1573Encrypted ChannelEvidence1

The final stage deployed XenoRAT 1.8.7... which established an encrypted connection to a bulletproof server in Frankfurt, Germany... It connects to a hard-coded IP address using encrypted TCP traffic.

Other

1 technique
T1562.001Disable or Modify ToolsEvidence1

In Donut loaders, the shellcode bypass security mechanisms by patching functions such as AmsiScanBuffer() to disable AMSI scanning.

INDICATORS OF COMPROMISE

IOCs tracked for this family

40 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
16 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
18 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
6 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
ip.v4●●●●●●●●●●●●View more in app2 days ago
hash.sha256●●●●●●●●●●●●View more in app4 days ago
domain●●●●●●●●●●●●View more in app4 days ago
hash.sha256●●●●●●●●●●●●View more in app4 days ago
hash.sha256●●●●●●●●●●●●View more in app4 days ago
hash.sha256●●●●●●●●●●●●View more in app4 days ago
ACTIVITY FEED

Recent activity

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

security online infoNews
Jun 3, 2026
SideCopy XenoRAT Malware Attack Targets Afghanistan

An open-source remote access trojan used in a targeted espionage campaign against government networks. It is delivered via spear-phishing, executed through a fileless chain using mshta.exe and obfuscated JavaScript/.NET payload reconstruction in memory, then establishes persistence via registry run keys and opens a command channel to attacker-controlled infrastructure.

Read more
cyber security newsNews
Jun 1, 2026
SideCopy Hackers Deploy Persistent XenoRAT Malware to Target Afghanistan Finance Ministry

Open-source remote access trojan used by SideCopy in Operation XENOFISCAL to establish persistent access, communicate over encrypted TCP, register persistence via a scheduled task and Registry Run key, prevent duplicate execution with a mutex, and query installed antivirus products before reporting to operators.

Read more
the record mediaNews
May 31, 2026
Afghan finance officials targeted by suspected Pakistani cyberespionage campaign | The Record from Recorded Future News

An open-source remote access trojan used to maintain long-term access to infected systems, connect to attacker-controlled servers, spy on infected computers, and enable additional malicious activities.

Read more
malware newsNews
May 29, 2026
Operation XENOFISCAL: SideCopy deploying persistent XenoRAT targeting the MoF, Afghanistan - Malware News - Malware Analysis, News and Indicators

Open-source remote access trojan used for persistent remote access, surveillance, and post-exploitation. The report describes encrypted TCP C2, dynamic in-memory DLL loading, command execution, file management, keylogging, screen capture, clipboard monitoring, webcam/microphone surveillance, SOCKS5 tunneling, persistence via Scheduled Tasks and Run keys, and self-uninstall/self-deletion.

Read more
What this page doesn’t show

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 matching40

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution7

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities1

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping34

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.