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

· Original article ↗

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

TypeIndicatorContext
DOMAINsponsored-ate[.]gl[.]at[.]ply[.]ggListed as a C2 server.
IPV4199[.]232[.]46[.]132Listed as a C2 server.
IPV4217[.]18[.]63[.]132Listed as a download server.
IPV45[.]181[.]159[.]78Listed as a download server.
IPV45[.]42[.]78[.]100Listed as a C2 server.
IPV478[.]138[.]130[.]114Listed as a C2 Discord server.
IPV485[.]192[.]37[.]173Listed as a download server.
MD50e3a1683369ab94dc7d9c02adbed9d89MD5 hash of the Discord DDoS botnet binary.
MD553721f2db3eb5d84ecd0e5755533793aMD5 hash of a binary identified as trojan.siggen/casdet.
MD55a66b6594cb5da4e5fcb703c7ee04083MD5 hash of a binary identified as trojan.sdjwg.
MD576975e8eb775332ce6d6ca9ef30de3deMD5 hash of a DDoS Agent client identified in the campaign.
MD5866c52bc44c007685c49f5f7c51e05caMD5 hash of a binary identified as trojan.gafgyt/mirai.
MD59181d876e1fcd8eb8780d3a28b0197c9MD5 hash of a DDoS Agent Misp file identified in the campaign.
MD59c9ea0b83a17a5f87a8fe3c1536aab2fMD5 hash of a binary identified as RiskWare/Win32.Kryptik.a.
MD5c332b75871551f3983a14be3bfe2fe79MD5 hash of a binary identified as miner.camelot/juiav.
MD5c7d7e861826a4fa7db2b92b27c36e5e2MD5 hash of the SSH scanner file named update.
MD5d653fa6f1050ac276d8ded0919c25a6fMD5 hash of a binary identified as trojan.gafgyt/mirai.
MD5df521f97af1591efff0be31a7fe8b925MD5 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

Vendors

Products

Tools

Countries

Industries

Related Articles