This detection rule identifies network traffic matching known Indicators of Compromise (IOCs) from the Mirai botnet to uncover potential IoT device infections and command-and-control communications. Proactively hunting for these signals in Azure Sentinel is critical because Mirai’s ability to rapidly scale into massive DDoS attacks necessitates early identification of compromised endpoints before they can be leveraged for large-scale disruption.
Malware Family: Mirai Total IOCs: 2 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | cc.nhancute.site | botnet_cc | 2026-08-30 | 100% |
| ip:port | 160[.]250[.]181[.]124:47925 | botnet_cc | 2026-08-30 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Mirai
let malicious_ips = dynamic(["160.250.181.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(["160.250.181.124"]);
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(["cc.nhancute.site"]);
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 4 specific false positive scenarios for the ThreatFox: Mirai IOCs detection rule in an enterprise environment, along with suggested filters or exclusions:
Scenario: Scheduled IoT Firmware Updates via Management Console
10.50.10.0/24) and whitelist the destination IP ranges associated with the vendor’s update servers identified in the ThreatFox IOC list.Scenario: Automated Vulnerability Scanning by Internal Tools
192.168.5.10 for Nessus Server) and filter out scan-specific User-Agent strings or destination ports that match the scanning engine’s standard profile.