All course resources can be found here.

Checklist - Linux Privilege Escalation

Checklist - Linux Privilege Escalation

Resources List

  1. Basic Linux Privilege Escalation - https://blog.g0tmi1k.com/2011/08/basic-linux-privilege-escalation/

  2. Linux Privilege Escalation - https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology and Resources/Linux - Privilege Escalation.md

  3. Checklist - Linux Privilege Escalation (Hacktricks)- https://book.hacktricks.xyz/linux-unix/linux-privilege-escalation-checklist

  4. Sushant 747's Guide (Country dependant - may need VPN) - https://sushant747.gitbooks.io/total-oscp-guide/content/privilege_escalation_-_linux.html

Initial Enumeration

System Enumeration

~# hostname
~# uname -a
~# cat /proc/version
~# lscpu
~# ps aux | grep root
~# /proc/version
~# /etc/issue
~# pspy (<https://github.com/DominicBreuker/pspy/releases>)

User Enumeration

~# whoami
~# id
~# sudo -l
~# cat /etc/passwd

Network Enumeration

~#ifonfig
~# ip a
~# ip route 
~# arp -a 
~# ip neigh
~# netstat

Password Hunting