This detection rule identifies network traffic matching known Indicators of Compromise (IOCs) from the Mirai botnet, which adversaries leverage to establish command-and-control channels and launch large-scale DDoS attacks against IoT infrastructure. A SOC team should proactively hunt for these signatures in Azure Sentinel to rapidly isolate compromised devices before they are recruited into a broader botnet capable of disrupting critical services or exfiltrating sensitive data.
Malware Family: Mirai Total IOCs: 3 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 217[.]60[.]195[.]187:7075 | botnet_cc | 2026-08-12 | 80% |
| ip:port | 72[.]56[.]52[.]200:9999 | botnet_cc | 2026-08-12 | 100% |
| domain | cmd[.]5gf7jtfk0y.st | botnet_cc | 2026-08-12 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Mirai
let malicious_ips = dynamic(["217.60.195.187", "72.56.52.200"]);
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(["217.60.195.187", "72.56.52.200"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - Mirai
let malicious_domains = dynamic(["cmd.5gf7jtfk0y.st"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Here are the false positive scenarios and corresponding filters for the ThreatFox: Mirai IOCs detection rule:
Scenario: Scheduled Vulnerability Scans from Internal Security Appliances
10.50.20.0/24) and filter out source ports greater than 1024 where the destination is an IoT management VLAN, specifically for protocols UDP/TCP on ports 23, 80, and 443 during business hours (09:00–17:00).Scenario: Firmware Update Jobs via Cloud Management Platforms
*.meraki.com, *.ubnt.com) and whitelist the specific scheduled job name “Firmware_Upgrade_Task” in the SIEM correlation logic, ensuring alerts only