Skip to main content
Mallory
Malware1 associated actor

XorDDoS

Tracked since Nov 25, 2025 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK45Techniques
IOCs114Tracked
Type
Botnet
Capabilities
Initial accessBrute forceDDOSPersistenceDefense evasionReconnaissancePrivilege escalation
Delivery
Cracked software
Platforms
Linux

XorDDoS is a Linux botnet malware family first identified in September 2014 that recruits compromised systems for distributed denial-of-service attacks. It targets Linux endpoints and servers, including cloud-hosted systems and Docker environments, with variants supporting x86, x64, and ARM architectures. Its name reflects its DDoS functionality and use of XOR-based encryption for command-and-control communications and configuration data. Observed operators include Chinese-speaking individuals, and infections have been documented globally.

The primary infection vector is brute-forcing SSH credentials, particularly root accounts, followed by execution of shell scripts that download and install the malware. Docker-targeting campaigns also exploit exposed, unauthenticated Docker APIs to enumerate existing containers and execute installation commands inside them. Under remote control, XorDDoS performs SYN floods, ACK floods, and DNS-based attacks. It also collects operating-system, kernel, processor, memory, network, and process information; downloads and executes additional payloads; updates itself; and terminates competing malware using remotely supplied configuration.

XorDDoS maintains persistence through initialization scripts, System V runlevel entries, cron jobs, and multiple copies of its executable. Evasion techniques include process-name masquerading, string obfuscation, deletion of installation artifacts, clearing logs and shell history, and appending random data to copied binaries to change their hashes. Some variants deploy a loadable kernel module rootkit that can grant root access and hide the module, processes, network connections, and ports. Installation workflows can obtain a rootkit matched to the victim’s kernel or upload kernel headers for remote compilation; the bot can operate without the rootkit if installation fails.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT41

We uncovered key similarities between RedXOR and previously reported malware associated with Winnti umbrella threat group. These malware are PWNLNX backdoor and XOR.DDOS and Groundhog, two botnets attributed to Winnti by BlackBerry.

via intezer blogintezer.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1078Valid AccountsEvidence5

Once XorDdos identifies valid SSH credentials, it uses root privileges to run a script that downloads and installs XorDdos on the target device.

T1190Exploit Public-Facing ApplicationEvidence1

Another, but less common possibility, is exploiting a vulnerable service that you have running (Apache for example).

Execution

4 techniques
T1053.003CronEvidence8

The malware also tries to persist itself using cron... Recent variants have created two shell script files, "/etc/cron.hourly/cqqbnzzu.sh" and "/etc/cron.hourly/obidhyb.sh", which are executed every hour.

T1059Command and Scripting InterpreterEvidence2

Its infection vector starts with SSH brute force attacks for the sake of running an installation script under the root user.

T1059.004Unix ShellEvidence4

The malware writes the shell script files to disk, which it uses to execute its various attack phases.

T1072Software Deployment ToolsEvidence1

There is a list of C&C commands, for which the bot listens to: To start flooding, to stop flooding, to download-and-execute, to self-update...

Persistence

7 techniques
T1037Boot or Logon Initialization ScriptsEvidence8

This is done by creating symbolic links or executable scripts in the following directories: • (AS1) /etc/init.d/ ... • (AS2) /etc/cron.<S>/ ... • (AS3) /etc/rc<N>.d/

T1037.004RC ScriptsEvidence1

The malware creates a symlink for the init script dropped at the location /etc/init.d/<base_file_name> with the directories associated with runlevels 1 through 5 at /etc/rc<run_level>.d/S90<base_file_name>.

T1053.003CronEvidence8

The malware also tries to persist itself using cron... Recent variants have created two shell script files, "/etc/cron.hourly/cqqbnzzu.sh" and "/etc/cron.hourly/obidhyb.sh", which are executed every hour.

T1078Valid AccountsEvidence5

Once XorDdos identifies valid SSH credentials, it uses root privileges to run a script that downloads and installs XorDdos on the target device.

T1543Create or Modify System ProcessEvidence1

The malware first attempts to persist itself using the System V runlevels... This ensures that the malware is automatically started during the boot process.

T1543.001Launch AgentEvidence1

The commands chkconfig –add <service_name> and update-rc.d then add a service that starts the daemon process at boot.

T1556Modify Authentication ProcessEvidence1

give_root Provides a root privilege by setting a new set of credentials and assigning its UID, GID to “0”

Privilege Escalation

7 techniques
T1037Boot or Logon Initialization ScriptsEvidence8

This is done by creating symbolic links or executable scripts in the following directories: • (AS1) /etc/init.d/ ... • (AS2) /etc/cron.<S>/ ... • (AS3) /etc/rc<N>.d/

T1037.004RC ScriptsEvidence1

The malware creates a symlink for the init script dropped at the location /etc/init.d/<base_file_name> with the directories associated with runlevels 1 through 5 at /etc/rc<run_level>.d/S90<base_file_name>.

T1053.003CronEvidence8

The malware also tries to persist itself using cron... Recent variants have created two shell script files, "/etc/cron.hourly/cqqbnzzu.sh" and "/etc/cron.hourly/obidhyb.sh", which are executed every hour.

T1055Process InjectionEvidence1

The central controller can generate a controller binder that will inject a DLL file to the XorDDoS controller to bind network connection and command operation to the sub-controller... allowing the central controller to fully remote control the sub-controllers.

T1078Valid AccountsEvidence5

Once XorDdos identifies valid SSH credentials, it uses root privileges to run a script that downloads and installs XorDdos on the target device.

T1543Create or Modify System ProcessEvidence1

The malware first attempts to persist itself using the System V runlevels... This ensures that the malware is automatically started during the boot process.

T1543.001Launch AgentEvidence1

The commands chkconfig –add <service_name> and update-rc.d then add a service that starts the daemon process at boot.

Stealth

12 techniques
T1014RootkitEvidence7

The rootkit component with a complicated server-assisted installation is where Xorddos differs from all the other Linux trojans.

T1027Obfuscated Files or InformationEvidence4

In order to obfuscate its malicious code, the malware encodes its data using XOR. It encrypts its data using RC4 PRGA... The malware contains obfuscated stackstrings.

T1036MasqueradingEvidence5

A bot running this type of execution is called as the /usr/bin/bsd-port/getty file.

T1055Process InjectionEvidence1

The central controller can generate a controller binder that will inject a DLL file to the XorDDoS controller to bind network connection and command operation to the sub-controller... allowing the central controller to fully remote control the sub-controllers.

T1070Indicator RemovalEvidence2

The installation process can consist of several steps: • killing competing time-consuming processes

T1070.004File DeletionEvidence3

To avoid detection, the malware deletes its installer scripting and files after completing its attack phases.

T1078Valid AccountsEvidence5

Once XorDdos identifies valid SSH credentials, it uses root privileges to run a script that downloads and installs XorDdos on the target device.

T1218System Binary Proxy ExecutionEvidence1

cp /lib/libudev4.so /lib/libudev4.so.6 /lib/libudev4.so.6

T1497Virtualization/Sandbox EvasionEvidence1

The malware may attempt to detect it is running on a VM; where artifact strings found in memory can reveal that the system is virtual.

T1564.001Hidden Files and DirectoriesEvidence2

The first method involves copying a malicious ELF file to temporary file storage /dev/shm and then running it. Files written at /dev/shm are deleted during system restart, thus concealing the source of infection during forensic analysis.

T1564.003Hidden WindowEvidence1

The malware calls the subroutine daemon(__nochdir, __noclose) to set itself as a background daemon process... It then calls setsid() to detach itself from the controlling terminal.

T1564.010Process Argument SpoofingEvidence1

Below is an example of how the Trojan hides the TCP port (notice the task value 3):

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence1

give_root Provides a root privilege by setting a new set of credentials and assigning its UID, GID to “0”

Credential Access

3 techniques
T1110Brute ForceEvidence7

Distribution starts with either an automated SSH brute-forcing of various Windows and Linux servers or vulnerability scanning and exploiting using the hacking tools and password lists mentioned below.

T1110.001Password GuessingEvidence2

Figure 4 shows an SSH brute-forcer, where attackers can enter a list of IP addresses and a password list, as well as specifying other parameters of the attack.

T1556Modify Authentication ProcessEvidence1

give_root Provides a root privilege by setting a new set of credentials and assigning its UID, GID to “0”

Discovery

8 techniques
T1016System Network Configuration DiscoveryEvidence1

ifconfig eth0 ifconfig route -n

T1033System Owner/User DiscoveryEvidence2

The fake commands can include: whoami id ... who

T1046Network Service DiscoveryEvidence2

netstat -an netstat -antop

T1057Process DiscoveryEvidence3

The malware enumerates processes within the "proc" file system to gather information about the system.

T1082System Information DiscoveryEvidence5

The malware reads system information from the proc file system to determine the system's kernel version. It uses the "uname" system call to query kernel version information. It queries for a number of processors.

T1083File and Directory DiscoveryEvidence2

Iterates the following folders to find a writable directory: /bin /home /root /tmp /usr /etc

T1497Virtualization/Sandbox EvasionEvidence1

The malware may attempt to detect it is running on a VM; where artifact strings found in memory can reveal that the system is virtual.

T1613Container and Resource DiscoveryEvidence1

They then sent a command that listed the containers hosted on the Docker server.

Lateral Movement

2 techniques
T1021.004SSHEvidence1

The malware primarily targets Linux-based systems, infiltrating them through brute-force attacks on SSH services.

T1072Software Deployment ToolsEvidence1

There is a list of C&C commands, for which the bot listens to: To start flooding, to stop flooding, to download-and-execute, to self-update...

Collection

1 technique
T1560Archive Collected DataEvidence1

If not, the script locates the kernel headers in /lib/modules/%s/build/ directory... then packs all files and uploads them to the C&C server using a custom uploader called mini .

Command and Control

7 techniques
T1001Data ObfuscationEvidence3

The C&C messages data section is encrypted using a simple XOR cipher

T1071Application Layer ProtocolEvidence6

The bot then establishes communication with its C&C server. The initial packet contains the memory and CPU statistics of the compromised machine.

T1071.001Web ProtocolsEvidence2

The malware downloads files from webservers via HTTP.

T1090.003Multi-hop ProxyEvidence2

the hosts issuing the attack were themselves compromised and unwillingly recruited to conduct a DDoS campaign.

T1095Non-Application Layer ProtocolEvidence1

The C&C communication occurs via a custom binary protocol.

T1105Ingress Tool TransferEvidence7

The malware downloads files from webservers via HTTP to continue the installation of malicious files and launch further installation steps.

T1573Encrypted ChannelEvidence1

The communication is encrypted in both directions with the same hard-coded XOR key (BB2FA36AAA9541F0) as the configuration file.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

This binary uses an HTTP POST request to upload the archived kernel headers to the attacker’s server.

Impact

4 techniques
T1489Service StopEvidence2

Once the information is retrieved, these processes are killed by the malware.

T1498Network Denial of ServiceEvidence9

XorDDOS uses infected x86, x64, and ARM systems to launch wide-scale Distributed Denial of Service attacks against other victims.

T1498.001Direct Network FloodEvidence1

Any of these methods can be used: SYN Flood, ACK Flood and DNS amplification attacks.

T1498.002Reflection AmplificationEvidence1

Any of these methods can be used: SYN Flood, ACK Flood and DNS amplification attacks.

Indicators of compromise

Observables

114 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+24 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

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 matching114Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping45Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.