This detection rule identifies adversary activity involving the Remcos remote access trojan by monitoring for eight specific indicators of compromise within Azure Sentinel. Proactive hunting for these signatures is critical to uncover stealthy post-compromise operations that may evade standard alerting mechanisms and facilitate early containment of potential lateral movement or data exfiltration attempts.
Malware Family: Remcos Total IOCs: 8 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 152[.]44[.]34[.]91:2404 | botnet_cc | 2026-08-27 | 100% |
| ip:port | 206[.]123[.]137[.]133:56090 | botnet_cc | 2026-08-27 | 100% |
| ip:port | 34[.]41[.]139[.]193:56090 | botnet_cc | 2026-08-27 | 75% |
| ip:port | 209[.]54[.]101[.]171:2404 | botnet_cc | 2026-08-27 | 75% |
| ip:port | 103[.]114[.]217[.]108:5508 | botnet_cc | 2026-08-27 | 75% |
| ip:port | 217[.]60[.]195[.]34:18622 | botnet_cc | 2026-08-27 | 75% |
| domain | www.ambiopharmconsultingltdbackup.com | botnet_cc | 2026-08-27 | 75% |
| domain | advancehunter[.]4nmn.com | botnet_cc | 2026-08-27 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Remcos
let malicious_ips = dynamic(["103.114.217.108", "217.60.195.34", "34.41.139.193", "206.123.137.133", "209.54.101.171", "152.44.34.91"]);
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(["103.114.217.108", "217.60.195.34", "34.41.139.193", "206.123.137.133", "209.54.101.171", "152.44.34.91"]);
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(["www.ambiopharmconsultingltdbackup.com", "advancehunter.4nmn.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 5 specific false positive scenarios for the ThreatFox: Remcos IOCs rule, including targeted filters and exclusions suitable for an enterprise environment:
Scenario: Automated Backup Script Execution
Task Scheduler on Windows Server) runs a PowerShell script to archive logs. The script utilizes the specific hash or filename of a legitimate backup utility that matches one of the Remcos IOCs, triggering an alert when the service account (NT SERVICE\Backup) executes it.Process Name and Account. Exclude alerts where Process_Name equals “PowerShell.exe” AND Account_Name contains “NT SERVICE” or “System”, specifically when the execution path is within a known backup directory (e.g., C:\Program Files\BackupAgent\Scripts).Scenario: Endpoint Protection Agent Communication
Destination_IP belongs to the corporate internal CIDR range (e.g., 10.x.x.x) and the Process_Name matches known security agents like “MsMpEng.exe” or “csagent.exe”.Scenario: Software Deployment via SCCM/Intune
ccmexec.exe) spawns a child process to verify installation integrity.