Local Enumeration
Username and hostname.
whoami
hostnameGroup memberships of the current user.
whoami /groupsExisting users and groups.
Get-LocalUser
Get-LocalUser <user_name>
Get-LocalGroup
Get-LocalGroupMember <group_name>net user
net user <user_name>
net localgroup
net localgroup <group_name>Operating system, version and architecture.
systeminfoNetwork information.
ipconfig /all
route print
netstat -anoInstalled applications.
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" | select displayname
Get-ItemProperty "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" | select displaynameRunning processes.
Search for files.
PowerShell history.
PowerShell history event logs.
Automated Enumeration
Download and execute winPEAS and Seatbelt.
References
Last updated
