This detection rule identifies Mirai botnet activity by monitoring network traffic for scans targeting IoT devices that utilize default credentials, which adversaries exploit to establish a distributed command-and-control infrastructure. Proactively hunting for these indicators in Azure Sentinel is critical to prevent the rapid recruitment of compromised IoT nodes into a large-scale botnet capable of executing devastating DDoS attacks or lateral movement across the enterprise network.
Malware Family: Mirai Total IOCs: 2 IOC Types: ip:port, url
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 176[.]65[.]139[.]139:80 | botnet_cc | 2026-08-28 | 75% |
| url | hxxp://111[.]185[.]147[.]232:59432/Mozi.m | payload_delivery | 2026-08-28 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Mirai
let malicious_ips = dynamic(["176.65.139.139"]);
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(["176.65.139.139"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - Mirai
let malicious_urls = dynamic(["http://111.185.147.232:59432/Mozi.m"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
UrlClickEvents | Ensure this data connector is enabled |
Here are 4 specific false positive scenarios for the ThreatFox: Mirai IOCs rule, along with suggested filters or exclusions tailored to an enterprise environment:
Scenario: Automated IoT Firmware Update Scans
10.20.50.x). Additionally, filter out traffic originating from known NMS tools like SolarWinds or PRTG.Scenario: Scheduled Vulnerability Assessment Jobs
01:00 - 05:00 UTC) for the specific source IPs of the vulnerability scanner appliances. Alternatively, add a filter that ignores alerts where the destination port is part of a known “Vulnerability Scan” service list defined in the SIEM taxonomy.Scenario: Legitimate Cloud-Based IoT Device Provisioning