This hunt targets adversary behavior characterized by the execution of known ValleyRAT remote access trojan indicators to establish persistent command and control channels within the network. Proactively hunting for these specific IOCs in Azure Sentinel is critical because early detection of this high-severity threat enables the SOC team to rapidly isolate compromised endpoints before sensitive data exfiltration occurs.
Malware Family: ValleyRAT Total IOCs: 2 IOC Types: url, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| url | hxxp://18[.]163[.]217[.]102/getinstall64 | botnet_cc | 2026-07-10 | 100% |
| ip:port | 137[.]220[.]156[.]66:80 | botnet_cc | 2026-07-10 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["137.220.156.66"]);
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(["137.220.156.66"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - ValleyRAT
let malicious_urls = dynamic(["http://18.163.217.102/getinstall64"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
UrlClickEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding exclusion strategies for the ThreatFox: ValleyRAT IOCs detection rule in an enterprise environment:
Endpoint Protection Maintenance & Signature Updates
NT SERVICE\CrowdStrikeService, SYSTEM) and specific installation paths (e.g., C:\Program Files\CrowdStrike\ or C:\Windows\System32\Microsoft Defender Antivirus\).IT Asset Management & Software Inventory Scans
C:\Program Files\Microsoft SCCM\ or C:\ProgramData\Lansweeper\) and restrict alerts to only those occurring outside of standard business hours if the scans are configured for off-peak execution.Third-Party Remote Support Sessions