πͺBackdoors

PAM
PAMpam_unix.so file is responsible for authentication

pam_unix.so uses the unix_verify_password function to verify to user's supplied password :

.bashsrc
.bashsrcAny user that log in often :
Put a nc listener
CronJob
CronJobWith a root access
Configure a task where every minute a reverse shell is sent to you. Add this line into your cronjob file :
Add this to the shell file :
On the attacker machine :
SSH
SSHGenerate ssh key
Copy our key into the user's .ssh directory
Last updated
Was this helpful?