Linux
Manual privilege escalation techniques to look for
Information gathering
Distribution type:
Kernel version:
view if you can run anything as sudo: (check for GTFObins)
Check common files:
cat /etc/profile
cat /etc/bashrc
cat ~/.bash_history
cat ~/.bashrc
cat ~/.bash_logoutWhat services running (filter by root):
Check configuration files:
Check local ports and what listens:
View list of users:
Search for ssh keys:
View crontabs
Web servers files
Useful Find Comands
Find Binaries that will execute as the owner (SUID):
Find binaries that will execute as the group (GUID):
Find sticky-bit binaries:
Find files which were created in the last 5 minutes:
Find certain files:
Wildcard search:
Find and ls:
Find world writable folders:
Files containing passwords:
Sudo misconfiguration
inetd
Dynamically Linked Shared Object Library
Abuse Capabilities utility
CAP_DAC_READ_SEARCH
CAP_setuid
CAP_NET_RAW
Last updated