Jan 04, 2023Ravie LakshmananLinux / Cryptocurrency

Linux Malware

A new Linux malware developed using the shell script compiler
(shc[1]) has been observed
deploying a cryptocurrency miner on compromised systems.

“It is presumed that after successful authentication through a
dictionary attack on inadequately managed Linux SSH servers,
various malware were installed on the target system,” AhnLab
Security Emergency Response Center (ASEC) said[2] in a report published
today.

Linux malware

shc allows shell scripts to be converted directly into binaries,
offering protections against unauthorized source code
modifications. It’s analogous to the BAT2EXE
utility
[3] in Windows that’s used
to convert any batch file to an executable.

In an attack chain detailed by the South Korean cybersecurity
firm, a successful compromise of the SSH server leads to the
deployment of an shc downloader malware along with a Perl-based
DDoS IRC Bot.

cybersecurity

The shc downloader subsequently proceeds to fetch the XMRig
miner software to mine cryptocurrency, with the IRC bot capable of
establishing connections with a remote server to fetch commands for
mounting distributed denial-of-service (DDoS) attacks.

Linux malware

“This bot supports not only DDoS attacks such as TCP flood, UDP
flood, and HTTP flood, but various other features including command
execution, reverse shell, port scanning, and log deletion,” ASEC
researchers said.

The fact that all the shc downloader artifacts were uploaded to
VirusTotal from South Korea suggests that the campaign is mainly
focused on poorly secured Linux SSH servers in the country.

It’s recommended that users follow password hygiene and rotate
passwords on a periodic basis to prevent brute-force attempts and
dictionary attacks. It’s also advised to keep the operating systems
up-to-date.

Found this article interesting? Follow us on Twitter [4]
and LinkedIn[5]
to read more exclusive content we post.

References

  1. ^
    shc
    (en.wikipedia.org)
  2. ^
    said
    (asec.ahnlab.com)
  3. ^
    BAT2EXE
    utility
    (github.com)
  4. ^
    Twitter
    (twitter.com)
  5. ^
    LinkedIn
    (www.linkedin.com)

Read more