This hunt detects adversary activity involving known indicators of compromise (IOCs) from the ValleyRAT remote access trojan to identify potential lateral movement and data exfiltration attempts within the environment. A SOC team should proactively search for these specific IOCs in Azure Sentinel to rapidly validate early-stage infections before the malware establishes persistence or escalates privileges on critical assets.
Malware Family: ValleyRAT Total IOCs: 8 IOC Types: md5_hash, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | 07ddbbe2c71c45577a7a4fbcdba0df91 | payload | 2026-08-31 | 50% |
| md5_hash | 8a626d844943da3456b044f38deae3a2 | payload | 2026-08-31 | 50% |
| md5_hash | c24e99f9437feacaa63766a3cde3fe3d | payload | 2026-08-31 | 50% |
| ip:port | 103[.]45[.]66[.]18:442 | botnet_cc | 2026-08-31 | 75% |
| ip:port | 103[.]45[.]66[.]18:443 | botnet_cc | 2026-08-31 | 75% |
| ip:port | 192[.]253[.]225[.]173:6666 | botnet_cc | 2026-08-31 | 75% |
| ip:port | 192[.]253[.]225[.]173:8888 | botnet_cc | 2026-08-31 | 75% |
| ip:port | 103[.]45[.]66[.]18:441 | botnet_cc | 2026-08-31 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["192.253.225.173", "103.45.66.18"]);
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(["192.253.225.173", "103.45.66.18"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for files matching known malicious hashes
// Source: ThreatFox - ValleyRAT
let malicious_hashes = dynamic(["07ddbbe2c71c45577a7a4fbcdba0df91", "8a626d844943da3456b044f38deae3a2", "c24e99f9437feacaa63766a3cde3fe3d"]);
DeviceFileEvents
| where SHA256 in (malicious_hashes) or SHA1 in (malicious_hashes) or MD5 in (malicious_hashes)
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceFileEvents | Ensure this data connector is enabled |
DeviceNetworkEvents | 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:
Scenario: Legitimate Admin Use of Remote Management Tools
ProcessName (e.g., ccmexec.exe, IvantiAgentService) and restrict the scope to trusted administrative accounts (e.g., UserPrincipalName containing \DOMAIN-Admins). Additionally, whitelist the specific internal IP ranges of the SCCM/Ivanti management servers in the network detection logic.Scenario: Scheduled Backup Jobs Utilizing Similar Cryptography
01:00–05:00 daily). Furthermore, add an exclusion for processes running under the specific service accounts used by the backup software (e.g., NT SERVICE\VeeamTransport) and whitelist the destination IP ranges of the backup storage clusters.**Scenario: