This detection identifies potential Remote Access Trojan (RAT) activity by correlating unknown Indicators of Compromise (IOCs) that may signal an adversary establishing covert command and control channels within the network. Proactive hunting for these signals in Azure Sentinel is critical to rapidly identify early-stage infections before adversaries can exfiltrate sensitive data or pivot to other systems, thereby minimizing dwell time and preventing lateral movement.
Malware Family: Unknown RAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 172[.]245[.]12[.]92:8041 | botnet_cc | 2026-07-30 | 75% |
| ip:port | 198[.]37[.]105[.]19:8041 | botnet_cc | 2026-07-30 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Unknown RAT
let malicious_ips = dynamic(["198.37.105.19", "172.245.12.92"]);
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(["198.37.105.19", "172.245.12.92"]);
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: Unknown RAT IOCs detection rule:
Scenario: Legitimate Endpoint Protection Updates
C-Update.exe, MsMpEng.exe, or FalconService where the file path resides within the vendor’s installation directory (e.g., C:\Program Files\CrowdStrike\ or C:\ProgramData\Microsoft\Windows Defender\).Scenario: Admin Deployment of Remote Management Tools
System account or specific admin users (e.g., DOMAIN\IT-Admins) where the executable path matches known legitimate remote tools, such as C:\Program Files\TeamViewer\TeamViewer.exe.Scenario: Scheduled Backup and Monitoring Agents