Privilege Escalation

Windows and Linux Privilege Escalation notes or cheat sheet.

Windows Privilege Escalation

Collect some basic system information commands

C:\Windows\system32 >whoami
Windows XP:echo %usename% or whoami.exe or net users
C:\Windows\system32 >getuid or id
net users
net localgroups
C:\Windows\system32 >systeminfo
C:\Windows\system32 >System Information | findstr /B /C:"operating system name" /C:"operating system version"
Network:
C:\Windows\system32 >ipconfig /all
route print
arp -A
System patched:wmic qfe get Caption,Description,HotFixID,InstalledOn
C:\Windows\system32 >whoami /priv

Last updated