Lateral Movement

PowerView

..\PowerView


#Find where you have localadminacces
Find-LocalAdminAccess


#Start Powershell Session on Server
Enter-PSSession -ComputerName <FQDN OF SERVER WITH AMDIN ACCESS>
whoami
whoami /priv
hostname


#Use different credentials:
Enter-PSSession -Credential <username> <password> -ComputerName <FQDN OF SERVER WITH AMDIN ACCESS>


#Create statefull Session
$sess = Enter-PSSession -ComputerName <FQDN OF SERVER WITH AMDIN ACCESS>
#see the session
$sess
#Enter the session
Enter-PSSession -Session $sess
#Exit the session
exit

Executing Commands Remotely

Invoke-Mimikatz

Last updated

Was this helpful?