This hunt hypothesis detects Mirai malware activity by identifying outbound network connections to known command-and-control IPs and ports that indicate IoT devices compromised through default credentials or weak configurations. Proactive hunting is essential in Azure Sentinel to rapidly isolate infected endpoints before they are recruited into a botnet capable of executing large-scale DDoS attacks against the organization’s infrastructure.
Malware Family: Mirai Total IOCs: 2 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 69[.]33[.]213[.]199:6621 | botnet_cc | 2026-08-20 | 100% |
| domain | servers.opik.net | botnet_cc | 2026-08-20 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Mirai
let malicious_ips = dynamic(["69.33.213.199"]);
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(["69.33.213.199"]);
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(["servers.opik.net"]);
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 5 specific false positive scenarios for the ThreatFox: Mirai IOCs detection rule, tailored for an enterprise environment, along with suggested filters and exclusions:
Scenario: Automated Firmware Update Scans from IoT Management Platforms
443 (HTTPS) and the User-Agent string contains specific vendor identifiers like Meraki-Update or UniFi-Controller.Scenario: Scheduled Cloud Backup Jobs for Edge Devices