This hunt targets known PhonyC2 command-and-control infrastructure to identify compromised assets communicating with malicious endpoints. Proactively hunting these IOCs in Azure Sentinel allows the SOC to detect active PhonyC2 infections early, preventing lateral movement and data exfiltration before they escalate.
Malware Family: PhonyC2 Total IOCs: 3 IOC Types: sha1_hash, md5_hash, sha256_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | cfa1c609d1596ca066c6c6e9fce1ad44 | payload | 2026-09-21 | 95% |
| sha256_hash | 27831a5b95bbc1fab82732019109d94feefcb31fa4c4815eeb7500ba702c174d | payload | 2026-09-21 | 95% |
| sha1_hash | 9bbc180af0625e0483058b2daa77b8318a1573bd | payload | 2026-09-21 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - PhonyC2
let malicious_hashes = dynamic(["cfa1c609d1596ca066c6c6e9fce1ad44", "27831a5b95bbc1fab82732019109d94feefcb31fa4c4815eeb7500ba702c174d", "9bbc180af0625e0483058b2daa77b8318a1573bd"]);
DeviceFileEvents
| where SHA256 in (malicious_hashes) or SHA1 in (malicious_hashes) or MD5 in (malicious_hashes)
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
DeviceFileEvents | Ensure this data connector is enabled |
Automated Vulnerability Scanning and Penetration Testing
10.20.0.0/24) or exclude processes named nessus.exe, msfconsole.exe, or qualys_agent.exe when the destination matches the IOC list.Legacy Application Update Checkers
javaw.exe, acrobat.exe, sapgui.exe) if the connection occurs during a scheduled maintenance window (e.g., Sundays 02:00–04:00 UTC) and the source user is a service account (e.g., svc_app_update).DNS Caching and Resolver Behavior