Unpacking Diicot - Evolving Campaign Targeting Linux Environments
A malware campaign targets Linux systems running OpenSSH, using weak credentials to gain access and then spreading itself and deploying cryptomining payloads. Attackers could take control of compromised machines, use them for further attacks, and mine cryptocurrency.
Published on wiz.io
During a recent threat hunting effort Wiz Research uncovered a new malware campaign that we attribute to the Romanian-speaking Diicot threat group.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely weak SSH credentials (such as default or easily guessed passwords) allowed the attackers to gain initial access to Linux systems.
Impact
The malware could allow attackers to fully control compromised Linux machines, use them to spread to other systems, and potentially mine cryptocurrency, though mining was not observed in the investigated environment.
What the attacker needed
Target runs OpenSSH; weak SSH credentials
The fix
Systems should be secured by enforcing strong SSH credentials and disabling root SSH logins.
How it was found
- The attacker scans IP addresses for systems running OpenSSH on port 22.
- The attacker attempts to log in using a list of common username and password combinations.
- Upon successful login, the attacker deploys the main payload (Update) and other components.
- The payload sets up persistence via crontab and begins spreading to other machines.
- The payload reports successful brute-force attempts and system information back to the command-and-control server.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes a piece of malicious software (malware) that breaks into Linux computers by guessing weak passwords for a remote login service called SSH. Once inside, it installs itself, tries to break into other computers, and sometimes mines cryptocurrency. The attackers can also connect back to the infected machine and control it remotely.