This detection rule identifies adversary activity involving specific Indicators of Compromise (IOCs) linked to the Havoc post-exploitation framework, which attackers often deploy to establish persistence and execute lateral movement within compromised networks. SOC teams should proactively hunt for these signatures in Azure Sentinel because early identification of Havoc artifacts enables rapid containment of advanced threats that leverage this toolchain for stealthy command-and-control operations before they escalate into broader incidents.
Malware Family: Havoc Total IOCs: 2 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 167[.]172[.]142[.]69:443 | botnet_cc | 2026-07-31 | 75% |
| ip:port | 104[.]248[.]185[.]92:22 | botnet_cc | 2026-07-31 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Havoc
let malicious_ips = dynamic(["167.172.142.69", "104.248.185.92"]);
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(["167.172.142.69", "104.248.185.92"]);
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 4 specific false positive scenarios for the ThreatFox: Havoc IOCs rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Automated Vulnerability Scanning by Qualys or Tenable
svc-qualys-agent) or filter by process path where the executable is located in known scanner directories (e.g., C:\Program Files\Qualys\PC Agent\ or C:\ProgramData\Tenable\Nessus\).Scenario: Scheduled Microsoft Defender for Endpoint Updates
usoc.dll) or the Antimalware Service Executable runs its scheduled daily definition updates, it connects to Microsoft cloud endpoints that might overlap with the detection logic, causing a match on legitimate telemetry traffic.ProcessName equals MsMpEng.exe or UpdateOrchestrator.exe, specifically when the destination port is 443 and the user context is SYSTEM.Scenario: Third-Party Backup Solutions (e.g., Veeam or Rubrik)