Mirai Botnet Attack Chain
Step through how exposed IoT devices become bots, then test which controls break the chain
Mirai Botnet Attack Chain
Follow a Mirai-style IoT compromise from internet scanning to a DDoS command. Change device exposure and defensive controls to see where the chain breaks.
Scanning exposed IoT services
The teaching default starts with internet-exposed devices using factory credentials, so the chain is visible before you add controls.
Botnet path and breakpoints
A seed bot probes a device fleet and looks for a path into attacker infrastructure.
Attack risk
Current decision
The seed bot is looking for reachable services before any login attempt happens.
internet exposure + weak identity -> candidate victimControl behavior
No control is active. If credentials work, the device can be reported, loaded, and enrolled.
Accuracy warning
The counts are teaching estimates. Real infection counts depend on exposed services, credentials, loader capacity, patching, takedowns, and network filtering.
Mirai Controls
Change the device exposure, defensive layer, and attack target. The diagram, metrics, and explanation update together.
Mirai Quick Reference
An infected IoT device that listens for C2 commands while scanning for more vulnerable devices.
The scanner reports a successful login so a separate loader can perform the actual infection.
The loader logs in, detects architecture, and runs the matching malware binary on the device.
Command and control chooses the target and attack type. The target sees distributed traffic, not one source.
Technical Accuracy Notes
Understanding the Mirai Botnet describes scanning, reporting, asynchronous loading, architecture-specific binaries, C2 commands, and DDoS attacks.
The USENIX study reports a preconfigured list of 62 credential pairs in the released code and explains that successful logins were sent to a report server.
Mirai attempted to hide, but the same study notes that infections did not persist across reboot. Reboot helps only when credentials or exposed services are fixed.
BCP 38 / RFC 2827 recommends ingress filtering to reduce spoofed-source DoS traffic. It does not remove already infected bots.
Common Misreads
A botnet attack is distributed. The visible flood comes from many compromised devices, not only the attacker console.
Reboot can clear memory-resident Mirai, but the same device can be reinfected if the exposed service and credentials remain unchanged.
Scrubbing and anycast protect the target service. They do not repair vulnerable cameras, DVRs, routers, or gateways.
Original Mirai focused on Telnet/SSH credential attacks, while later descendants added other vulnerable management surfaces.
Practice Prompts
Select Factory defaults, No added control, and Flood. Which metrics show botnet scale and target pressure?
Select Unique credentials and step through Login. Why does the report server never matter?
Select Factory defaults and Egress allowlist. Where does the chain stop, and what is still risky?
Select DDoS mitigation and DNS provider. Which risk remains even though the target pressure falls?