This detection rule identifies indicators of compromise linked to the Remcos remote access trojan (RAT), which adversaries deploy to establish persistent footholds and exfiltrate sensitive data through covert command-and-control channels. A proactive hunt for these specific IOCs within Azure Sentinel is critical to uncover stealthy infections that may evade standard signature-based defenses, ensuring early containment of potential lateral movement and data breaches.
Malware Family: Remcos Total IOCs: 2 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | papilawdns.duckdns.org | botnet_cc | 2026-07-25 | 75% |
| ip:port | 58[.]96[.]75[.]176:15151 | botnet_cc | 2026-07-25 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Remcos
let malicious_ips = dynamic(["58.96.75.176"]);
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(["58.96.75.176"]);
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 - Remcos
let malicious_domains = dynamic(["papilawdns.duckdns.org"]);
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 exclusion strategies for the ThreatFox: Remcos IOCs detection rule in an enterprise environment:
Scenario: Legitimate Remote Management Software Updates
ccmexec.exe (SCCM), IvantiAgentService.exe, or wuauserv.exe when connecting to known corporate IP ranges or specific update domains (e.g., *.microsoft.com, *.ivanti.com).Scenario: Scheduled PowerShell Administrative Scripts
powershell.exe to query external threat intelligence feeds or internal dashboards, creating network traffic patterns (specifically HTTP/HTTPS POST requests with JSON payloads) that mimic the Remcos command-and-control (C2) communication logic.powershell.exe processes launched by the system account (NT AUTHORITY\SYSTEM) or specific service accounts (e.g., svc-admin-scripts) where the parent process is Taskschd.exe.Scenario: Third-Party Backup and Monitoring Agents