PamDOORa
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
cybersecurity researchers have uncovered a new Linux backdoor named PamDOORa, being sold for $1,600 on the Rehub Russian cybercrime forum by a threat actor known as "darkworm." This sophisticated tool leverages the Pluggable Authentication Module (PAM) framework to provide persistent SSH access and harvest credentials.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Researchers note that PamDOORa represents an evolution in operator-grade tooling due to its integrated features and builder pipeline.
Execution
1 technique
Execution
PamDOORa works by hijacking the Pluggable Authentication Module, or PAM, framework that Linux systems use to handle user logins and identity verification.
Persistence
5 techniques
Persistence
Researchers note that PamDOORa represents an evolution in operator-grade tooling due to its integrated features and builder pipeline.
Covert access is unlocked by a magic password plus a specific TCP port combination.
Abuses pam_exec to run attacker scripts during the authentication event.
PAM's modularity allows malicious modifications, which PamDOORa exploits to steal credentials from legitimate users and tamper with authentication logs to erase traces of its activity.
Plants a malicious PAM module and alters /etc/pam.d/sshd to capture credentials and persist.
Privilege Escalation
2 techniques
Privilege Escalation
Researchers note that PamDOORa represents an evolution in operator-grade tooling due to its integrated features and builder pipeline.
Abuses pam_exec to run attacker scripts during the authentication event.
Stealth
9 techniques
Stealth
Once installed, the backdoor injects a malicious PAM module that produces a file called pam_linux.so, loaded into the authentication stack alongside legitimate system modules. This design allows it to blend in with normal system files rather than replacing them.
The malicious module is named to blend in with legitimate PAM modules (e.g. pam_linux.so).
The backdoor is built to manipulate authentication log files including lastlog, btmp, utmp, and wtmp, wiping away any trace that an attacker connected to the server.
PAM's modularity allows malicious modifications, which PamDOORa exploits to steal credentials from legitimate users and tamper with authentication logs to erase traces of its activity.
Researchers note that PamDOORa represents an evolution in operator-grade tooling due to its integrated features and builder pipeline.
Covert access is unlocked by a magic password plus a specific TCP port combination.
The latest findings from Flare.io show that PamDOORa, besides enabling credential theft, incorporates anti-forensic capabilities to methodically tamper with authentication logs to erase traces of malicious activity.
PamDOORa works by hijacking the Pluggable Authentication Module, or PAM, framework that Linux systems use to handle user logins and identity verification.
Includes anti-debugging to frustrate analysis.
Defense Impairment
3 techniques
Defense Impairment
PAM's modularity allows malicious modifications, which PamDOORa exploits to steal credentials from legitimate users and tamper with authentication logs to erase traces of its activity.
Plants a malicious PAM module and alters /etc/pam.d/sshd to capture credentials and persist.
Tampers with authentication logs to erase traces of malicious logins.
Credential Access
4 techniques
Credential Access
Credentials submitted by legitimate users during login are intercepted within the PAM stack, encrypted using XOR with a runtime-generated key, and written to /tmp with randomly generated filenames and timestamps.
PAM's modularity allows malicious modifications, which PamDOORa exploits to steal credentials from legitimate users and tamper with authentication logs to erase traces of its activity.
Plants a malicious PAM module and alters /etc/pam.d/sshd to capture credentials and persist.
It's also capable of harvesting credentials from all legitimate users who authenticate through the compromised system.
Discovery
1 technique
Discovery
Includes anti-debugging to frustrate analysis.
Lateral Movement
1 technique
Lateral Movement
PamDOORa functions as a post-exploitation toolkit, enabling attackers to gain persistent access to Linux systems (x86_64) through a "magic password" and a specific TCP port combination.
Command and Control
1 technique
Command and Control
Covert access is unlocked by a magic password plus a specific TCP port combination.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.