Matrix DDoS Campaign Targets IoT Devices and Enterprise Servers to Build a Botnet

Summary
Aqua researchers detail Matrix’s campaign, which uses weak credentials, exposed services and known vulnerabilities to compromise IoT devices and servers, expand a DDoS botnet, and sell attack services through Telegram.
Key points
- The campaign compromises internet-connected cameras, DVRs, routers, telecom equipment and servers through default or weak passwords, brute force, exposed credentials and vulnerability exploitation.
- Researchers identified 10 CVEs in the campaign, including active exploitation of the critical Apache HugeGraph vulnerability CVE-2024-27348.
- A worm-like script uses 167 discovered username-password pairs to find and compromise additional devices; 134 pairs were for root or admin accounts.
- The operators use Mirai and other publicly available DDoS tools, alongside custom scripts and command-and-control infrastructure including Discord, Telegram and Playit.gg.
- Targets include cloud-provider IP ranges, private clouds and companies, as well as IoT devices, with China and Japan prominent in the researchers’ target analysis.
- A Telegram bot store offered paid DDoS plans; researchers also found limited cryptocurrency mining activity.
- Aqua recommends changing default credentials, securing administrative protocols and applying firmware updates; its honeypots and sandbox analysis helped investigate the campaign.
Article Details
- Attack Vectors
- Brute-force login attempts using default or weak credentials against IoT devices and servers, including IP cameras, DVRs, routers, and telecom equipment.
- Exploitation of vulnerabilities and misconfigurations in routers, surveillance devices, IoT equipment, Apache Hadoop YARN, and HugeGraph servers.
- Scanning for exposed services including Telnet, SSH, Hadoop, and HugeGraph, then using compromised devices and servers to expand the botnet.
- Scripts targeting exposed files containing passwords on HTTP servers; the credentials were loaded into a brute-force script deployed on an exposed server.
- Deployment of botnet clients and DDoS tools, including Mirai and PYbot, to control compromised devices and launch attacks.
- Use of a Discord bot to execute commands and launch UDP packet floods against specified IP addresses and ports.
- Defensive Notes
- Change default and weak credentials on internet-connected devices and servers.
- Secure administrative protocols and services, including Telnet and SSH, and restrict access to exposed management interfaces.
- Apply timely firmware and software updates to address known vulnerabilities.
- Use sandbox analysis to examine Linux malware and scripts before execution; the article demonstrates this with Aqua Dynamic Threat Analysis.
- Review downloads and other network activity during container runtime, including communications with GitHub, for potentially suspicious behavior.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| DOMAIN | sponsored-ate[.]gl[.]at[.]ply[.]gg | Listed as a C2 server. |
| IPV4 | 199[.]232[.]46[.]132 | Listed as a C2 server. |
| IPV4 | 217[.]18[.]63[.]132 | Listed as a download server. |
| IPV4 | 5[.]181[.]159[.]78 | Listed as a download server. |
| IPV4 | 5[.]42[.]78[.]100 | Listed as a C2 server. |
| IPV4 | 78[.]138[.]130[.]114 | Listed as a C2 Discord server. |
| IPV4 | 85[.]192[.]37[.]173 | Listed as a download server. |
| MD5 | 0e3a1683369ab94dc7d9c02adbed9d89 | MD5 hash of the Discord DDoS botnet binary. |
| MD5 | 53721f2db3eb5d84ecd0e5755533793a | MD5 hash of a binary identified as trojan.siggen/casdet. |
| MD5 | 5a66b6594cb5da4e5fcb703c7ee04083 | MD5 hash of a binary identified as trojan.sdjwg. |
| MD5 | 76975e8eb775332ce6d6ca9ef30de3de | MD5 hash of a DDoS Agent client identified in the campaign. |
| MD5 | 866c52bc44c007685c49f5f7c51e05ca | MD5 hash of a binary identified as trojan.gafgyt/mirai. |
| MD5 | 9181d876e1fcd8eb8780d3a28b0197c9 | MD5 hash of a DDoS Agent Misp file identified in the campaign. |
| MD5 | 9c9ea0b83a17a5f87a8fe3c1536aab2f | MD5 hash of a binary identified as RiskWare/Win32.Kryptik.a. |
| MD5 | c332b75871551f3983a14be3bfe2fe79 | MD5 hash of a binary identified as miner.camelot/juiav. |
| MD5 | c7d7e861826a4fa7db2b92b27c36e5e2 | MD5 hash of the SSH scanner file named update. |
| MD5 | d653fa6f1050ac276d8ded0919c25a6f | MD5 hash of a binary identified as trojan.gafgyt/mirai. |
| MD5 | df521f97af1591efff0be31a7fe8b925 | MD5 hash identified for Matrix's x86_64 Mirai malware. |
MITRE ATT&CK
T1005 · Data from Local SystemThe article reports collecting configuration files and credentials from compromised systems and inspecting SQLite databases.T1036 · MasqueradingThe article says legitimate-looking scripts and open-source tools are used to blend malicious activity.T1046 · Network Service DiscoverySSH scanner tools identify hosts with misconfigured or vulnerable SSH access.T1059.006 · PythonPython scripts and Discord bots are used for command execution, including DDoS commands and reconnaissance.T1078 · Valid AccountsThe article reports use of default or weak credentials, including admin:admin and root:camera, to access devices.T1102 · Web ServiceTelegram and Playit.gg are described as platforms used to manage botnet communications and sell attack services.T1110 · Brute ForceThe actor uses brute-force attacks with compiled username-password pairs against devices and services.T1135 · Network Share DiscoveryThe article reports identifying accessible network shares or services for lateral movement.T1190 · Exploit Public-Facing ApplicationThe campaign exploits vulnerabilities in internet-facing IoT devices, routers, HugeGraph, and other servers to gain access.T1210 · Exploitation of Remote ServicesThe campaign exploits remote services including SSH, Telnet, and Hadoop YARN to propagate.T1496 · Resource HijackingThe actor conducted cryptocurrency mining targeting ZEPHYR, though the article reports only about one coin mined.T1499.002 · Service Exhaustion FloodThe article describes Layer 4 and Layer 7 DDoS attacks as service-exhaustion floods against target servers.T1552.001 · Credentials In FilesScripts target exposed files containing passwords, primarily on HTTP servers.T1562.001 · Disable or Modify ToolsA repository contains a script that may identify and disable Windows Defender or other antivirus tools.T1573 · Encrypted ChannelThe article describes secure communications using Discord bots and other encrypted methods.
CVE
CVE-2014-8361However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2017-17106However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2017-17215However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2017-18368Vulnerabilities: Attacks on routers, including ZTE and GPON models, exploit vulnerabilities such as CVE-2017-18368, a command injection flaw, and CVE-2021-20090, which affects various devices running ArcadyanCVE-2018-10561However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2018-10562However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2018-9995However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2022-30075However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2022-30525However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).CVE-2024-27348The most recent CVE, CVE-2024-27348, involves HugeGraph and represents a critical vulnerability published in April 2024.
Threat Actors
Malware
miner.camelot/juiavminer.camelot/juiavMiraiThese repositories house various tools designed for scanning, exploiting, and deploying malware—primarily Mirai and other DDoS-related tools—on IoT devices and servers.PYbotPyBot RiskWare/Win32.Kryptik.aRiskWare/Win32.Kryptik.atrojan.gafgyt/miraitrojan.gafgyt/miraitrojan.sdjwgtrojan.sdjwgtrojan.siggen/casdettrojan.siggen/casdet
Vendors
Aqua SecurityAqua Nautilus researchers uncovered a new and widespread Distributed Denial-of-Service (DDoS) campaign orchestrated by a threat actor named Matrix.Arcadyanas CVE-2017-18368, a command injection flaw, and CVE-2021-20090, which affects various devices running Arcadyan firmware.Huaweiare targeted, taking advantage of default configurations and services, including UPnP vulnerabilities in Huawei and Realtek devices.Realtektaking advantage of default configurations and services, including UPnP vulnerabilities in Huawei and Realtek devices.TP-Link“TP-LINK” ZTERouter Vulnerabilities: Attacks on routers, including ZTE and GPON models, exploit vulnerabilities such as CVE-2017-18368, a command injection flaw, and CVE-2021-20090, which affects various devices running ArcadyanZyxelCVE-2022-30525: A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware.
Products
Apache Hadoop YARNhadoop/unauthorized-yarn: exploit Apache Hadoop YARN (Yet Another Resource Negotiator), a resource management technology commonly used in Hadoop clusters.Apache HugeGraph ServerCVE-2024-27348: Exploiting a vulnerability in Apache HugeGraph Server, specifically a hypothetical, which may allow for Remote Code Execution (RCE) via the Gremlin server endpoint.Aqua Cloud Native Application PlatformAqua Dynamic Threat AnalysisArcadyan firmwareCVE-2017-18368, a command injection flaw, and CVE-2021-20090, which affects various devices running Arcadyan firmware.Hi3520DVR and Camera Exploits: Attackers leverage weaknesses in surveillance devices using the Hi3520 platform, enabling unauthorized access and command execution through HTTP.OpenSSHproduct:”OpenSSH” uClinuxTelecom Equipment and IoT Devices: Devices running lightweight Linux distributions like uClinux are targeted, taking advantage of default configurations and services, including UPnP vulnerabilities in Huawei and RealtekWindows DefenderIn one of the repositories we also found a script that could be used to check for Windows Defender’s presence to either evade detection or disable it.
Tools
2FTS3Key milestones include sustained efforts in Python, Go, and Shell scripting, with significant progress on repositories like scanner, DHJIF, and 2FTS3.DiscordGoDiscordGo GhidraWhen observing the binary in Ghidra, it looks like the threat actor has merged (or used a merged tool) that contains both the DiscordGo bot and DDoS capabilities.Homo NetworkThe Homo Network PYnetPYnet qqqAdditionally, notable effort was directed toward the qqq repository, which was utilized during an early testing campaign in February 2024.ShodanUsing Shodan—a search engine that scans and indexes internet-connected devices—we queried and analyzed data to estimate the number of potential targets globally.
Countries
ChinaFor example, Intuit’s IP range was among the threat actor’s targets, alongside IoT devices and numerous entities in the APAC region, particularly in China and Japan.JapanFor example, Intuit’s IP range was among the threat actor’s targets, alongside IoT devices and numerous entities in the APAC region, particularly in China and Japan.RussiaThe threat actor is believed to have Russian origins, yet Russia is completely absent from the list of targets, which aligns with expectations.UkraineHowever, what is particularly surprising is the absence of Ukraine from the target list.United StatesNotably, the USA ranks only 15th on the list of targeted countries.