LinuxPrivEsc Enumeration

Network

Check open ports

netstat -ano
ss -lt

File and Directory

Find specific strings in file

grep -rnw '/path/to/somewhere/' -e 'pattern'

Find file name

find / -name "filename"

Privilege Escalation

Manual Enumeration

check for group that can be abuse

id

Check if can write or read, or maybe even find hashes

Check version for kernel exploit

Check process running that can be abused

Check for network configuration like internal ip

Look for active network

Check firewall rules

Check for schedule task

Check application installed

Look for writable directories

Look for unmounted drives

Checked for SUID Binaries

Automated Enumeration

LinPEAS

Last updated

Was this helpful?