This hunt detects ValleyRAT activity by identifying remote access trojan behaviors characterized by data exfiltration and persistent command-and-control connections established through specific IP:port pairs following phishing or download events. The SOC team should proactively search for these indicators in Azure Sentinel to rapidly identify stealthy lateral movement and potential data breaches before adversaries can fully establish a foothold within the network.
Malware Family: ValleyRAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 103[.]112[.]99[.]160:1888 | botnet_cc | 2026-07-26 | 75% |
| ip:port | 103[.]112[.]99[.]160:1666 | botnet_cc | 2026-07-26 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["103.112.99.160"]);
CommonSecurityLog
| where DestinationIP in (malicious_ips) or SourceIP in (malicious_ips)
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, DeviceAction, Activity
| order by TimeGenerated desc
// Hunt in Defender for Endpoint network events
let malicious_ips = dynamic(["103.112.99.160"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
Here are 5 specific false positive scenarios for the ThreatFox: ValleyRAT IOCs detection rule, including targeted filters and exclusions tailored for an enterprise environment:
Scenario: Legitimate Remote Support Sessions via TeamViewer or AnyDesk
TeamViewer.exe, AnyDesk.exe, or SplashtopAgent.exe where the process path matches the standard installation directory (e.g., C:\Program Files\TeamViewer\). Additionally, whitelist specific known support IP ranges provided by these vendors in your firewall policy.Scenario: Automated Cloud Backup and Synchronization Jobs
VeeamAgent.exe, OneDrive.exe, or CarboniteService.exe during defined maintenance windows (e.g., 01:00–