PamDOORa Linux PAM Backdoor Steals SSH Credentials and Hides Access
Attack Tradecraft · 3 sources · Updated 5mo ago · First seen May 8, 2026

Researchers have disclosed PamDOORa, a Linux backdoor that abuses the Pluggable Authentication Module (PAM) framework to steal SSH credentials and maintain covert persistence on already-compromised x86_64 systems. Advertised on the Russian-speaking cybercrime forum Rehub by an actor using the alias "darkworm," the malware is positioned as a post-exploitation toolkit and was reportedly offered for sale with its source code. It intercepts credentials from legitimate users during authentication by abusing pam_exec and inserting a malicious PAM component into the login stack.
PamDOORa also enables hidden SSH access through a magic password tied to a specific TCP port, while anti-forensic functions tamper with records such as lastlog, btmp, utmp, and wtmp to conceal activity and complicate investigations. Researchers said the malware appears to require prior root-level compromise for deployment, and there is no confirmed evidence yet of active in-the-wild attacks, but they described it as a more mature, operator-grade evolution of earlier PAM backdoor concepts because of its modular design, anti-debugging features, network-aware triggers, and builder pipeline.


