Checklist

id
find / -group <groups> 2>/dev/null
history
sudo -l
sudo -V | grep version
find / -name id_rsa 2>/dev/null
find / -type f -perm -04000 -ls 2>/dev/null

Research any binary with a SUID bit that looks out of place

https://github.com/AlexisAhmed/CVE-2022-0847-DirtyPipe-Exploits

DirtyPipe can be used to abuse custom SUID binaries

  • 5.16.11

  • 5.15.25

  • 5.10.102

  • 5.9.0

ls -la /etc/passwd /etc/shadow
cat /etc/crontab
crontab -l
getcap -r / 2>/dev/null
/usr/sbin/getcap -r / 2>/dev/null

Snoop on processes using pspy - some cron jobs may be running in the background

Research and enumerate literally every cron job running

su into other users using their usernames as passwords; vagrant:vagrant

Search for credentials in files

Run PEAS and LinEnum

Last updated