This hunt targets adversary activity involving the five specific indicators of compromise linked to the ValleyRAT remote access trojan, which is known for establishing persistent command-and-control channels and exfiltrating sensitive data. Proactively hunting for these IOCs in Azure Sentinel is critical because early identification of this threat allows the SOC team to isolate affected endpoints before lateral movement occurs, thereby preventing potential credential theft and data loss across the organization’s cloud infrastructure.
Malware Family: ValleyRAT Total IOCs: 5 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 119[.]45[.]12[.]116:80 | botnet_cc | 2026-07-01 | 75% |
| ip:port | 119[.]45[.]12[.]116:8888 | botnet_cc | 2026-07-01 | 75% |
| ip:port | 104[.]143[.]33[.]78:10201 | botnet_cc | 2026-07-01 | 75% |
| ip:port | 104[.]143[.]33[.]78:10202 | botnet_cc | 2026-07-01 | 75% |
| ip:port | 119[.]45[.]12[.]116:6666 | botnet_cc | 2026-07-01 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["104.143.33.78", "119.45.12.116"]);
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(["104.143.33.78", "119.45.12.116"]);
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 specific false positive scenarios for the ThreatFox: ValleyRAT IOCs detection rule, tailored for an enterprise environment:
Endpoint Protection Scanning of Quarantine Archives
C:\ProgramData\Quarantine directory. This directory contains archived logs and isolated files from previous incidents that may include legacy ValleyRAT samples used for training or historical analysis. The EDR agent generates network traffic or file creation events matching the rule’s IOCs during this routine maintenance window (e.g., 02:00 UTC).svc_defender_scan) and restrict the scope to the known quarantine file path (C:\ProgramData\Quarantine\*).Software Deployment via Configuration Management
Local System or a dedicated DeployAdmin account.ccmexec.exe, ansible-playbook) and filter on the specific OU (Organizational Unit) where these deployments are currently active, excluding them until the deployment cycle is complete.Security Research Lab Traffic Simulation *