Xeno RAT is a freely available, open-source remote access trojan written in C# for Windows. Its operator interface includes a builder for generating customized payloads. It supports remote command execution, external DLL module loading, file operations, data exfiltration, keystroke logging, screenshot capture, clipboard monitoring, and webcam and microphone access. Built-in Hidden Virtual Network Computing (hVNC) allows operators to interact with an invisible desktop, including launching browsers and command interpreters without displaying their activity on the victim’s desktop. SOCKS5 proxying provides network tunneling and supports command-and-control connectivity.
Xeno RAT communicates with operator-controlled servers to receive commands and return data and status updates. It can retrieve antivirus information, establish scheduled-task persistence, manage startup entries, remove persistence, and uninstall itself. Observed deployment chains use obfuscated scripts and payloads, DLL sideloading through legitimate signed applications, and successive injections into legitimate Windows processes. Associated loaders employ debugger, sandbox, and monitoring-tool checks to hinder analysis. These deployment techniques vary between campaigns rather than constituting a single fixed infection chain.
Distribution includes phishing and spear-phishing messages carrying archives with malicious Windows shortcuts disguised as images or documents. Payloads have been staged through legitimate hosting services, including Discord’s content delivery network and GitHub. Customized Xeno RAT has also been delivered through a trojanized cryptocurrency trading application. Its use spans espionage and financially motivated activity, including operations associated with Kimsuky and the initial access broker TA584. Targeted environments include South Korean organizations, cryptocurrency-related users, and Afghanistan’s Ministry of Finance and provincial finance and revenue bodies. MoonPeak is a variant of Xeno RAT.
7 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Во извештај објавен во јуни 2026 година, Seqrite Labs го поврза SideCopy со spear-phishing кампања насочена кон Министерството за финансии на Авганистан, при што бил користен open-source Remote Access Trojan наречен Xeno RAT.
Во извештај објавен во јуни 2026 година, Seqrite Labs го поврза SideCopy со spear-phishing кампања насочена кон Министерството за финансии на Авганистан, при што бил користен open-source Remote Access Trojan наречен Xeno RAT.
The Payload: Customized Xeno RAT ... The final payload is a modified Xeno RAT — a public .NET remote access trojan recompiled with custom changes and pointed at DPRK-controlled C2 servers.
The Payload: Customized Xeno RAT ... The final payload is a modified Xeno RAT — a public .NET remote access trojan recompiled with custom changes and pointed at DPRK-controlled C2 servers.
The malware these steps were in service of, Xeno RAT, is an open source (OSS) remote stealer, customized in this case with a hardcoded command-and-control (C2) domain hosted by a bulletproof service in Bulgaria.
some of the cyber attacks also leveraging GitHub as a stager for propagating an open-source trojan called Xeno RAT.
+1 more in the app. View in Mallory
57 distinct techniques documented for this family, organized by ATT&CK tactic.
The site profiled every visitor on arrival: • Browser fingerprint and user-agent • IP geolocation • Persistent tracking cookie • Download event logging
the attackers hosted their remote payload on a compromised domain in the IP address space of Afghanistan's Ministry of Communication and Information Technology.
The FOBOS toolkit includes HTMLSMUG, CLEARFIX, PDF/DOC droppers, LNK delivery, SMTP smuggling, URI/URL-handler abuse, and browser-in-the-browser tooling.
The attacks began with spear-phishing emails. Those emails contained zip archives, with malicious LNK files disguised as PDFs.
“The currently prevalent attack chain begins with emails sent from hundreds of compromised, aged accounts… The emails include unique URLs for each target…”
“The currently prevalent attack chain begins with emails sent from hundreds of compromised, aged accounts, delivered via SendGrid and Amazon Simple Email Service (SES). The emails include unique URLs for each target…”
Xeno RAT also adds itself to the scheduled task for persistance.
Remote Command Execution Full shell and process control over the victim's machine.
Electron app and PowerShell stager for entry.
The file functions as a downloader, utilizing the Windows command shell to retrieve, extract, and execute the payload from a zip archive.
Upon execution, the LNK file uses mshta.exe to download a remote HTML Application (HTA) from a compromised Afghan education domain, leading to the execution of obfuscated JavaScript.
the malware directly allocates executable memory within the current process using the Windows API VirtualAlloc()... transfers execution to the injected buffer through the CreateThread() API.
The function manages the dynamic loading and execution of external DLL modules received through a remote Node connection... loads it dynamically using Assembly.Load.
“Subsequent exploitation of the “AppInstallerPythonRedirector.exe” binary facilitates the deployment of the Xeno RAT…”
Two Ways to Get Infected • Direct download — MSI installer signed by shell company "AgilusTech LLC" with a real EV certificate • Microsoft Store — published as a verified app, appearing fully legitimate
T1204.001: Malicious Link
The primary malware sample is delivered as a shortcut file (.lnk) labeled with the description “WhatsApp_2023-12-12_12-59-06-18264122612_DCIM.png”.
Xeno RAT also adds itself to the scheduled task for persistance.
A couple of loaders followed, and the attackers established persistence via the Windows registry, disguising their task as a Microsoft Edge process.
Xeno RAT also adds itself to the scheduled task for persistance.
ADExplorer64 creates a suspended process named “hh.exe”, writes into its memory (process injection), and then resumes the thread.
A couple of loaders followed, and the attackers established persistence via the Windows registry, disguising their task as a Microsoft Edge process.
Heavy Obfuscation ROT ciphers, fragmented strings, and fake code blocks used to defeat static analysis tools.
This staged approach is commonly used in fileless malware... reconstruct the serialized payload entirely in memory without touching disk.
A couple of loaders followed, and the attackers established persistence via the Windows registry, disguising their task as a Microsoft Edge process.
ADExplorer64 creates a suspended process named “hh.exe”, writes into its memory (process injection), and then resumes the thread.
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.
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.
"The malware also makes use of a legitimate Microsoft binary, 'AppInstallerPythonRedirector.exe,' to invoke Python and launch Xeno RAT."
The LNK files used mshta to fetch an HTA payload, which then got decoded in-memory.
T1497:Virtualization/Sandbox Evasion
The payload only runs if the victim's IP or MAC is on a hardcoded allowlist. Non-matching machines are flagged for later.
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.
Decompresses and executes via Assembly.Load() — nothing touches disk
It looks for the debuggers, monitoring, and analysis tools before executing the final stage.
In Donut loaders, the shellcode bypass security mechanisms by patching functions such as AmsiScanBuffer() to disable AMSI scanning.
Xeno RAT is capable of remote command execution, data exfiltration, network tunneling, and system monitoring, including keystroke logging and screenshot capture.
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.
let proc = ["ps aux", "ps aux", "tasklist"]; ... postBody.Process = await runCommand(proc[uid]);
Collects OS, CPU, memory, disk, network, and process info
T1497:Virtualization/Sandbox Evasion
The payload only runs if the victim's IP or MAC is on a hardcoded allowlist. Non-matching machines are flagged for later.
GetAntivirus function retrieves antivirus information from the system using Windows Management Instrumentation (WMI) by querying the AntivirusProduct class under root\SecurityCenter2.
It looks for the debuggers, monitoring, and analysis tools before executing the final stage.
hVNC utilizes the Microsoft Windows Desktop API to craft a hidden desktop via the Windows feature CreateDesktop. This concealed desktop remains invisible to users... hVNC capabilities go beyond mere observation, actively emulating keyboard and mouse input, allowing cybercriminals to navigate compromised systems with precision.
hRDP Hidden Remote Desktop Protocol (hRDP) represents an illicit adaptation of Microsoft's RDP, engineered for covert remote access and control over a compromised computer... Attackers usually accomplish this by reconfiguring the RDP service to listen on a non-standard port and establishing secret user accounts for surreptitious access.
Xeno RAT is capable of remote command execution, data exfiltration, network tunneling, and system monitoring, including keystroke logging and screenshot capture.
Xeno RAT is capable of remote command execution, data exfiltration, network tunneling, and system monitoring, including keystroke logging and screenshot capture.
The malware is equipped to ... monitor the clipboard ...
The malware is equipped to ... track webcam/microphone ...
The malware is equipped to ... track webcam/microphone ...
“…retrieve more payloads as ZIP archives with files that trigger an attack sequence upon extraction…”
Xeno RAT, is an open source (OSS) remote stealer, customized in this case with a hardcoded command-and-control (C2) domain hosted by a bulletproof service in Bulgaria.
Command and Control (TA0011) T1071.001: Web Protocols
Xeno RAT is capable of remote command execution, data exfiltration, network tunneling, and system monitoring, including keystroke logging and screenshot capture.
The malware is equipped to ... support SOCKS5 proxy-based network tunneling ...
ConnectAndSetupAsync function is responsible for establishing and initializing a TCP-based command-and-control (C2) connection between the client and the remote server.
The same GitHub repositories are used to store additional modules and commands, allowing operators to maintain persistent control over compromised systems while blending into trusted platforms.
"use of GitHub as a command-and-control channel"
Downloads Node.js bundle → unpacks to ~/.nodes • Fetches index.js from C2... Receives base64-encoded response → saves as addon.js
GitLab C2 Backbone Command-and-control traffic blends into normal developer activity, evading network detection.
data security is enforced using AES encryption, where raw data is encrypted with a shared key and fixed IV via CryptoStream, ensuring secure communication during transmission.
By running their malicious traffic through the government's own sovereign infrastructure, on a website situated next to more than 200 legitimate government and education sites, the hackers were able to blend their malicious traffic with proper state business.
Reads output.log and error.log, base64-encodes and sends to C2
"leveraging GitHub as a stager... hard-coded Github Personal Access Token (PAT)... upload information" / "fetches... from Dropbox" / "Proton Drive link hosting a ZIP archive"
25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.