This hunt targets adversary activity involving four specific indicators of compromise linked to the SmartApeSG campaign, which often signal early-stage reconnaissance or lateral movement within cloud environments. Proactively hunting for these IOCs in Azure Sentinel is critical because their high severity suggests a sophisticated threat actor that may bypass standard signature-based defenses, requiring manual correlation across network and endpoint logs to confirm potential breaches.
Malware Family: SmartApeSG Total IOCs: 4 IOC Types: domain, url
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | hazelcompass.top | payload_delivery | 2026-07-04 | 100% |
| url | hxxps://hazelcompass.top/realm/reset-request.js | payload_delivery | 2026-07-04 | 100% |
| url | hxxps://hazelcompass.top/realm/tenant-thread | payload_delivery | 2026-07-04 | 100% |
| url | hxxps://hazelcompass.top/realm/user-runtime.js | payload_delivery | 2026-07-04 | 100% |
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - SmartApeSG
let malicious_domains = dynamic(["hazelcompass.top"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - SmartApeSG
let malicious_urls = dynamic(["https://hazelcompass.top/realm/reset-request.js", "https://hazelcompass.top/realm/tenant-thread", "https://hazelcompass.top/realm/user-runtime.js"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
DnsEvents | Ensure this data connector is enabled |
UrlClickEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the ThreatFox: SmartApeSG IOCs detection rule, tailored for an enterprise environment:
Endpoint Protection Scanning of Quarantine Archives
C:\ProgramData\Antivirus\Quarantine directory path and filter by process name csagent.exe (CrowdStrike) or MsMpEng.exe (Defender) where the file age is greater than 30 days.Software Deployment via Configuration Management
C:\Program Files\DeploymentToolkit\Samples and restrict alerts to only trigger if the parent process is not ccmexec.exe (SCCM) or ansible-runner. Additionally, whitelist the specific SHA-256 hashes of these known deployment artifacts.**Automated Vulnerability Assessment