miraisystem
MiraiSystem refers to the automated scanning and exploitation module of the Mirai botnet, a malicious malware family first identified in August 2016 by security researcher MalwareMustDie and later analyzed in depth by organizations like Cloudflare and Akamai. The original source code was publicly released on GitHub (now archived at https://github.com/jgamblin/Mirai-Source-Code) by the alleged author "Anna-senpai". MiraiSystem specifically targets Internet of Things (IoT) devices—routers, IP cameras, DVRs—by scanning for open Telnet ports (TCP 23, 2323, 23231) and then attempting brute-force login using a hardcoded list of 62 default username/password pairs (e.g., root:root, admin:admin, root:xmhdipc).
The scanner operates in a two-phase architecture: a rapid asynchronous port scanner written in C that can probe millions of IP addresses per hour, followed by a loader component that exploits successful authentication to download and execute the main bot binary. It exclusively targets devices running the `busybox` shell environment, checking for unsecured Telnet access. Once inside, it kills other malware processes (e.g., competing botnets like "Lizkebab" and "TheMoon") and hides its presence by modifying process names to mimic legitimate services. The scanner avoids private IP ranges (10.x, 172.16-31.x, 192.168.x) and IP ranges belonging to the U.S. Department of Defense, HP, and General Electric, as per the source code's hardcoded exclusion list. It generates random source IPs to evade rate-limiting, though the scanning itself uses the device's actual IP. The bot communicates with a command-and-control (C2) server over raw TCP sockets, receiving attack directives such as SYN floods, UDP floods, HTTP GET/POST floods, and GRE/IP fragmentation attacks.
The Mirai botnet, powered by MiraiSystem scanning, caused the largest DDoS attack in history at the time: the September 2016 attack on KrebsOnSecurity reaching 620 Gbps, detailed in Cloudflare's blog (September 2016). In October 2016, MiraiSystems targeted DNS provider Dyn, disrupting Twitter, Netflix, and GitHub with traffic exceeding 1.2 Tbps (recorded by Akamai's SIRT). The scanner exploited known vulnerabilities such as CVE-2014-8361 (Huawei HG530 router) and CVE-2017-17215 (Huawei HG532 router), though its primary vector remained default credential abuse. The source code's release led to dozens of variants (e.g., Hajime, Reaper, Satori), each modifying the attack modules.
Network traffic from MiraiSystem exhibits distinctive patterns: rapid sequential SYN packets to Telnet ports (23, 2323) from thousands of different source IPs within seconds, often followed by a connection attempt using the string `"ubnt"` or `"root"` as username. Known User-Agent strings are not used because the scanner operates at the TCP/Raw socket layer; however, HTTP-based attacks include strings like `"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"`. Behavioral fingerprints include outbound connections to random IPs on port 48101 (C2 communication) and the appearance of process names like `"watchdog"`, `".sshd"`, or `"MIRAI"` in device process lists.
MiraiSystem can compromise thousands of IoT devices within minutes, enrolling them into a botnet capable of launching DDoS attacks exceeding 1 Tbps. Compromised devices suffer from degraded performance, high bandwidth consumption, and potential permanent corruption of flash storage due to repeated write operations. The botnet has been used to extort businesses, disrupt critical infrastructure, and launch global denial-of-service campaigns causing millions of dollars in lost revenue, as documented by the FBI's Internet Crime Complaint Center (IC3) advisories from 2016–2018.
This threat is blocked immediately on detection because the scanner's automated brute-force and infection process requires only a single successful login to compromise a device. Proactive blocking at the firewall level—denying outgoing Telnet traffic from IoT devices, enforcing strong credentials, and applying vendor firmware updates—prevents the initial foothold, while network intrusion detection systems (e.g., Snort rule 1:26623) can alert on the characteristic rapid SYNs.
Similar Threats
🛡️
Boteraser automatically detects and blocks unwanted bots — protecting your site from scrapers, DDoS bursts, and credential stuffing attacks without slowing down real visitors.
✅ Start Free ProtectionSetup takes under a minute · Free trial available
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the bots listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.