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 days15 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, with advertised compatibility with Windows 10 and Windows 11. Its modular architecture allows operators to deliver plugin DLLs and load them into memory. It provides remote command execution through Windows command shells and PowerShell, file transfer and execution, process management, registry manipulation, interactive screen control, hidden virtual desktop access, and reverse-proxy TCP tunneling.

Its surveillance capabilities include online and offline keylogging, screenshots, webcam capture, microphone recording, active-window monitoring, and user-idle tracking. Its browser-information collection module extracts stored passwords, cookies, browsing and download histories, and saved payment-card data from Chromium-based browsers, using Windows DPAPI and AES-GCM to decrypt protected information. XenoRAT also collects host characteristics, operating-system details, and installed antivirus products. Optional modules support startup persistence and UAC elevation attempts. Operators can remotely shut down or restart infected systems and attempt to trigger system crashes. Client-server communications use AES encryption; analyzed implementations use a fixed, zero-valued initialization vector.

XenoRAT has been distributed through phishing and spearphishing, malicious downloads, GitHub repositories, Excel XLL add-ins, and gaming-themed software lures, including fake Roblox executor tools. Observed multistage campaigns use document-disguised Windows shortcuts and PowerShell to load modified XenoRAT assemblies directly into memory. Targets include gamers, developers, and South Korean government, policy, and security professionals. LemonDuck has deployed XenoRAT alongside cryptocurrency miners on compromised HTTP File Server installations. The MoonPeak derivative has been associated with North Korea-linked actors. XenoRAT's public availability and use across unrelated campaigns preclude exclusive attribution 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.001PowerShellEvidence9

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

T1059.003Windows Command ShellEvidence4

The Run function terminates the existing shell process according to the incoming command code and 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 APIEvidence3

It then calls the NtRaiseHardError API with the error code 0xC0140002 to report a critical error to the operating system.

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 RegistryEvidence3

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

T1547.001Registry Run Keys / Startup FolderEvidence6

However, in the analyzed sample, Program.DoStartup is set to 2222 , so the Program.DoStartup == 1 condition is not satisfied and this code block is not executed in the current execution flow.

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 FolderEvidence6

However, in the analyzed sample, Program.DoStartup is set to 2222 , so the Program.DoStartup == 1 condition is not satisfied and this code block is not executed in the current execution flow.

T1548.002Bypass User Account ControlEvidence2

FodHelper: The fodhelper.exe -based UAC elevation method is triggered by calling FodHelper.Run .

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 RegistryEvidence3

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.001KeyloggingEvidence3

An examination of the Keylogger module's source code shows that system-wide keyboard input is captured using the SetWindowsHookEx API from user32.dll together with the WH_KEYBOARD_LL hook type.

T1539Steal Web Session CookieEvidence1

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

T1555.003Credentials from Web BrowsersEvidence2

It decrypts the Chromium master key stored in the Local State file using Windows DPAPI and decrypts encrypted password, cookie, and card data using AES-GCM .

Discovery

9 techniques
T1012Query RegistryEvidence3

GetRootKeyName parses the provided Registry path into root hives such as HKLM , HKCU , HKCR , HKU , or HKCC , while the corresponding subkeys and values are read through GetRegInfo .

T1033System Owner/User DiscoveryEvidence2

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

T1057Process DiscoveryEvidence3

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

T1082System Information DiscoveryEvidence6

The HWID function combines values such as Environment.ProcessorCount , Environment.UserName , Environment.MachineName , Environment.OSVersion , and the total disk capacity of the system drive ( DriveInfo.TotalSize ) to generate a hardware/host identifier specific to the client.

T1083File and Directory DiscoveryEvidence3

While FileViewer lists logical drives or the files and subdirectories of a specified directory, FileUploader transfers files from the target system to the server in 500,000-byte blocks.

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 DiscoveryEvidence2

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

Collection

6 techniques
T1005Data from Local SystemEvidence3

It scans the user profiles of supported browsers and collects stored passwords , cookies , browsing history , downloaded files , and saved credit card information.

T1056.001KeyloggingEvidence3

An examination of the Keylogger module's source code shows that system-wide keyboard input is captured using the SetWindowsHookEx API from user32.dll together with the WH_KEYBOARD_LL hook type.

T1113Screen CaptureEvidence3

The screenshot is captured by ScreenshotTaker.TakeScreenshot using CopyFromScreen , optionally includes the cursor image, is resized according to the specified scale, and compressed as JPEG before being transmitted to the server through ImageNode .

T1115Clipboard DataEvidence1

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

T1123Audio CaptureEvidence3

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

T1125Video CaptureEvidence3

An examination of the Webcam module's source code shows that 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 ProtocolEvidence6

Command and Control Application Layer Protocol T1071

T1071.001Web ProtocolsEvidence4

the use of GitHub-based repositories for C2

T1090ProxyEvidence2

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 TransferEvidence14

When the Chat operation is triggered, the client-side DllHandler mechanism becomes active, receives the Chat DLL sent by the server, and loads it into memory.

T1219Remote Access ToolsEvidence5

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

T1573Encrypted ChannelEvidence4

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 ServiceEvidence2

The combination of enabling SeShutdownPrivilege and calling NtRaiseHardError forms a mechanism that, under appropriate system conditions, can trigger Windows' critical error mechanism and cause the system to terminate with a bugcheck (BSOD) .

T1529System Shutdown/RebootEvidence2

Depending on the opcode received from the server, 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

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

View more in app →
+49 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.