Local Enumeration

Username and hostname.

whoami
hostname

Group memberships of the current user.

whoami /groups

Existing users and groups.

Get-LocalUser
Get-LocalUser <user_name>
Get-LocalGroup
Get-LocalGroupMember <group_name>

Operating system, version and architecture.

systeminfo

Network information.

ipconfig /all
route print
netstat -ano

Installed applications.

Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" | select displayname
Get-ItemProperty "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" | select displayname

Running processes.

Search for files.

PowerShell history.

PowerShell history event logs.

Automated Enumeration

Download and execute winPEAS and Seatbelt.

References

winPEAS
Seatbelt

Last updated