Skip to main content
Mallory
Malware8 associated actors1 associated CVE

XenoRAT

Tracked since Nov 25, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days12 mentions · peak 5 in a dayToday
Vulns1Associated
Actors8Associated
ATT&CK63Techniques
IOCs64Tracked
Type
RAT
Capabilities
Credential theftSession hijackingKeyloggingExfiltrationPersistencePrivilege escalationPost exploitationDefense evasionReconnaissance
Delivery
PhishingSpearphishingLure
Platforms
Windows

XenoRAT is an open-source remote access trojan written in C# for Windows, including Windows 10 and Windows 11. Its modular architecture loads operator-supplied plugin assemblies into memory and provides remote command execution, file transfer and management, process and registry management, and interactive desktop control. Surveillance functions include online and offline keylogging, screen capture, webcam access, microphone recording, and hidden virtual desktop interaction. Its browser-information collection component steals saved passwords, cookies, browsing history, download records, and stored payment-card information from Chromium-based browsers. A reverse-proxy component tunnels TCP traffic through compromised hosts.

XenoRAT collects host, operating-system, antivirus, and user-activity information and communicates with its controller over TCP using encrypted communications. It supports configurable startup persistence and privilege elevation through UAC-bypass techniques. Persistence is configuration-dependent and is not enabled in every sample. Additional functionality includes shutdown, restart, and disruptive system operations. Observed variants use obfuscation, packing, application impersonation, and in-memory execution; some PowerShell delivery chains reconstruct a .NET assembly and invoke it directly in memory.

Distribution includes phishing and spearphishing, malicious downloads, Excel add-ins, and repositories masquerading as gaming utilities. South Korea-focused espionage campaigns have delivered XenoRAT through document-disguised Windows shortcuts, multistage PowerShell loaders, and dynamically replaceable payloads hosted on public note services. Other campaigns target gamers and developers with fake Roblox scripting tools. LemonDuck has deployed XenoRAT alongside XMRig and vulnerability-scanning scripts on compromised HTTP File Server installations. MoonPeak is a XenoRAT-based variant. Its public availability and use across different campaigns mean the family is not exclusive to a single threat actor.

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
Associated CVEs

Associated vulnerabilities

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

CVE-2024-23692via ahnlab asec blogExploited in the wildUnauthenticated template-injection RCE in Rejetto HTTP File Server2024년 5월 HFS의 원격 코드 실행 취약점인 CVE-2024-23692가 공개되었으며 이를 활용할 경우 공격자는 HFS에 명령이 포함된 패킷을 전송하여 HFS가 악성 명령을 실행하도록 할 수 있다.View vulnerability →Source ↗
Threat actors

Associated threat actors

8 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

The loader periodically reads a public anotepad.com note page, extracts Base64 code between marker strings, and executes it in memory, letting the actor hot-swap payloads from XenoRAT to Dropbox and MEGA exfiltration scripts and finally NodeLinkRAT, which installs the official Node.js runtime into C:\Users\Public\Music and beacons over Socket.IO with a hardcoded AES-256-GCM key.

via spectrum security threatsspectrum.security
LemonDuck

최종적으로 설치되는 것은 XMRig 코인 마이너이지만 XenoRAT과 취약점 스캐너 스크립트가 함께 설치되는 것이 특징이다.

via ahnlab asec blogasec.ahnlab.com
KONNI

"Not Just Spies Anymore: DPRK's Espionage Actors Are Coming for Your Crypto" published by Zscaler. #Kimsuky, #Konni, #macOS, #XenoRAT, #TokenPhantom

via lazarusholic blueskybsky.app
APT36

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
APT37

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

via hackreadhackread.com

+2 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

63 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.

Resource Development

1 technique
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

3 techniques
T1566PhishingEvidence3

Indicators that we observed in our casework overlap with a Trellix report that tied similar activity to spear phishing campaigns against South Korean diplomatic missions

T1566.001Spearphishing AttachmentEvidence8

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.

T1566.002Spearphishing LinkEvidence1

a possibly linked YouTube account... one of the videos instructing users to disable Windows Defender before installing the Synapse X RAR file. In the same video, several comments vouched for the legitimacy of the files

Execution

13 techniques
T1053Scheduled Task/JobEvidence1

작업 스케줄러를 이용한 지속성을 확보

T1053.005Scheduled TaskEvidence6

It executes the malicious script in the C:\ProgramData Path and registers a Task Scheduler entry that is disguised as a OneDrive update... Type C... creates a Task Scheduler task... Type D... registers them with the Task Scheduler.

T1059Command and Scripting InterpreterEvidence4

the operators attempted to use our models to engage in malware and command-and-control (C2) development

T1059.001PowerShellEvidence8

The Shell plugin provides remote command execution through cmd.exe or powershell.exe on the remote system.

T1059.003Windows Command ShellEvidence3

Starts a new cmd.exe or powershell.exe instance through CreateProc.

T1059.005Visual BasicEvidence2

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

T1059.006PythonEvidence1

It executes its primary payload using the command: python runn.py -p new.bin -k a.json

T1059.007JavaScriptEvidence3

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

T1106Native APIEvidence2

It then calls the NtRaiseHardError API with the error code 0xC0140002.

T1129Shared ModulesEvidence1

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

T1203Exploitation for Client ExecutionEvidence2

MITRE ATT&CK Matrix ... Initial Access ... T1203 – Exploitation for Client Execution

T1204User ExecutionEvidence1

Рис.1 Приклад ланцюга ураження з використанням LNK-файлу ... Рис.2 ... RAR-архіву ... та VBS/BAT файлів ... Документи.pdf.lnk ... Платіжне доручення.vbs ... Порядок денний до суду.bat

T1204.002Malicious FileEvidence10

The GitHub repository... hosts 10 repositories, most disguised as gaming-related executors and named loader.exe... users to disable Windows Defender before installing the Synapse X RAR file.

Persistence

4 techniques
T1053Scheduled Task/JobEvidence1

작업 스케줄러를 이용한 지속성을 확보

T1053.005Scheduled TaskEvidence6

It executes the malicious script in the C:\ProgramData Path and registers a Task Scheduler entry that is disguised as a OneDrive update... Type C... creates a Task Scheduler task... Type D... registers them with the Task Scheduler.

T1112Modify RegistryEvidence2

The deletion of subkeys using DeleteRegistrySubkey and specific Registry values using DeleteRegistryValue is also supported.

T1547.001Registry Run Keys / Startup FolderEvidence5

StartUp implements a persistence mechanism that allows the malware to execute automatically at Windows startup.

Privilege Escalation

6 techniques
T1053Scheduled Task/JobEvidence1

작업 스케줄러를 이용한 지속성을 확보

T1053.005Scheduled TaskEvidence6

It executes the malicious script in the C:\ProgramData Path and registers a Task Scheduler entry that is disguised as a OneDrive update... Type C... creates a Task Scheduler task... Type D... registers them with the Task Scheduler.

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.

T1055.004Asynchronous Procedure CallEvidence1

The decrypted payloads are not written to disk as executables. Instead, they are injected directly into separate instances of explorer.exe using Early Bird APC injection... QueueUserAPC(shellcode_ptr, target_thread, 0)

T1547.001Registry Run Keys / Startup FolderEvidence5

StartUp implements a persistence mechanism that allows the malware to execute automatically at Windows startup.

T1548.002Bypass User Account ControlEvidence1

The UAC Bypass module allows the client to remotely trigger different UAC elevation and process execution methods.

Stealth

13 techniques
T1027Obfuscated Files or InformationEvidence4

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

T1027.011Fileless StorageEvidence1

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

T1036MasqueradingEvidence4

a GitHub repository portraying its software as scripting engine tools for the popular game Roblox... most disguised as gaming-related executors

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.

T1055.004Asynchronous Procedure CallEvidence1

The decrypted payloads are not written to disk as executables. Instead, they are injected directly into separate instances of explorer.exe using Early Bird APC injection... QueueUserAPC(shellcode_ptr, target_thread, 0)

T1070.004File DeletionEvidence2

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 InformationEvidence4

Type C는 Base64로 인코딩된 데이터를 %temp%에 생성해 실행하고...

T1218.005MshtaEvidence3

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 ExclusionEvidence2

기존 MoonPeak 사례와 동일한 뮤텍스 문자열을 사용하는 점

T1497Virtualization/Sandbox EvasionEvidence2

PowerShell 기반 스크립트를 이용하여 분석 환경을 확인

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

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 LoadingEvidence4

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

Defense Impairment

2 techniques
T1112Modify RegistryEvidence2

The deletion of subkeys using DeleteRegistrySubkey and specific Registry values using DeleteRegistryValue is also supported.

T1685Disable or Modify ToolsEvidence2

Figure 9 shows a screenshot from one of the videos instructing users to disable Windows Defender before installing the Synapse X RAR file.

Credential Access

3 techniques
T1056.001KeyloggingEvidence2

System-wide keyboard input is captured using the SetWindowsHookEx API ... together with the WH_KEYBOARD_LL hook type.

T1539Steal Web Session CookieEvidence1

런타임에 aes.js를 생성하여 Cookie를 획득하고 이를 C&C 통신에 활용

T1555.003Credentials from Web BrowsersEvidence1

It decrypts the Chromium master key stored in the Local State file using Windows DPAPI.

Discovery

9 techniques
T1012Query RegistryEvidence2

The corresponding subkeys and values are read through GetRegInfo.

T1033System Owner/User DiscoveryEvidence1

Username — Displays the name of the user account currently logged into the client.

T1057Process DiscoveryEvidence2

It collects each process's PID, executable path, and description information through WMI (Win32_Process).

T1082System Information DiscoveryEvidence5

The HWID function combines values such as Environment.ProcessorCount, Environment.UserName, Environment.MachineName, Environment.OSVersion, and the total disk capacity.

T1083File and Directory DiscoveryEvidence2

FileViewer lists logical drives or the files and subdirectories of a specified directory.

T1497Virtualization/Sandbox EvasionEvidence2

PowerShell 기반 스크립트를 이용하여 분석 환경을 확인

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.

T1518Software DiscoveryEvidence2

GetAntivirus function retrieves antivirus information from the system using Windows Management Instrumentation (WMI) by querying the AntivirusProduct class under root\SecurityCenter2.

T1518.001Security Software DiscoveryEvidence1

The GetAntivirus function detects installed antivirus products by querying the AntivirusProduct class within SecurityCenter2 through WMI.

Collection

6 techniques
T1005Data from Local SystemEvidence2

FileUploader transfers files from the target system to the server in 500,000-byte blocks.

T1056.001KeyloggingEvidence2

System-wide keyboard input is captured using the SetWindowsHookEx API ... together with the WH_KEYBOARD_LL hook type.

T1113Screen CaptureEvidence2

The screenshot is captured by ScreenshotTaker.TakeScreenshot using CopyFromScreen.

T1115Clipboard DataEvidence1

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

T1123Audio CaptureEvidence2

The captured audio data is obtained in 44100 Hz, 16-bit, 2-channel format and transmitted directly to the server through MicNode.

T1125Video CaptureEvidence2

It can detect video input devices on the system, capture video from the selected camera, compress the frames in JPEG format, and transmit them to the server.

Command and Control

9 techniques
T1071Application Layer ProtocolEvidence5

Command and Control Application Layer Protocol T1071

T1071.001Web ProtocolsEvidence4

the use of GitHub-based repositories for C2

T1090ProxyEvidence1

Reverse Proxy provides a SOCKS5-like TCP proxy/tunneling mechanism within XenoRAT.

T1090.002External ProxyEvidence1

Supports SOCKS5 proxy-based network tunneling.

T1095Non-Application Layer ProtocolEvidence2

C&C 서버와 비동기 소켓 통신을 수행

T1102.003One-Way CommunicationEvidence1

A lightweight HTTP POST beacon (status=success) is transmitted to attacker-controlled infrastructure hosted on TryCloudflare, providing operators confirmation of successful staging and injection.

T1105Ingress Tool TransferEvidence13

UPA.ps1 periodically fetching an anotepad.com note page, extracting Base64 between the markers 887wgJs8 and nfJgcBl with a regex, and executing the decoded code with IEX

T1219Remote Access ToolsEvidence5

Type C... distributed XenoRAT-type malware. ... Ultimately, a backdoor capable of executing remote commands and controlling files was activated.

T1573Encrypted ChannelEvidence3

The Encryption class uses the AES algorithm to encrypt and decrypt data exchanged between the client and server.

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence1

Xworm Capabilities & Impact... Data Theft... Enables attackers to conduct espionage... The infection chain concludes by transmitting a minimal HTTP beacon back to attacker-controlled command-and-control (C2) infrastructure

T1567Exfiltration Over Web ServiceEvidence1

Instead of relying on their own servers, they use GitHub to move data. Fortinet researchers identified accounts such as motoralis, Pigresy80, and brandonleeodd93-blip, where stolen information is stored in private repositories.

Impact

2 techniques
T1499Endpoint Denial of ServiceEvidence1

Can trigger Windows' critical error mechanism and cause the system to terminate with a bugcheck (BSOD).

T1529System Shutdown/RebootEvidence1

Value 1 shuts down the system using the shutdown /s /t 0 command, while value 2 restarts the system using the shutdown /r /t 0 command.

Indicators of compromise

Observables

64 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

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

View more in app →
cryptika blogNews · Nov 19, 2026Hackers Turn aNotepad Into a Malware Delivery Channel for XenoRAT and NodeLinkRAT Backdoors | Cryptika CybersecurityBackdoor delivered through an aNotepad-controlled infection chain targeting South Korean policy and security professionals. A variant observed on June 18, 2026, executed in memory while masquerading as Updater.exe. Three variants shared an assembly GUID and custom encryption key, suggesting a common builder. Researchers attributed the campaign to Kimsuky with moderate confidence.Read more ↗cyber security newsNews · Nov 19, 2026Hackers Turn aNotepad Into a Malware Delivery Channel for XenoRAT and NodeLinkRAT BackdoorsBackdoor delivered through an aNotepad-based payload distribution mechanism targeting South Korean policy and security professionals. A variant observed on June 18, 2026, executed in memory, impersonated Updater.exe, and contacted 103.81.116[.]10. Three variants shared an assembly GUID and custom encryption key, suggesting a common builder. Researchers attributed the campaign to Kimsuky with moderate confidence; the content also explicitly notes the group's previous use of XenoRAT.Read more ↗spectrum security threatsNews · Nov 18, 2026Kimsuky NodeLinkRAT note-service C2 threat: detection, logs and IOCsRemote access tool delivered as an earlier payload in the Kimsuky campaign before the loader switched to exfiltration scripts and NodeLinkRAT. The reference identifies three XenoRAT variants and command servers in India and South Korea using port 443.Read more ↗malware newsNews · Nov 15, 2026Analysis of NodeLinkRAT, a New North Korea-Linked RAT Abusing Public Note Services as C2 - Malware News - Malware Analysis, News and IndicatorsAn alternative remote access trojan payload installed through the reported multistage fileless delivery chain. Attackers can replace code on a public note page to deliver XenoRAT instead of NodeLinkRAT. The excerpt does not describe its specific capabilities.Read more ↗
+46 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 matching64Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors8Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs 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 mapping63Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.