This hunt detects adversary activity involving known indicators of compromise (IOCs) linked to the ValleyRAT remote access trojan, which is frequently used for credential theft and lateral movement within enterprise networks. The SOC team should proactively search for these IOCs in Azure Sentinel to identify early-stage infections before attackers establish persistence or exfiltrate sensitive data.
Malware Family: ValleyRAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 170[.]62[.]130[.]47:443 | botnet_cc | 2026-08-18 | 75% |
| ip:port | 170[.]62[.]130[.]47:449 | botnet_cc | 2026-08-18 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - ValleyRAT
let malicious_ips = dynamic(["170.62.130.47"]);
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(["170.62.130.47"]);
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 rule, along with suggested filters and exclusions tailored for an enterprise environment:
Scenario: Endpoint Protection Scanning of Quarantine Archives
MsMpEng.exe (Microsoft Defender) or C-Host.exe (CrowdStrike) when accessing paths containing \Quarantine\ or \Threats\. Additionally, filter out events where the process command line includes flags like /scan-quarantine or similar maintenance parameters.Scenario: Automated Software Deployment via SCCM/Intune
ccmsetup.exe or intunagent.exe) extracts and executes this file, triggering the detection logic as if it were a malicious execution.ccmsetup.exe, msiexec.exe, and intunagent.exe. Specifically, filter events where the parent process is one of these deployment tools and the file path resides within standard software distribution directories (e.g., C:\Windows\CCM\ or C:\ProgramData\Microsoft Intune Management Extension).Scenario: Scheduled PowerShell Maintenance Scripts