Mukashi
- Type
- Botnet
- Capabilities
- Initial accessScanningBrute forceDDOSDefense evasion
- Delivery
- Exploit kit
- Platforms
- LinuxNetwork deviceIOT
Mukashi is a Mirai-derived botnet malware that compromises Linux-based connected devices and recruits them for distributed denial-of-service (DDoS) attacks. Observed targeting Zyxel network-attached storage devices in March 2020, it exploits CVE-2020-9054, a critical pre-authentication command-injection vulnerability affecting Zyxel NAS firmware through version 5.21. Its exploitation chain uses a shell script to download and execute architecture-specific bot binaries and subsequently delete them.
Mukashi also scans random hosts for Telnet services and attempts logins using default credentials, reporting successful credential pairs to its command-and-control infrastructure. It receives commands for multiple UDP-, TCP-, and HTTP-based DDoS methods. During initialization, it decodes embedded credentials and command strings using a custom decryption routine, changes its process name, and binds a local socket to prevent multiple instances from running. Some architecture-specific builds include functionality to terminate competing processes.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
Execution
2 techniques
Execution
A preauthentication command injection vulnerability (CVE-2020-9054), which resides in a “web login.cgi” program used by the Zyxel devices, is potentially allowing attackers to perform remote code execution via command injection.
OWARI retained the default password technique to propagate the victim device and added a few exploit scanners like CVE-2017–17215 Huawei exploit...
Persistence
1 technique
Persistence
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
Privilege Escalation
1 technique
Privilege Escalation
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
Stealth
3 techniques
Stealth
this threat actor attempted to download a shell script to the tmp directory, execute the downloaded script, and remove the evidence on a vulnerable device.
After the first login into the new victim device, it sent its IP and working credentials to the report/loader server.
the x86 version doesn’t have the cleaner() function that allows it to kill processes by process command line, specific strings, and permissions.
Credential Access
1 technique
Credential Access
Mirai attempted a brute-force attack with a pre-configured list of known factory defaults and most commonly used credentials.
Discovery
2 techniques
Discovery
Mukashi is a bot that scans the TCP port 23 of random hosts
the x86 version doesn’t have the cleaner() function that allows it to kill processes by process command line, specific strings, and permissions.
Command and Control
2 techniques
Command and Control
Once the malware is up and initialized, it sends a beacon back to its C2 server 45[.]84[.]196[.]75 listening on TCP port 4864, notifying its C2 server that it’s ready for command.
this threat actor attempted to download a shell script to the tmp directory, execute the downloaded script, and remove the evidence on a vulnerable device.
Impact
2 techniques
Impact
Mirai managed to keep 200,000 – 300,000 enslaved devices and peaked at an unbelievable 600,000... FBI special agents compared Mirai’s 1+ Tbps (1,000 Gbps)... The first Mirai incident was reported after the 18th Sep 2016 attack against popular Minecraft servers hosted on French service OVH.
Like other Mirai variants, Mukashi is also capable of receiving C2 commands and launching DDoS attacks.
Observables
86 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.