Gathering Information of the System
1. Network & System Information
Network Configuration:
ipconfig /allβ View detailed network interface configurations (IP, DNS, etc.).arp -aβ Display ARP cache (shows local network devices).route printβ View the system's routing table.
Service Information:
tasklist /svcβ List all running processes along with their services.netstat -anoβ Display active TCP/UDP connections and listening ports with process IDs.
System Info:
systeminfoβ Get a comprehensive overview of the system (OS version, architecture, hotfixes, etc.).wmic product get nameβ List installed software via the command line.Get-WmiObject -Class Win32_Product | select Name, Versionβ List installed software via PowerShell.
2. User & Privilege Enumeration
Current User & Privileges:
whoami /privβ List current user privileges.whoami /groupsβ List group memberships for the current user.net userβ Get a list of all user accounts.query userβ Display logged-in users on the system.
Groups & Password Policies:
net localgroupβ List all local groups.net localgroup "Backup Operators"β List users in the Backup Operators group.net accountsβ View password policies and other account-related configurations.
3. Security Tools & Configuration
Windows Defender:
Get-MpComputerStatusβ Check the status of Windows Defender (active, signatures, etc.).
AppLocker:
Get-AppLockerPolicy -Effective | select -ExpandProperty RuleCollectionsβ List effective AppLocker rules.Test-AppLockerPolicy -Path C:\Windows\System32\cmd.exe -User Everyoneβ Test if a specific executable (cmd.exe) can be run for a specific user.
4. Named Pipes & Permission Enumeration
Listing Named Pipes:
pipelist.exe /accepteulaβ List all named pipes on the system.
Access Rights to Named Pipes:
accesschk.exe /accepteula \\.\Pipe\lsass -vβ Check permissions for a specific named pipe (e.g., LSASS pipe).accesschk.exe /accepteula -w \\.\Pipe\SQLLocal\SQLEXPRESS01 -vβ Check write access for a SQL pipe.
5. Environment Variables & Other Useful Commands
View Environment Variables:
setβ Display environment variables for the current session.
Last updated
Was this helpful?