Categories: MalwareSecurity

New “experimental” rootkit menaces Linux OS

Yesterday I wrote about a new variant of malware able to use Google Docs function to hide communications to C&C servers, but daily we read about malicious agents that compromise  every OS, also the ones considered most secure from security community.

Recently security experts have detected a rootkit designed to infect Linux machines implementing an infection schema “drive-by website”. The news was posted on Full Disclosure last week and the existence of the rootkit has been confirmed also by Kaspersky Lab and CrowdStrike experts. The rootkit is able to infect victims with an iFrame injection attack, an iframe injection is an injection of iframe tags into a page allowing downloading of executable application that contains a malware in it.

The malware, named Rootkit.Linux.Snakso.a’ by Kaspersky Lab team, appears as an experimental agent that targets the latest 64-bit Debian Squeezy kernel (2.6.32-5), the experts of the famous security firm have discovered that many functions are incomplete and the binary still include debugging information.

The iFrame injection mechanism is considered by researchers very interesting, the rootkit is able to substitute the kernel function tcp_sendmsg that handles the preparation for sending of packets with its own code allowing to injected malicious iFrame directly to outgoing TCP packets. The injection payload is retrieved by the malware through a connection to the C&C server using an encrypted password for authentication.

“A kernel-mode binary component that uses advanced hooking techniques to ensure that the injection process is more transparent and low-level than ever before. This rootkit, though it’s still in the development stage, shows a new approach to the drive-by download schema and we can certainly expect more such malware in the future.” said Marta Janus form Kaspersky.

The malware appears as a product of state sponsored project still in progress or as a result of a professionals cybercriminal experiment, anayzing its design  CrowdStrike suggested that Russia is the most likely origin.

“Based on the Tools, Techniques, and Procedures employed and some background information we cannot publicly disclose, a Russia-based attacker is likely. It remains an open question regarding how the attackers have gained the root privileges to install the rootkit. However, considering the code quality, a custom privilege escalation exploit seems very unlikely.”

CrowdStrike observed that the HTTP and reverse proxy server used is nginx and that “rootkit was used to non-selectively inject iframes into webserver responses” suggesting that it is not a targeted attack. The experts not excluding also the possibility of a Waterhole attack to compromise web sites visited from a certain target audience such as happened for the Elderwood campaign.

“However, a Waterhole attack, where a site mostly visited from a certain target audience is infected, would also be plausible. Since no identifying strings yielded results in an Internet search (except for the ksocket library), it appears that this is not a modification of a publicly available rootkit.”

The researchers from Kaspersky Lab have discovered that the C&C server is still active and it hosts other *NIX based tools.

The finding would indicate that we may soon find similar agents, for this reason it is important not to underestimate the threat related to such rootkit, the battle is complex and the research of the groups involved in the analysis is a valuable contribute in the fight against new cyber threats.

Pierluigi Paganini

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Google fixed critical Chrome vulnerability CVE-2024-4058

Google addressed a critical Chrome vulnerability, tracked as CVE-2024-4058, that resides in the ANGLE graphics…

53 mins ago

Nation-state actors exploited two zero-days in ASA and FTD firewalls to breach government networks

Nation-state actor UAT4356 has been exploiting two zero-days in ASA and FTD firewalls since November…

13 hours ago

Hackers hijacked the eScan Antivirus update mechanism in malware campaign

A malware campaign has been exploiting the updating mechanism of the eScan antivirus to distribute…

19 hours ago

US offers a $10 million reward for information on four Iranian nationals

The Treasury Department's Office of Foreign Assets Control (OFAC) sanctioned four Iranian nationals for their…

1 day ago

The street lights in Leicester City cannot be turned off due to a cyber attack

A cyber attack on Leicester City Council resulted in certain street lights remaining illuminated all…

1 day ago

North Korea-linked APT groups target South Korean defense contractors

The National Police Agency in South Korea warns that North Korea-linked threat actors are targeting…

2 days ago

This website uses cookies.