Linux Privilege Escalation
SUID (Set User ID) Permission
#Check permissions of ping
ls -al /bin/ping
#Output
-rwsr-xr-x 1 root root 64424 Jun 28 2019 /bin/ping
#the s bit denotes that SUID permission is set
#find all executables with SUID permission set
find / -perm -u=s -type f 2>/dev/null[Manual] Using Find to execute root commands

LinPeas

Last updated