This hunt detects adversary activity involving specific indicators of compromise (IOCs) linked to the ValleyRAT remote access trojan, which is known for establishing persistent backdoors and exfiltrating sensitive data from compromised endpoints. The SOC team should proactively search for these IOCs within Azure Sentinel to identify early-stage infections before attackers can leverage their foothold to conduct lateral movement or data theft across the organization’s cloud infrastructure.
Malware Family: ValleyRAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 156[.]247[.]40[.]131:4453 | botnet_cc | 2026-07-30 | 75% |
| ip:port | 156[.]247[.]40[.]131:4452 | botnet_cc | 2026-07-30 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["156.247.40.131"]);
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(["156.247.40.131"]);
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 4 specific false positive scenarios for the ThreatFox: ValleyRAT IOCs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Security Tool Updates and Definition Refreshes
Process Name matches C:\Program Files\CrowdStrike\fsquint.exe, C:\Windows\System32\SentinelOne\SentinelService.exe, or C:\Program Files\Microsoft Defender Antivirus\MsMpEng.exe. Additionally, filter out network connections to known vendor update domains (e.g., *.microsoft.com, *.crowdstrike.com).Scenario: Scheduled Administrative Backup Jobs
Process Command Line containing keywords like “backup,” “snapshot,” or specific backup service names. Specifically, exclude alerts generated by processes such as Veeam.Backup.Service.exe, Commvault Agent Service (cvd.exe), or `RubrikAgent.exe