Privilege Escalation
Indice
Enumeración
# Get current Windows Version
reg query "hklm\software\microsoft\windows nt\currentversion" /v ProductName
[Environment]::Is64BitProcess # 32 or 64 bits
### What can i do
whoami /priv
whoami /all
### Users info
net user # list all users
net user <USER> # describe user
### List groups
net localgroup # list all groups
net localgroup <PERM> # list all members of a group
### Powershell history
type %userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txtPrivilegios
WriteOwner
WriteDACL
SeBackupPrivilege
Dumpear Hashes en memoria a nivel LOCAL
Last updated