This detection identifies potential Remote Access Trojan (RAT) activity by monitoring for specific Indicators of Compromise (IOCs) linked to unknown threat actors within the Azure Sentinel environment. Proactive hunting is essential because RATs often establish persistent backdoors that enable long-term data exfiltration and lateral movement, which may remain undetected until significant damage occurs.
Malware Family: Unknown RAT Total IOCs: 2 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | shift-api-control.com | botnet_cc | 2026-08-30 | 100% |
| ip:port | 176[.]65[.]144[.]127:3847 | botnet_cc | 2026-08-30 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Unknown RAT
let malicious_ips = dynamic(["176.65.144.127"]);
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(["176.65.144.127"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - Unknown RAT
let malicious_domains = dynamic(["shift-api-control.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding exclusions for the ThreatFox: Unknown RAT IOCs detection rule:
Scenario: Scheduled Endpoint Security Scans
Exclude if Process Name contains "FalconSensor.exe" OR "MsMpEng.exe" AND Parent Process is "svchost.exe"10.20.50.x).Scenario: Admin-Initiated Remote Management Sessions