Lateral Movement
01. Common commands
01.1 OS Enumerations
## ------------------| Get Basic details
systeminfo
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
whoami /all
## ------------------| Get environment paths
##[Powershell]
Get-ChildItem Env: | ft Key,Value
dir env:
## ------------------| Get .Net Version (cmd/ps)
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
## ------------------| Get System Architecher 32 or 64
##[Powershell]
$env:PROCESSOR_ARCHITECTURE
[Environment]::Is64BitProcess
[Environment]::Is64BitOperatingSystem
##[cmd]
set processor
## ------------------| Extract os patchs and updates
wmic qfe
## ------------------| List all installed software with patches (
wmic product get name, version, vendor
## ------------------| List all disk
mountvol
wmic logicaldisk get caption,description,providername
## ------------------| List firewall state and current configuration
netsh advfirewall firewall dump
netsh firewall show state
netsh firewall show config
netsh advfirewall firewall show rule name=all01.2 User Enumerations
01.3 Network Enumeration
01.4 Process / Service Enumeration
01.5 File Enumeration
01.6 Firewall / Defender
01.6.1 Firewall
01.6.2 Antivirus & Detections | Disable Defender
01.7 Default Locations
01.8 Policy Bypassing
01.9 Upload / Download / Execute
01.10 Encoding / Decoding
01.11 Dumping Credentials
01.12 Other
02. Defense Evasion Techniques
03. Scripts
Last updated