This detection identifies adversary activity involving the Remcos Remote Access Trojan by matching network and endpoint telemetry against known Indicators of Compromise (IOCs). A proactive hunt for these signals in Azure Sentinel is critical to rapidly isolate compromised systems before attackers establish persistent remote access capabilities for data exfiltration or lateral movement.
Malware Family: Remcos Total IOCs: 2 IOC Types: domain, ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | no.ahanresaan.ir | botnet_cc | 2026-08-18 | 75% |
| ip:port | 191[.]96[.]166[.]172:2404 | botnet_cc | 2026-08-18 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Remcos
let malicious_ips = dynamic(["191.96.166.172"]);
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(["191.96.166.172"]);
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(["no.ahanresaan.ir"]);
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 4 specific false positive scenarios for the ThreatFox: Remcos IOCs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: IT Admin Remote Support Sessions via TeamViewer or AnyDesk
Image Path or Process Name. Exclude processes where the executable path contains \Program Files\TeamViewer\, \Program Files\AnyDesk\, or \Program Files\Splashtop Enterprise\. Additionally, whitelist the specific hash values of these known-good executables.Scenario: Scheduled Backup and Monitoring Agents (Veeam / SolarWinds)
HKLM\Software and establish outbound connections to management servers, which can trigger the Remcos IOC logic regarding service installation and network communication.DOMAIN\svc_backup_admin or DOMAIN\svc_monitoring) AND the parent process name matches known backup agents (VeeamAgent.exe, SolarWinds.Agent.exe).Scenario: Deployment of Endpoint Detection and Response (EDR) Agents