Enumeration
Basic Microsoft Windows Enumeration
whoami /all
whoami /user
systeminfo
net accounts
net user
net user /domain
net user <USERNAME>
Get-LocalUser
Get-LocalGroup
Get LocalGroupMember <GROUP>
Get-Process
tree /f C:\Users\
tasklist /SVC
sc query
sc qc <SERVICE>
netsh firewall show state
schtasks /query /fo LIST /v
wmic qfe get Caption,Description,HotFixID,InstalledOn
driverquery.exe /v /fo csv | ConvertFrom-CSV | Select-Object 'Display Name', 'Start Mode', PathUser & Group Information
Logged-In Users
Current User
Current User Privileges
Current User Group Information
Get All Users
Get All Groups
Details About a Group
Get Password Policy & Other Account Information
System Information
Tasklist
Using the tasklist command to look at running processes will give us a better idea of what applications are currently running on the system.
Display All Environment Variables
View Detailed Configuration Information
Installed Programs
Display Running Processes
The netstat command will display active TCP and UDP connections which will give us a better idea of what services are listening on which port(s) both locally and accessible to the outside.
Listing Named Pipes with Pipelist
After obtaining a listing of named pipes, we can use Accesschk to enumerate the permissions assigned to a specific named pipe by reviewing the Discretionary Access List (DACL), which shows us who has the permissions to modify, write, read, or execute a resource.
Check all named pipes that allow write access
Identifying Common Applications
One liner
Check which applications are running
Check the path of a process
Network Information
Interface(s), IP Address(es), DNS Information
ARP Table
Routing Table
Enumerating Protections
Check Windows Defender Status
List AppLocker Rules
Test AppLocker Policy
Show hidden Files and Folders
User Handling
Adding Users to Groups
Last updated