Remote process
psexec64.exe \\MACHINE_IP -u Administrator -p <PASSWORD> -i cmd.exe
2. Remote Process Creation Using WinRM
$username = 'Administrator'; $password = '<PASSWORD>'; $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $credential = New-Object System.Management.Automation.PSCredential $username, $securePassword; # Start an interactive session Enter-PSSession -ComputerName TARGET -Credential $credentialInvoke-Command -ComputerName TARGET -Credential $credential -ScriptBlock { whoami }winrs.exe -u:Administrator -p:<PASSWORD> -r:TARGET cmd
3. Remotely Creating Services Using sc
sc4. Creating Scheduled Tasks Remotely
Last updated