This hunt detects adversary behavior involving the deployment of XMRIG cryptocurrency mining tools to establish persistence and potentially exfiltrate resources through known indicators of compromise. A proactive search in Azure Sentinel is critical because XMRIG miners often operate silently within compromised hosts, allowing attackers to leverage system resources for long-term financial gain before triggering broader alerting mechanisms.
Malware Family: XMRIG Total IOCs: 3 IOC Types: ip:port
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 68[.]233[.]116[.]124:22 | botnet_cc | 2026-09-02 | 85% |
| ip:port | 43[.]156[.]71[.]43:22 | botnet_cc | 2026-09-02 | 85% |
| ip:port | 103[.]105[.]67[.]170:22 | botnet_cc | 2026-09-02 | 80% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - XMRIG
let malicious_ips = dynamic(["43.156.71.43", "103.105.67.170", "68.233.116.124"]);
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(["43.156.71.43", "103.105.67.170", "68.233.116.124"]);
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: XMRIG IOCs detection rule in an enterprise environment:
Scenario 1: DevOps Container Orchestration
xmr-stak or custom XMRIG builds) for internal benchmarking, load testing, or as part of a “Green Cloud” initiative where idle compute resources mine Monero.containerd, dockerd) and specific image tags containing xmrig or monero.
ProcessName IN ('containerd', 'dockerd') AND ImageTag CONTAINS 'xmrig' OR ImageTag CONTAINS 'monero'.Scenario 2: Scheduled Internal Security Audits
svc-security-audit, admin-batch) running on designated maintenance windows.
UserName IN ('svc-security-audit', 'admin-batch') AND StartTime BETWEEN 01:00 AND 06:00.Scenario 3: Legacy Hardware Asset Management Tools