LateralMovement
Powershell Remoting
Command to enable PSRemoting
Enable-PSRemoting -Force Command to enable PSRemoting on remote machine
wmic /node:<REMOTE_HOST> process call create "powershell enable-psremoting -force"IF we have administrative access on another machine after use hunting
Enter-PSSession dcorp-adminsrv$session = New-PSSession -ComputerName dcorp-adminsrv
Enter-PSSession -Session $sessionTO execute commands parallely on many machines
To execute scripts prallely on many machines
To evade logging by blue team we can use winrs
enable rdp access on another computer using scriptblock
Over Pass The Hash
Using Mimikatz( Needs elevation (Run as administrator))
Using safetykatz( Needs elevation (Run as administrator))
Using BetterSafetyKatz
Using rubeus(doesn't need elevation)
Using rubeus(needs elevation)
DCSync(Needs Domain Admin Privilege by default)
DCSync to extract krbtgt hash for us domain
DCSync to extract krbtgt hash for us domain using safetykatz
DCSync to extract krbtgt hash using bettersafetykatz
If above does not work use below to get NTLM hash not AES key.
Last updated