This detection identifies potential Remote Access Trojan (RAT) activity by monitoring network traffic and endpoint logs for specific Indicators of Compromise (IOCs) linked to unknown threat actors. Proactive hunting in Azure Sentinel is critical because RATs often establish persistent footholds that can lead to data exfiltration or lateral movement if not identified early through these targeted IOCs.
Malware Family: Unknown RAT Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 198[.]46[.]243[.]188:7070 | botnet_cc | 2026-07-23 | 75% |
| ip:port | 198[.]46[.]243[.]188:8041 | botnet_cc | 2026-07-23 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Unknown RAT
let malicious_ips = dynamic(["198.46.243.188"]);
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.46.243.188"]);
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 exclusions for the ThreatFox: Unknown RAT IOCs detection rule:
Scenario: Scheduled Antivirus or EDR Definition Updates
ProcessName matches known security agents (e.g., C:\Program Files\CrowdStrike\fsqa.exe, msrtss.exe) AND DestinationDomain ends in official vendor TLDs (e.g., .crowdstrike.com, .microsoftonline.net).Scenario: Automated Software Deployment via Configuration Management Tools
SourceIP falls within the internal management subnet (e.g., 10.50.20.0/24) AND ProcessPath contains keywords like \SCCM\, \Ansible\, or \Puppet\.