Windows
Network Information
ipconfig /all
arp -a
route printSystem Information
# To View tasks list
tasklist /svc
# View env variable
set
Get-ChildItem Env:
# System info
systeminfo
# Patches and updates
wmic qfe
Get-HotFix | ft -AutoSize
# Installed programs
wmic product get name
Get-WmiObject -Class Win32_Product | select Name, Version
# Active connections
# Focus on entries listening on loopback addresses
netstat -ano
# Users & Groups information
query user # logged in users
net user # all users
net localgroup # all groups
net localgroup administrators # details about group
net accounts # password policy and other info
echo %USERNAME% # username
whoami
whoami /priv # User privileges
whoami /group # User group informationNamed Pipe Attack
Windows User Privileges
SeImpersonate and SeAssignPrimaryToken
SeDebugPrivilege
SeTakeOwnershipPrivilege
Windows Built-in Groups
Backup Operators
Event Log Readers
DNS Admins
Last updated