This hunt detects adversary activity involving the DCRat remote access trojan by identifying specific indicators of compromise such as unique file hashes and network connections. Proactively hunting for these signals in Azure Sentinel is critical to rapidly identify early-stage infections that could lead to unauthorized data exfiltration or lateral movement within the enterprise environment.
Malware Family: DCRat Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 45[.]59[.]120[.]82:5656 | botnet_cc | 2026-08-05 | 75% |
| ip:port | 130[.]12[.]181[.]96:8848 | botnet_cc | 2026-08-05 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - DCRat
let malicious_ips = dynamic(["45.59.120.82", "130.12.181.96"]);
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(["45.59.120.82", "130.12.181.96"]);
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 |
Scenario: Legitimate Remote Administration via PowerShell
PowerShell to execute remote scripts that download configuration files or patches from internal repositories. If the downloaded artifact (e.g., a .dll or .exe) shares a hash or network signature with DCRat’s known IOCs, the rule triggers. This often occurs during scheduled maintenance windows where admins push updates using tools like SCCM or PowerShell Remoting.powershell.exe when the parent process is a known management tool (e.g., ccmexec.exe, taskeng.exe) and the network destination IP belongs to the internal corporate subnet.Scenario: Scheduled Antivirus or EDR Definition Updates
C:\Program Files\Microsoft Defender\MsMpEng.exe (or equivalent EDR service executables) when the network connection is directed to known vendor update domains (e.g., *.microsoft.com, *.carbonblack.com).Scenario: Internal DevOps Artifact Deployment