This hunt detects adversary behavior involving the deployment of Cobalt Strike beacons by identifying three specific indicators of compromise that signal active command and control infrastructure within the network. The SOC team should proactively hunt for these IOCs in Azure Sentinel to rapidly identify and contain potential post-exploitation activities before adversaries can establish persistence or exfiltrate sensitive data.
Malware Family: Cobalt Strike Total IOCs: 3 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 38[.]190[.]196[.]19:22 | botnet_cc | 2026-08-17 | 100% |
| ip:port | 8[.]163[.]59[.]20:8082 | botnet_cc | 2026-08-17 | 100% |
| ip:port | 43[.]225[.]157[.]17:1080 | botnet_cc | 2026-08-17 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Cobalt Strike
let malicious_ips = dynamic(["8.163.59.20", "43.225.157.17", "38.190.196.19"]);
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(["8.163.59.20", "43.225.157.17", "38.190.196.19"]);
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 5 specific false positive scenarios for the ThreatFox: Cobalt Strike IOCs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Internal Patch Management Deployment
10.x.x.0/24) AND the process name matches known enterprise deployment agents like ccmexec.exe or ivanti_agent.exe. Additionally, suppress alerts occurring during defined maintenance windows (e.g., Sundays 02:00–06:00 UTC).Scenario: Automated Backup and Archiving Jobs
DOMAIN\VeeamService) and exclude any alerts where the parent process is identified as vbr.exe or commvault_agent. Filter out events where the destination port is restricted to known backup ports (e.g., TCP 9400, 2516) rather than the standard Cobalt Strike beacon port range.Scenario: DevOps CI/CD Pipeline Execution