Enumeration
After we have a shell, we need to enumerate the system
Check Recycle Bin
Finding Executables
Finding bash.exe
Using where command (fastest):
where command (fastest):where /R C:\ bash.exeUsing PowerShell:
Get-ChildItem -Path C:\ -Filter bash.exe -Recurse -ErrorAction SilentlyContinueUsing dir for recursive search:
dir for recursive search:dir /s /b C:\bash.exeCommon bash.exe locations:
Quick WSL check:
Finding any executable
DACLS
System Information
Basic System Info
OS Information
Installed Software
User Enumeration
Current User
List all users
User details
Network Information
Network configuration
Routing table
ARP cache
Active connections
Firewall status
Process and Service Enumeration
Running processes
Services
Scheduled tasks
File and Directory Enumeration
Search for files
Find files containing specific text
Recently modified files
World-writable folders
Registry Enumeration
AlwaysInstallElevated
Search registry
AutoRun programs
Credentials and Sensitive Data
Check for saved credentials
Search for passwords in files
Unattended install files
Installed Programs and Paths
PATH environment variable
Program Files directories
Check for development tools
Locksmith
Last updated