This detection rule identifies potential Remote Access Trojan (RAT) activity by monitoring for eight specific indicators of compromise that may signal an unknown adversary presence within the network. Proactively hunting for these IOCs in Azure Sentinel is critical to rapidly isolate and investigate early-stage RAT infections before they escalate into broader lateral movement or data exfiltration incidents.
Malware Family: Unknown RAT Total IOCs: 8 IOC Types: url, domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 64[.]89[.]160[.]16:3322 | botnet_cc | 2026-08-10 | 75% |
| domain | customers.googlesecuritysystem.com | botnet_cc | 2026-08-10 | 75% |
| domain | tax-preparer-security-viewer.federal-portal.es | botnet_cc | 2026-08-10 | 100% |
| url | hxxps://babacan.lol/mods/api/log-download | botnet_cc | 2026-08-10 | 100% |
| url | hxxps://babacan.lol/ws | botnet_cc | 2026-08-10 | 100% |
| url | hxxps://babacan.lol/?p= | botnet_cc | 2026-08-10 | 100% |
| url | hxxps://babacan.lol/get/config | botnet_cc | 2026-08-10 | 100% |
| url | hxxps://babacan.lol/babayla/zor/yarisirlar/ | botnet_cc | 2026-08-10 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Unknown RAT
let malicious_ips = dynamic(["64.89.160.16"]);
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(["64.89.160.16"]);
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(["customers.googlesecuritysystem.com", "tax-preparer-security-viewer.federal-portal.es"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - Unknown RAT
let malicious_urls = dynamic(["https://babacan.lol/mods/api/log-download", "https://babacan.lol/ws", "https://babacan.lol/?p=", "https://babacan.lol/get/config", "https://babacan.lol/babayla/zor/yarisirlar/"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp 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 |
UrlClickEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding exclusion strategies for the ThreatFox: Unknown RAT IOCs detection rule:
Scenario: Automated Endpoint Protection Scans
svc-crowdstrike, msdefender) or filter out destinations known to be official update servers (e.g., *.crowdstrike.com, *.microsoft.com).Scenario: Third-Party Backup and Synchronization Tools
Veeam.Backup.Service.exe, OneDrive.exe) and exclude traffic directed to verified corporate cloud storage domains (e.g., *.veeam.com, *.office365.com).Scenario: Remote Desktop Gateway Sessions
Citrix.WorkspaceApp.exe or `mst