Skip to main content
Mallory
Malware

ValleyRAT_S2

Tracked since Jan 12, 2026 · Updated 7 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK39Techniques
IOCs2Tracked

ValleyRAT_S2 is a second-stage malware payload in the ValleyRAT family and is described as a modular, highly evasive C++ remote access trojan used for cyber-espionage and long-term covert access. It functions as the core backdoor component after an initial Stage 1 infection. Reported targeting includes organizations in mainland China, Hong Kong, Taiwan, and Southeast Asia, with reporting also describing theft of sensitive financial information.

Observed delivery vectors include fake Chinese-language productivity tools marketed as "AI表格生成工具," cracked software, trojanized installers and utilities, targeted phishing emails with malicious .doc, .xls, and .pdf attachments, compressed archives with disguised executables, and abuse of legitimate software update mechanisms. A prominent execution technique is DLL side-loading, in which legitimate signed applications load malicious DLLs from the same directory. Reported masqueraded DLL names include steam_api64.dll and apphelp.dll, and an example drop path is C:\Users\Admin\AppData\Local\Temp\AI自动化办公表格制作生成工具安装包\steam_api64.dll.

Capabilities described in the content include system reconnaissance and host profiling, such as collecting operating system information, locale settings, registry data, installed software details, process listings, and scanning file systems for hidden drives, removable media, and network shares. ValleyRAT_S2 is also reported to support file upload and download, shell command execution, local data exfiltration, credential theft, financial data collection, and keystroke monitoring via Windows hooks. Evasion and post-exploitation behaviors include sandbox detection, process injection using WriteProcessMemory and CreateRemoteThread, thread context manipulation, and use of trusted-looking process names such as Telegra.exe and WhatsApp.exe.

Persistence mechanisms described include Windows Task Scheduler abuse via COM APIs, possible registry run keys, staged files in %TEMP% and AppData paths, and a watchdog mechanism implemented with batch scripts. Reported artifacts include %TEMP%\target.pid, monitor.bat, and a configuration path under %APPDATA%\Promotions\Temp.aps. The malware is said to create temporary staging artifacts in %TEMP% and restart itself if terminated. Command-and-control uses hardcoded infrastructure over a custom TCP-based protocol; a reported C2 endpoint is 27.124.3.175:14852. Additional reported behaviors include initialization that masquerades as Steam-related activity and use of callbacks disguised as legitimate Steam events.

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
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1195.002Compromise Software Supply ChainEvidence1

Software Update Abuse Exploitation of legitimate update mechanisms: Compromise of update channels in popular local Chinese software Injection into software distribution networks Abuse of trusted software vendors’ infrastructure

T1566.001Spearphishing AttachmentEvidence2

Deployed through targeted phishing operations: Malicious document attachments (.doc, .xls, .pdf) Compressed archives (.zip, .rar) containing disguised executables

Execution

5 techniques
T1053Scheduled Task/JobEvidence1

“The malware implements advanced persistence techniques through Task Scheduler integration via COM APIs…”

T1053.005Scheduled TaskEvidence1

Task Scheduler Integration : Uses COM API for automatic startup

T1059.003Windows Command ShellEvidence1

The function launches cmd.exe via ShellExecuteExA ... wait until that shell completes execution

T1059.005Visual BasicEvidence1

Generated Batch Script Behavior ... cscript //nologo "%VBSPath%"

T1204.002Malicious FileEvidence1

Fake Software Installers ValleyRAT commonly disguises itself within: Fake productivity tools (e.g., “AI表格生成工具” — AI-based spreadsheet generator) Cracked or unofficial software downloads

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

“The malware implements advanced persistence techniques through Task Scheduler integration via COM APIs…”

T1053.005Scheduled TaskEvidence1

Task Scheduler Integration : Uses COM API for automatic startup

T1547.001Registry Run Keys / Startup FolderEvidence1

Evidence : Watchdog batch script for automatic restart Behavior : Monitor.bat ensures malware restarts if killed

Privilege Escalation

7 techniques
T1053Scheduled Task/JobEvidence1

“The malware implements advanced persistence techniques through Task Scheduler integration via COM APIs…”

T1053.005Scheduled TaskEvidence1

Task Scheduler Integration : Uses COM API for automatic startup

T1055Process InjectionEvidence2

Behavioral Analysis MITRE ATT&CK Mapping Technique ID Observed Behavior ... Process Injection T1055 WriteProcessMemory into explorer.exe

T1055.002Portable Executable InjectionEvidence1

Memory Injection : WriteProcessMemory and CreateRemoteThread for payload delivery

T1055.003Thread Execution HijackingEvidence1

Thread Context Manipulation : Uses SetThreadContext for process hijacking

T1055.012Process HollowingEvidence1

Evidence : Hooks into Windows messaging APIs via SetWindowsHookEx Behavior : Keystroke monitoring and control hijacking

T1547.001Registry Run Keys / Startup FolderEvidence1

Evidence : Watchdog batch script for automatic restart Behavior : Monitor.bat ensures malware restarts if killed

Stealth

10 techniques
T1027.002Software PackingEvidence1

Evidence : Uses software packing to delay sandbox unpacking Behavior : Obfuscated code structure, potential string/section encryption

T1036MasqueradingEvidence1

“Attackers disguise ValleyRAT_S2 within fake productivity tools… alongside cracked software downloads and legitimate-looking Chinese-language utilities.”

T1036.005Match Legitimate Resource Name or LocationEvidence1

Mimics legitimate applications (Telegra.exe, WhatsApp.exe) Behavior : Uses familiar application names to avoid suspicion

T1055Process InjectionEvidence2

Behavioral Analysis MITRE ATT&CK Mapping Technique ID Observed Behavior ... Process Injection T1055 WriteProcessMemory into explorer.exe

T1055.002Portable Executable InjectionEvidence1

Memory Injection : WriteProcessMemory and CreateRemoteThread for payload delivery

T1055.003Thread Execution HijackingEvidence1

Thread Context Manipulation : Uses SetThreadContext for process hijacking

T1055.012Process HollowingEvidence1

Evidence : Hooks into Windows messaging APIs via SetWindowsHookEx Behavior : Keystroke monitoring and control hijacking

T1070.004File DeletionEvidence1

set /p pid=< "%PIDFile%" del "%PIDFile%"

T1497Virtualization/Sandbox EvasionEvidence1

“…sandbox detection heuristics identify analysis environments to evade security researchers.”

T1497.001System ChecksEvidence1

Sandbox Detection : Heuristic analysis to detect analysis environments ... custom SEH handler ... known evasion technique in advanced malware

Credential Access

2 techniques
T1056Input CaptureEvidence1

“…Windows Hook integration for keystroke monitoring.”

T1056.001KeyloggingEvidence2

Windows Hook Integration : SetWindowsHookEx for keystroke monitoring and control

Discovery

10 techniques
T1012Query RegistryEvidence2

Registry Analysis : Policy settings, installed software detection

T1057Process DiscoveryEvidence2

Process Enumeration : Running processes via snapshot APIs

T1082System Information DiscoveryEvidence3

Operating System Information : Version, locale, architecture, environment variables

T1083File and Directory DiscoveryEvidence2

File System Scanning : Hidden drives, removable media, network shares

T1120Peripheral Device DiscoveryEvidence2

Enumerates connected drives Behavior : Discovers removable media and network drives

T1135Network Share DiscoveryEvidence1

“…scans file systems for… network shares…”

T1497Virtualization/Sandbox EvasionEvidence1

“…sandbox detection heuristics identify analysis environments to evade security researchers.”

T1497.001System ChecksEvidence1

Sandbox Detection : Heuristic analysis to detect analysis environments ... custom SEH handler ... known evasion technique in advanced malware

T1518Software DiscoveryEvidence1

Loops through the file system and registry Behavior : Identifies installed software and configurations

T1614System Location DiscoveryEvidence1

Geolocation Data : Collection through locale APIs

Collection

5 techniques
T1005Data from Local SystemEvidence1

File system scanning capabilities Behavior : Harvests data from local storage devices

T1056Input CaptureEvidence1

“…Windows Hook integration for keystroke monitoring.”

T1056.001KeyloggingEvidence2

Windows Hook Integration : SetWindowsHookEx for keystroke monitoring and control

T1074Data StagedEvidence1

“constructs temporary environment staging in system %TEMP% directories… Environmental path resolution targets AppData\Roaming directories for staging malware data…”

T1115Clipboard DataEvidence1

Behavioral Analysis MITRE ATT&CK Mapping Technique ID Observed Behavior ... Clipboard Data T1115 AddClipboardFormatListener

Command and Control

5 techniques
T1071.001Web ProtocolsEvidence1

Traffic Mimicry : HTTP tunneling and benign traffic patterns

T1071.004DNSEvidence1

push offset aServiceName; “14852” push offset aNodeName ; “27.124.3.175” call ds:getaddrinfo

T1095Non-Application Layer ProtocolEvidence1

“…custom TCP-based protocols…” | “hardcoded endpoints… 27.124.3.175:14852, using custom TCP-based protocols that mimic benign traffic patterns.”

T1105Ingress Tool TransferEvidence1

Modular Commands : File upload/download, shell execution, payload injection, credential harvesting

T1573.001Symmetric CryptographyEvidence1

Custom Protocol : TCP-based communication with proprietary format

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

Exfiltrates collected data through established C2 channels

Impact

2 techniques
T1489Service StopEvidence1

Evidence : Process monitoring and termination capabilities Behavior : Watchdog script monitors and controls process execution

T1490Inhibit System RecoveryEvidence2

Volume Shadow Copy Manipulation : WMI and COM APIs for potential ransomware staging

Indicators of compromise

Observables

2 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

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

View more in app →
scworldNews · Jan 13, 2026Second stage ValleyRAT payload emerges | SC MediaSecond-stage ValleyRAT payload used for post-compromise activity including extensive system reconnaissance, persistence via Steam event-masquerading callbacks, process injection/DLL sideloading evasion, keystroke logging, and local data exfiltration with staging in %TEMP% directories.Read more ↗gbhackersNews · Jan 12, 2026ValleyRAT_S2: Stealth Intrusions Aimed at Financial Data ExfiltrationSecond-stage modular C++ remote access trojan used for cyber-espionage. Provides backdoor access, persistence (Task Scheduler/COM APIs, watchdog scripts), system reconnaissance (OS/locale/registry/software, drives/shares, processes), code injection (WriteProcessMemory/CreateRemoteThread, thread context manipulation), possible keystroke monitoring (Windows hooks), and data exfiltration over custom TCP C2 (e.g., 27.124.3.175:14852). Commonly delivered via fake Chinese-language utilities/cracked software and DLL side-loading using masqueraded DLL names (e.g., steam_api64.dll, apphelp.dll).Read more ↗cyber security newsNews · Jan 12, 2026ValleyRAT_S2 Attacking Organizations to Deploy Stealthy Malware and Extract Financial DetailsSecond-stage ValleyRAT payload (C++), functioning as a full remote access trojan/backdoor. Provides long-term remote control, system discovery, credential theft, keylogging, file upload/download, command execution, payload injection, and exfiltration of financial data. Uses DLL side-loading, spearphishing attachments, and abused update channels for delivery; maintains persistence via Task Scheduler (COM APIs), possible Run keys, and a watchdog loop (monitor.bat + watch.vbs) that restarts the malware if terminated.Read more ↗
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 matching2Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping39Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.