Golang Mining Worm Targeting Linux Servers
A new unnamed Golang based worm has been observed targeting Linux servers. The worm installs a cryptocurrency miner and attempts to spread to other systems.
Summary
A new unnamed Golang based worm has been observed targeting Linux servers. The worm installs a cryptocurrency miner and attempts to spread to other systems.
Affected platforms
The following platforms are known to be affected:
Threat details
The worm spreads by attempting to exploit four web application vulnerabilities or by brute forcing Secure Shell (SSH) and Redis database services on the target system using a hardcoded set of credentials. Once the worm is established on the system it downloads and executes three scripts.
The first script contains a set of installation instructions, the second and third scripts contain the code and configuration for the cryptocurrency miner. When the first script executes, it attempts to carry out a series of activities:
- The script attempts to disable security features including SELinux.
- A scheduled job is created that downloads and runs the installation script every fifteen minutes in order to maintain persistence.
- All processes with a CPU usage greater than 30% are killed.
- The script attempts to connect to all known SSH hosts in the directory and execute the payload.
- The cryptocurrency miner is installed and run as a service.
For further information
Remediation steps
| Type | Step |
|---|---|
|
To prevent and detect an infection, ensure that:
|
CVE Vulnerabilities
Last edited: 14 February 2020 2:44 pm