The TeamTNT cybercrime group has upgraded their Linux cryptocurrency miner by adding open-source detection evasion capabilities, AT&T Alien Labs researchers warn.
The TeamTNT botnet is a crypto-mining malware operation that has been active since April 2020 and that targets Docker installs. The activity of the TeamTNT group has been detailed by security firm Trend Micro, but in August experts from Cado Security discovered that that botnet is also able to target misconfigured Kubernetes installations.
“The group is using a new detection evasion tool, copied from open source repositories,” reads the analysis published by AT&T Alien Labs.
The threat actor behind the botnet used the new tool to hide the malicious process from process information programs such as `ps` and `lsof`and evading the detection.
The libprocesshider open-source tool is available on Github since 2014 and is able to “hide a process under Linux using the ld preloader.” The “preloading” technique allows the system to load a custom shared library before other system libraries are loaded. If the custom shared library exports a function with the same signature of a library that is located in the system libraries, the custom version will override it.
The tool implements the function readdir() which is used by processes such as `ps` to read the /proc directory to find running processes. The shared library implements a version of the function that hides matches between the processes found and the process that attackers want to hide.
The open-source tool is deployed within a base64 encoded script hidden in the TeamTNT cryptominer binary or ircbot
Upon executing the bash script, it will execute multiple tasks to:
The new tool is initially dropped as a hidden tar file on disk, then it is decompressed by the script, it is written to ‘/usr/local/lib/systemhealt.so’, and then added to ‘/etc/ld.so.preload’. In this way the preloading technique is implemented and the attacker can override common functions
“Through the use of libprocesshider, TeamTNT once again expands their capabilities based on the available open source tools,” concludes the report.
“While the new functionality of libprocesshider is to evade detection and other basic functions, it acts as an indicator to consider when hunting for malicious activity on the host level.”
If you want to receive the weekly Security Affairs Newsletter for free subscribe here.
(SecurityAffairs – hacking, malware)
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.