systeminfo: Displays OS version, architecture, and patches.
sysinfo: Similar, used within Meterpreter.
wmic qfe get ...: Lists installed Windows updates.
2. Enumerating Users & Groups
Meterpreter Commands:
getuid# Get current usergetprivs# Get available privilegesbackground# Background current sessionusepost/windows/gather/enum_logged_on_userssetSESSION1runsessions1shell
whoami
whoami /priv # Check user privileges
net users # List all users
net user administrator # Check admin user details
net localgroup
net localgroup administrators
ipconfig # Show basic network details
ipconfig /all # Show detailed network config (DNS, DHCP, MAC)
route print # Display routing table
arp -a # Show ARP cache (connected hosts)
netstat -ano # Show active network connections and listening ports
pgrep explorer.exe # Find Explorer.exe process ID (on Linux-like shells)
migrate 2252 # Migrate to another process (in Meterpreter)
net start # List running services
wmic service list brief # Summarize running services
tasklist /SVC # List processes and services
schtasks /query /fo LIST # List scheduled tasks
use post/windows/gather/win_privs
set SESSION 1
run
use post/windows/gather/enum_logged_on_users
set SESSION 1
run
use post/windows/gather/checkvm
set SESSION 1
run
use post/windows/gather/enum_applications
set SESSION 1
run
use post/windows/gather/enum_computers
set SESSION 1
run
use post/windows/gather/enum_shares
set SESSION 1
run