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

Fintech firm Figure disclosed data breach after employee phishing attack

Fintech firm Figure confirmed a data breach after hackers used social engineering to trick an…

16 hours ago

U.S. CISA adds a flaw in BeyondTrust RS and PRA to its Known Exploited Vulnerabilities catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a flaw in BeyondTrust RS and…

17 hours ago

Suspected Russian hackers deploy CANFAIL malware against Ukraine

A new alleged Russia-linked APT group targeted Ukrainian defense, government, and energy groups, with CANFAIL…

22 hours ago

New threat actor UAT-9921 deploys VoidLink against enterprise sectors

A new threat actor, UAT-9921, uses the modular VoidLink framework to target technology and financial…

1 day ago

Attackers exploit BeyondTrust CVE-2026-1731 within hours of PoC release

Attackers quickly targeted BeyondTrust flaw CVE-2026-1731 after a PoC was released, enabling unauthenticated remote code…

2 days ago

Google: state-backed hackers exploit Gemini AI for cyber recon and attacks

Google says nation-state actors used Gemini AI for reconnaissance and attack support in cyber operations.…

2 days ago

This website uses cookies.