OrBit Rootkit Steals SSH and Sudo Credentials From Linux Systems
Key Takeaways The OrBit rootkit, previously thought to be custom, is a modified version of the open-source Medusa rootkit, actively deployed since December 2022. OrBit targets Linux systems, deeply...
Key Takeaways
- The OrBit rootkit, previously thought to be custom, is a modified version of the open-source Medusa rootkit, actively deployed since December 2022.
- OrBit targets Linux systems, deeply embedding itself to steal SSH and sudo credentials while evading detection.
- Multiple threat actors, including state-sponsored groups like UNC3886 and eCrime organizations like BLOCKADE SPIDER and RHOMBUS, are leveraging OrBit.
- Newer versions of OrBit, particularly from 2025, can actively forge authentication outcomes, granting attackers full control over login attempts.
- Defenders can identify OrBit through specific file artifacts, hidden directories, and YARA rules designed to detect its core Medusa codebase.
The persistent OrBit rootkit has long been a clandestine threat to Linux environments, designed to pilfer login credentials and maintain an entrenched presence on compromised machines, often sidestepping conventional security measures.
Table Of Content
Recent investigations have unveiled a significant development: OrBit, once considered a bespoke piece of malware, is, in fact, a customized iteration of Medusa, a publicly available rootkit. This revelation underscores a widespread adoption by various hacking groups globally.
OrBit’s Modus Operandi
OrBit infiltrates the core of a Linux system, establishing hooks into more than forty fundamental system functions. This deep integration allows it to operate with near-complete invisibility. Once embedded, the rootkit actively monitors for SSH and sudo login attempts, capturing usernames and passwords. These stolen credentials are then stored in a hidden directory, specifically engineered to elude standard system scans. Attackers subsequently leverage a covert SSH backdoor to reconnect to the compromised system, negating the need for internet-facing commands.
Researchers at Intezer detailed in a recent report that OrBit’s codebase is not original. Instead, it is derived from Medusa, an open-source rootkit published on GitHub in December 2022. The threat actors behind OrBit have primarily focused on configuring existing source files, rotating passwords, and altering installation paths to enhance its stealth capabilities, rather than developing new code from scratch.
Hackers Use OrBit Rootkit to Harvest Credentials
Intezer’s comprehensive analysis spanned over a dozen samples of OrBit, collected between 2022 and early 2026. Through static and differential analysis, the research team identified two distinct build paths: “Lineage A,” a full-featured version encompassing the complete attack toolkit, and “Lineage B,” a streamlined variant with reduced features for a smaller footprint. Lineage B deployments appear to have ceased after 2024, suggesting a potential consolidation back to the primary Lineage A build by operators.
OrBit achieves persistence by deploying itself as a shared library file on the target Linux machine. It modifies the dynamic linker configuration, ensuring that the malicious library is automatically loaded into every process running on the system. From this privileged position, OrBit intercepts critical system data, including file reads, directory listings, and network connection information, rendering itself invisible to both system administrators and security tools. The malware secretes captured credentials and configuration data within a hidden directory, /lib/libseconf/, which remains undetectable by standard utilities due to the rootkit’s active hooks.
A significant advancement in OrBit’s capabilities emerged in 2025 with the introduction of a new hook called pam_sm_authenticate, a server-side authentication function. Earlier versions were limited to passively collecting credentials as users entered them. However, this updated version gained the ability to forge authentication outcomes, allowing attackers to approve or deny login attempts on a compromised system at will. Concurrently, a new two-stage delivery mechanism was observed: an initial infector deploys a dropper, which then extracts and installs the rootkit. A cron job is subsequently established to fetch updated payloads from an external domain.
Multiple Hacker Groups Are Exploiting This Backdoor
A particularly alarming finding from this research is the confirmed use of OrBit by at least three distinct hacker groups. Mandiant has tracked the state-sponsored espionage group UNC3886 utilizing the same codebase. This group employed a specific 0xAA encryption key, unique credentials, and an installation path that precisely matched Intezer’s 2024 Lineage A samples.
CrowdStrike’s 2026 Global Threat Report highlighted BLOCKADE SPIDER, an eCrime group notorious for the Embargo ransomware, as another user of OrBit. This group leveraged the rootkit to maintain stealthy access within VMware virtualization environments.
Furthermore, a third campaign observed in 2025 featured a dropper architecture identical to one associated with RHOMBUS, a Linux-based botnet first reported in 2020. Both droppers shared the same C2 domain, which resolves to infrastructure located in Russia.
To aid defenders, it is crucial to monitor for co-occurring filenames such as sshpass.txt, .logpam, and .ports within unexpected directories. These are consistent artifacts of the Medusa build pipeline, irrespective of which operator compiled the rootkit. Implementing YARA rules that can decode the XOR string table with a variable key and match on known plaintext entries can effectively detect any variant of this rootkit family, even those employing fresh credentials and renamed installation paths.
What You Should Do
- Implement robust endpoint detection and response (EDR) solutions capable of detecting rootkit behavior and kernel-level modifications.
- Regularly audit Linux systems for suspicious file paths, particularly /lib/libseconf/, /lib/libntpVnQE6mk/, and /lib/locate/.
- Monitor for the presence of unusual files like sshpass.txt, .logpam, and .ports in unexpected locations.
- Deploy and regularly update YARA rules to identify OrBit/Medusa variants, focusing on string tables and known plaintext entries.
- Enforce strong authentication policies, including multi-factor authentication (MFA) for SSH and sudo access.
- Periodically review and restrict dynamic linker configurations to prevent unauthorized shared library loading.
- Conduct thorough network monitoring for connections to known OrBit C2 domains and IP addresses, such as cf0[.]pw and 109.95.212[.]253.
- Regularly patch and update Linux operating systems and all installed software to mitigate potential initial compromise vectors.
Indicators of Compromise (IoCs)
| Type | Indicator | Description |
|---|---|---|
| SHA256 | 40b5127c8cf9d6bec4dbeb61ba766a95c7b2d0cafafcb82ede5a3a679a3e3020 | 2022 OrBit payload, Lineage A |
| SHA256 | ec7462c3f4a87430eb19d16cfd775c173f4ba60d2f43697743db991c3d1c3067 | 2022 OrBit payload, Lineage A |
| SHA256 | f1612924814ac73339f777b48b0de28b716d606e142d4d3f4308ec648e3f56c8 | 2022 dropper |
| SHA256 | d419a9b17f7b4c23fd4e80a9bce130d2a13c307fccc4bfbc4d49f6b770d06d3b | 2023 payload, Lineage A |
| SHA256 | 296d28eb7b66aa2cbea7d9c2e7dc1ad6ce6f97d44d34139760c38817aec083e7 | 2023 payload, Lineage A |
| SHA256 | 3ba6c174a72e4bf5a10c8aaadab2c4b98702ee2308438e94a5512b69df998d5a | 2023 payload, Lineage B |
| SHA256 | 4203271c1a0c24443b7e85cbf066c9928fcc69934772a431d779017fb85c9d73 | 2023 payload, Lineage B |
| SHA256 | eea274eddd712fe0b4434dbef6a2a92810cb13b8be3deca0571410ee78d37c9f | 2024 payload, Lineage A |
| SHA256 | a61386384173b352e3bd90dcef4c7268a73cd29f6ae343c15b92070b1354a349 | 2024 payload, Lineage A |
| SHA256 | a34299a16cf30dac1096c1d24188c72eed1f9d320b1585fe0de4692472e3d4dc | 2024 payload, Lineage B |
| SHA256 | b1dd18a6a4b0c6e2589312bbec55b392a20a95824ffe630a73c94d24504c553d | 2024 payload, Lineage B |
| SHA256 | 989f7eb4f805591839bcbc321dd44418eb5694d1342e37b7f24126817f10e37e | 2024 payload (extracted), Lineage B |
| SHA256 | 8ea420d9aa341ba23cdea0ac03951bce866c933ba297268bc7db8a01ce8e9b8e | 2024 payload (static ELF), Lineage A |
| SHA256 | 26082cd36fdaf76ec0d74b7fbf455418c49fbab64b20892a873c415c3bb60675 | 2024 loader/installer |
| SHA256 | 48a68d0555f850c36f7d338b1a42ed1a661043cacf2ba2a4b0a347fac3cb3ee6 | 2024 dropper |
| SHA256 | fc2e0cb627a00d0e4509bd319271721ea74fb11150847213abe9e8fea060cc8a | 2024 dropper |
| SHA256 | 8e83cbb2ed12faba9b452ea41291bcebdce08162f64ac9a5f82592df62f47613 | 2025 payload, Lineage A |
| SHA256 | 2b2eeb2271c19e2097a0ef0d90b2b615c20f726590bbfee139403db1dced5b0a | 2025 payload, Lineage A |
| SHA256 | 84828f31d741f92ce4bca98cfc2148ff8cff6663e2908a025b1386dd4953ffef | 2025 payload (truncated), Lineage A |
| SHA256 | 090b15fd8912cab340b22e715d44db079ec641db5e2f92916aa1f2bc9236e03e | 2025 dropper |
| SHA256 | 64a3ebd3ad3927fc783f6ac020d5a6192e9778fb16b51cceba06e4ee5416adff | 2025 dropper |
| SHA256 | b85ed15756568b85148c1d432a8920f81e4b21f2bc38f0cf51d06ced619e0e77 | 2025 dropper |
| SHA256 | d3d204c19d93e5e37697c7f80dd0de9f76a2fb4517ced9cafd7d7d46a6e285ba | 2025 dropper |
| SHA256 | 73b95b7d1006caf8d3477e4a9a0994eaa469e98b70b8c198a82c4a12c91ad49a | 2025 two-stage infector |
| SHA256 | 04c06be0f65d3ead95f3d3dd26fe150270ac8b58890e35515f9317fc7c7723c9 | 2026 payload, Lineage A |
| SHA256 | d7b487d2e840c4546661f497af0195614fc0906c03d187dc39815c811ea5ec3f | 2026 payload, Lineage A |
| SHA256 | b982276458a85cd3dd7c8aa6cb4bbb2d4885b385053f92395a99abbfb0e43784 | 2020 RHOMBUS dropper (shared architecture) |
| URL | http://cf0[.]pw/0 | C2 domain used in 2025 cron-based persistence mechanism |
| IP Address | 109.95.212[.]253 | Current resolution of C2 domain cf0[.]pw, Russia-based infrastructure |
| IP Address | 109.95.211[.]141 | Related infrastructure sharing same BANNER_0_HASH-IP value, Russia-based |
| File Path | /lib/libseconf/ | Primary hidden working directory used across most OrBit variants |
| File Path | /lib/libntpVnQE6mk/ | Original 2022 OrBit hidden working directory |
| File Path | /lib/locate/ | Alternate install path used in UNC3886/MEDUSA 2024 cluster |
| File Name | sshpass.txt | Credential storage file artifact, fixed across Medusa build pipeline |
| File Name | .logpam | PAM credential log artifact, fixed across Medusa build pipeline |
| File Name | /etc/cron.hourly/0 | Persistence script dropped by 2025 infector for remote payload download |
Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.



No Comment! Be the first one.