MoonPeak is a Windows remote access trojan derived from the open-source, C#/.NET-based XenoRAT codebase. Identified in 2024, it is associated with North Korean-linked activity, including operations tracked as UAT-5394 and campaigns attributed to Kimsuky. It provides remote control of compromised systems, including command execution, screen monitoring, and file theft.
MoonPeak is delivered through multi-stage infection chains using malicious Windows shortcut files and PowerShell loaders. Document-themed shortcuts display decoy material while silently initiating payload retrieval. Observed lures include financial trading guidance and game-character design documents. Other campaigns distribute MoonPeak through a counterfeit cryptocurrency trading application. Targeting includes Windows users in South Korea, the gaming industry, and cryptocurrency traders.
Delivery chains use GitHub or GitLab to stage payloads, sometimes concealing compressed .NET assemblies through misleading document formats and modified GZIP headers. Supporting scripts perform host reconnaissance and check for virtualization, debugging, and forensic tools before proceeding. Windows scheduled tasks provide persistence. Analyzed MoonPeak builds use ConfuserEx obfuscation, anti-tampering measures, and dynamic code decryption to impede analysis, and communicate with command-and-control infrastructure through asynchronous sockets. These techniques combine socially engineered execution with trusted-service abuse and layered concealment to establish persistent remote access.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This build belongs to the MoonPeak/Xeno RAT toolset, the same family tied to UAT-5394 / Kimsuky.
The campaign shares infrastructure overlaps with another set of attacks that delivered a variant of Xeno RAT known as MoonPeak.
33 distinct techniques documented for this family, organized by ATT&CK tactic.
Recon Using WMI Class ... T1592, T1059.001 ... WMI Recon Running Process Or Services ... T1592
ID Technique T1583.003 Acquire Infrastructure: Virtual Private Server
ID Technique T1608.001 Stage Capabilities: Upload Malware
It's assessed that these LNK files are distributed via phishing emails.
작업 스케줄러를 이용한 지속성을 확보
The malware creates randomized temporary folders and files to evade file-based detection, then establishes persistence through scheduled task creation using WScript.exe.
추가 페이로드를 다운로드 및 실행하는 다단계 감염 구조
PowerShell 기반 스크립트를 이용하여 분석 환경을 확인하고 시스템 정보를 수집한다.
The malware creates randomized temporary folders and files to evade file-based detection, then establishes persistence through scheduled task creation using WScript.exe.
The attack begins with a deceptive LNK file named “실전 트레이딩 핵심 비법서.pdf.lnk” ... When users open the LNK file, two actions occur simultaneously: a decoy PDF document is displayed ... while an obfuscated PowerShell script executes silently in a hidden window.
작업 스케줄러를 이용한 지속성을 확보
The malware creates randomized temporary folders and files to evade file-based detection, then establishes persistence through scheduled task creation using WScript.exe.
Annotations ID Technique Tactic T1543 Create or Modify System Process Persistence
작업 스케줄러를 이용한 지속성을 확보
The malware creates randomized temporary folders and files to evade file-based detection, then establishes persistence through scheduled task creation using WScript.exe.
Annotations ID Technique Tactic T1543 Create or Modify System Process Persistence
The following analytic detects a registry modification that allows the 'Consent Admin' to perform operations requiring elevation without user consent or credentials... This activity is significant as it indicates a potential privilege escalation attempt... Annotations ID Technique Tactic T1548 Abuse Elevation Control Mechanism Defense Evasion
The downloaded file is obfuscated through GZIP compression and header manipulation... This executable is MoonPeak malware, heavily obfuscated using ConfuserEx ... encrypts strings and code to defeat static analysis.
게임 캐릭터 디자인 관련 파일로 위장한 LNK 파일을 통해 사용자의 실행을 유도
When users open the LNK file, two actions occur simultaneously: a decoy PDF document is displayed to maintain the illusion of a legitimate file, while an obfuscated PowerShell script executes silently
RTF 파일로 위장한 GZIP 데이터를 복원하여 실행
기존 MoonPeak 사례와 동일한 뮤텍스 문자열을 사용하는 점
PowerShell 기반 스크립트를 이용하여 분석 환경을 확인
The PowerShell payload performs critical reconnaissance and evasion checks, including detection of virtualization environments (VMware, VirtualBox) and 50+ analysis tools commonly used by security researchers.
Process names monitored include dnSpy, IDA, x64dbg, Wireshark, and Process Monitor... If any monitored process is detected, execution immediately terminates, effectively preventing dynamic analysis.
The multi-stage chain runs reconnaissance → keylogger → browser-credential-and-wallet stealer → MoonPeak.
런타임에 aes.js를 생성하여 Cookie를 획득하고 이를 C&C 통신에 활용
gz_launcher.ps1 starts the modular payload set in sequence: system reconnaissance, keystroke capture, browser-credential-and-wallet harvesting.
The initial PowerShell script communicates with the attacker’s command-and-control infrastructure ... transmitting system information including hostname, OS version, and process lists
시스템 정보를 수집한다
PowerShell 기반 스크립트를 이용하여 분석 환경을 확인
The PowerShell payload performs critical reconnaissance and evasion checks, including detection of virtualization environments (VMware, VirtualBox) and 50+ analysis tools commonly used by security researchers.
Process names monitored include dnSpy, IDA, x64dbg, Wireshark, and Process Monitor... If any monitored process is detected, execution immediately terminates, effectively preventing dynamic analysis.
The multi-stage chain runs reconnaissance → keylogger → browser-credential-and-wallet stealer → MoonPeak.
The initial PowerShell script communicates with the attacker’s command-and-control infrastructure at “hxxp://mid[.]great-site[.]net,” transmitting system information including hostname, OS version, and process lists via POST requests to “/maith.php.”
C&C 서버와 비동기 소켓 통신을 수행
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.
The operation uses GitLab as both payload-delivery and data-exfiltration channel , with the operator polling and committing on a ~30-minute cadence.
추가 페이로드를 다운로드 및 실행하는 다단계 감염 구조
"leveraging GitHub as a stager... hard-coded Github Personal Access Token (PAT)... upload information" / "fetches... from Dropbox" / "Proton Drive link hosting a ZIP archive"
the implant commits stolen credentials and wallet material back to the same repository as new commits
ID Technique T1657 Financial Theft
19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.