This hunt detects adversary activity involving the RatonRAT remote access tool by identifying specific indicators of compromise such as suspicious process executions and network connections linked to known malicious artifacts. Proactively hunting for these IOCs in Azure Sentinel is critical because RatonRAT enables attackers to establish persistent footholds, allowing them to exfiltrate sensitive data and execute commands across the environment before traditional alerts trigger.
Malware Family: RatonRAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 158[.]174[.]50[.]97:7000 | botnet_cc | 2026-08-27 | 75% |
| ip:port | 91[.]92[.]40[.]138:4838 | botnet_cc | 2026-08-27 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - RatonRAT
let malicious_ips = dynamic(["91.92.40.138", "158.174.50.97"]);
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(["91.92.40.138", "158.174.50.97"]);
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 and corresponding filters for the ThreatFox: RatonRAT IOCs detection rule in an enterprise environment:
Scenario: Security Scanning by Endpoint Protection Agents
ProcessName is one of the approved EDR agents (e.g., FalconSensor.exe, MsMpEng.exe) AND the parent process is the system service (svchost.exe or lsass.exe).Scenario: Legitimate Remote Administration via RDP/SSH
UserAccount belongs to the “Domain Admins” or “IT_Ops” security group AND the source IP is within the corporate management subnet range (e.g., 10.20.x.x).Scenario: Scheduled Backup and Data Synchronization Jobs