Open-Source Medusa Rootkit Reused as OrBit to Steal Linux SSH and Sudo Credentials
Malware Intelligence · 2 sources · Updated 5mo ago · First seen May 14, 2026

Researchers reported that the Linux rootkit OrBit is not a distinct malware family but a modified deployment of the open-source Medusa LD_PRELOAD rootkit published on GitHub. Active from 2022 through early 2026, OrBit achieves persistence by forcing a malicious shared library into processes through dynamic linker configuration, hooks more than 40 functions to hide its presence, and harvests credentials from SSH and sudo activity while storing stolen data in hidden paths such as /lib/libseconf/. Investigators identified two build lineages: Lineage A, which preserved the full credential-theft and stealth feature set, and Lineage B, a reduced variant that dropped PAM interception, packet capture, and TCP port hiding before disappearing after 2024.
The malware expanded in 2025 with a pam_sm_authenticate hook that can alter authentication outcomes, along with a two-stage infector and dropper chain that used cron-based retrieval from external infrastructure including cf0[.]pw, the first observed OrBit-related component with direct outbound communications. Researchers linked separate deployments of the same codebase to at least three threat clusters, including UNC3886, BLOCKADE SPIDER, and a 2025 campaign sharing tooling and infrastructure traits with the RHOMBUS botnet. Detection guidance highlighted recurring Medusa artifacts such as sshpass.txt, .logpam, and /etc/cron.hourly/0, as well as YARA-based identification of the malware’s XOR-encoded string table across renamed variants.


