This hunt targets adversary behavior where malicious actors deploy the RatonRAT remote access trojan to establish persistence and exfiltrate sensitive data via its known indicators of compromise. Proactively hunting for these specific IOCs in Azure Sentinel is critical because early detection of this high-severity threat prevents lateral movement and limits the window for potential data breaches before automated alerts trigger.
Malware Family: RatonRAT Total IOCs: 6 IOC Types: ip:port, md5_hash, sha256_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 158[.]160[.]75[.]185:43098 | botnet_cc | 2026-07-02 | 100% |
| ip:port | 89[.]125[.]120[.]77:20117 | botnet_cc | 2026-07-02 | 100% |
| ip:port | 87[.]58[.]204[.]146:25565 | botnet_cc | 2026-07-02 | 100% |
| md5_hash | a1cdb3fea0437aab03b9fbd4dcce6416 | payload | 2026-07-02 | 95% |
| sha256_hash | fddc9cca767ef639b17d70374bb9ca9d5c6516f58b9b63cae86f593ced0f3b6b | payload | 2026-07-02 | 95% |
| sha1_hash | 15c68e17d1f3905e527bbf217bf2614f82dc552f | payload | 2026-07-02 | 95% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - RatonRAT
let malicious_ips = dynamic(["87.58.204.146", "158.160.75.185", "89.125.120.77"]);
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(["87.58.204.146", "158.160.75.185", "89.125.120.77"]);
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 - RatonRAT
let malicious_hashes = dynamic(["a1cdb3fea0437aab03b9fbd4dcce6416", "fddc9cca767ef639b17d70374bb9ca9d5c6516f58b9b63cae86f593ced0f3b6b", "15c68e17d1f3905e527bbf217bf2614f82dc552f"]);
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 for the ThreatFox: RatonRAT IOCs detection rule in an enterprise environment, along with suggested filters or exclusions:
Endpoint Protection Signature Updates via Windows Update
MsMpEng.exe (Microsoft Defender) or C:\Program Files\Windows Defender\MpCmdRun.exe. Additionally, exclude alerts where the parent process is UsocoreWorker.exe (Windows Update Orchestrator Service), as these are standard administrative update tasks.Scheduled Software Deployment via SCCM/Intune
ccmexec.exe) extracts and installs these components during off-hours, it triggers the detection logic for file creation or execution.ccmexec.exe (System Center Configuration Manager) or IntuneManagementExtension.exe. Furthermore, filter by user context to exclude accounts running under the “SYSTEM” or a dedicated service account like svc-software-deploy, which are typically trusted for mass installations.Third-Party Backup Agent Scanning