This hunt targets adversary behavior involving the deployment of XMRIG cryptocurrency mining tools, which often serve as indicators of resource hijacking or post-exploitation persistence within cloud workloads. Proactively hunting for these specific IOCs in Azure Sentinel is critical to identify early-stage cryptojacking campaigns before they significantly degrade system performance and incur unexpected operational costs.
Malware Family: XMRIG Total IOCs: 4 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 31[.]57[.]63[.]78:80 | payload_delivery | 2026-07-03 | 100% |
| ip:port | 94[.]183[.]182[.]171:80 | payload_delivery | 2026-07-03 | 100% |
| ip:port | 156[.]229[.]165[.]166:80 | payload_delivery | 2026-07-03 | 100% |
| ip:port | 107[.]175[.]114[.]96:80 | payload_delivery | 2026-07-03 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - XMRIG
let malicious_ips = dynamic(["31.57.63.78", "156.229.165.166", "94.183.182.171", "107.175.114.96"]);
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(["31.57.63.78", "156.229.165.166", "94.183.182.171", "107.175.114.96"]);
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 for the ThreatFox: XMRIG IOCs detection rule, along with suggested filters and exclusions tailored for an enterprise environment:
DevOps CI/CD Pipeline Execution
xmrig executable during routine code builds and container image creation.svc-jenkins, gitlab-runner) or restrict the rule scope to exclude specific build server subnets (e.g., 10.x.y.z/24).IT Asset Management & Software Inventory Scans
ccmexec.exe, solarwinds-agent.exe) and exclude events where the XMRIG binary is located in temporary installation directories (e.g., %TEMP% or C:\ProgramData\Ivanti).Scheduled Security Baseline Audits