Linux/Xor.DDoS
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.
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.
In this post we'll be focusing on a certain kind of malware: Linux/Xor.DDoS (also known as DDoS.XOR or Xorddos).
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Thirdly, if you are running the standard OpenSSH server you may see an unauthorised but successful login and immediate logout afterwards.
Another, but less common possibility, is exploiting a vulnerable service that you have running (Apache for example).
Execution
1 technique
Execution
Afterwards a new cron script is created and added to the crontab.
Persistence
3 techniques
Persistence
This variant copies itself over to /lib/libgcc.so, then creates a copy in /etc/init.d and a symbolic link to /usr/bin.
Afterwards a new cron script is created and added to the crontab.
Thirdly, if you are running the standard OpenSSH server you may see an unauthorised but successful login and immediate logout afterwards.
Privilege Escalation
3 techniques
Privilege Escalation
This variant copies itself over to /lib/libgcc.so, then creates a copy in /etc/init.d and a symbolic link to /usr/bin.
Afterwards a new cron script is created and added to the crontab.
Thirdly, if you are running the standard OpenSSH server you may see an unauthorised but successful login and immediate logout afterwards.
Stealth
3 techniques
Stealth
You may have heard about Linux/Xor.DDoS already, a Linux Trojan with rootkit capabilities.
Secondly, another indication is seeing processes running with random names and sudden new executable files created in /etc/init.d/ or /usr/bin/.
Thirdly, if you are running the standard OpenSSH server you may see an unauthorised but successful login and immediate logout afterwards.
Credential Access
1 technique
Credential Access
Usually, a weak root password is used (like admin or 123456) or the attackers are brute forcing their way in. (brute forcing the SSH credentials of the root user)
Command and Control
2 techniques
Command and Control
the Xor.DDoS variant discussed in this blog uses 2 XOR keys for its (network) communication
The name Xor.DDoS stems from the heavy usage of XOR encryption in both malware and network communication to the C&Cs (command and control servers).
Impact
1 technique
Impact
In short: Xor.DDoS is a multi-platform, polymorphic malware for Linux OS and its ultimate goal is to DDoS other machines.
Observables
11 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.