Initial Enumeration
Early Information Gathering
SYSTEM ENUMERATION
systeminfo
basic command to gather information about the system
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
example of using findstr to pull specific info from systeminfo
hostname
cmd for hostname
wmic qfe
returns info about system
may return patch levels
wmic logicaldisk
disk and drive info
wmic localdisk get caption,description,providername
cleaner localdisk output for quick interpretation
tasklist /SVC
tasklist /V
running services and programs
USER ENUMERATION
users on machine
can also try net user Administrator
net localgroup
group enum
NETWORK ENUMERATION
PASSWORD HUNTING
AV & FIREWALL ENUMERATION
sc query
service control query
sc query windefend
query to see if windows defender is running
sc queryex type= service
list services
netsh advfirewall firewall dump
may return nothing
netsh firewall show state
checkin' the FW
Last updated
Was this helpful?