Linux Privilege Escalation
Kernel Exploit
Search for Exploits:
Research and find kernel exploits suitable for the target system.
Execute the exploit to escalate privileges.
Sudo Rights
Check Sudo Rights:
Use
sudo -l
to display programs with sudo rights.
SUID (Set User ID)
Find SUID Files:
Use the following command to list files with SUID or SGID bits set:
CAPA (Capabilities)
List Applications with Capabilities:
Use the following command to list all applications with capabilities set:
Cron Jobs
View Cron Jobs:
Display the cron jobs configured on the system:
PATH
Show System's PATH:
Display the system's PATH variable:
Writable Directories:
Identify writable directories:
PATH Manipulation:
Temporarily modify PATH for privilege escalation:
NFS (Network File System)
Show Shared Folders:
Use
showmount
to display shared folders on an NFS server:
NFS Configuration:
View the configuration of shared folders:
Last updated