This detection rule identifies adversary activity involving specific Indicators of Compromise (IOCs) linked to the Havoc post-exploitation tool, which is frequently utilized by threat actors for lateral movement and command execution. Proactively hunting for these IOCs in Azure Sentinel is critical because Havoc’s presence often signals an advanced attacker who has already established a foothold within the environment and is actively expanding their operational capabilities.
Malware Family: Havoc Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 162[.]243[.]160[.]70:8443 | botnet_cc | 2026-08-30 | 75% |
| ip:port | 2[.]91[.]185[.]72:443 | botnet_cc | 2026-08-30 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Havoc
let malicious_ips = dynamic(["2.91.185.72", "162.243.160.70"]);
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(["2.91.185.72", "162.243.160.70"]);
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 specific false positive scenarios and corresponding filters for the ThreatFox: Havoc IOCs detection rule in an enterprise environment:
Scenario: Scheduled Vulnerability Scanning by Qualys or Tenable
Source IP belongs to the internal “Vulnerability Management” subnet (e.g., 10.x.x.x/24) or matches known scanner hostnames containing keywords like qualys, tenable, or scan-agent.Scenario: Automated Patch Deployment via Microsoft Endpoint Configuration Manager (SCCM)
ccmsetup.exe, wsappx, or msiexec when the source user is SYSTEM or a dedicated service account like svc-patch-deploy.Scenario: Third-Party Backup Agent Communication (e.g., Veeam or Commvault)