![Linux Malware Linux Malware](https://thehackernews.com/new-images/img/b/R29vZ2xl/AVvXsEiz9ez9EnV9BbIq2bPpXaXydklrP9XrLDrDIlHxUfw35ODweTwc-ta67nKsqhPdZZUzS3J_Y-bJAlMWyOIq5_24UNlVQNSw4rZxP105eBDbOMv-SyA5k1vw1s-VdX_9BBha2-_WU6mBgDxgStcCpE3LZQTSuX_d7jGu8Brzi0qLG0RnuKXwk3wsPa4E/s728-rj-e3650/hacking.png)
A new Linux malware developed using the shell script compiler (shc) 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 in a report published today.
![Linux malware Linux malware](https://thehackernews.com/new-images/img/b/R29vZ2xl/AVvXsEhHUw1ehlODqXpfStH5vJZm5RcZ0q_lxSZf5pp22myvZdEWuuYQNzqv3MSwEwXLv881w99BZL2LYbQqkyFXRhetE7Zy7gFX16zZrfUGYAlCw7NH-TdM_VkM0TgvIE3zQFDO-pJ7Cii5ao-uY0BTI8Wj0bugdz_iJbC2jpsPQSszE-PnfI3MStO2LYok/s728-rj-e3650/code-1.png)
shc allows shell scripts to be converted directly into binaries, offering protections against unauthorized source code modifications. It’s analogous to the BAT2EXE utility 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](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja1E2gBFw50Zjfv62gH4ykraetSoAfM1iiWzGSH2CT1FJRPnE-dU_NlUjETBTfVUSN_6jApFFuyXM2RrPu_4GFV0FCfin6J8o6NongCf89cLvO-MRDD3qgmTsznoOLU_y7msruL59TY5367F8msCO4KyUqZioTWh-EUtmRlh9CHaYOAjSMISkg6YK26Q/s728-rj-e365/ATT-728.jpg)
![](https://tps.doubleverify.com/visit.jpg?ctx=607671&cmp=29108100&sid=5936378&plc=354800911&adsrv=1&btreg=&btadsrv=&crt=&tagtype=&dvtagver=6.1.img&)
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 Linux malware](https://thehackernews.com/new-images/img/b/R29vZ2xl/AVvXsEgCaJjyMZz7Yy1P1ygIBtiRb1O3y4ok-2iH8OBy99SdvkBl2wDohZ4EVrNRe0WwO-l_duoGJ-Aeb856c28_SQ3w1J5aLTydz0n8_awdSQz0zT8O2XpNbwFFKfrPceydrwpKZ5GuW0LU5fKIvyChOxfbKY1ToW0rPSpSwMqMRxl8UW4jXM7yc10cjEaW/s728-rj-e3650/code-2.png)
“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.