Attacks and Exploits
A tester holds valid local administrator credentials for a remote file server. The firewall allows only SMB (TCP 445) to it. Which tool BEST provides a remote command shell?
Show the answer
Correct answerB. PsExec
AWhy not this: It depends on WinRM listener ports, which the firewall does not allow, so it cannot connect.
BWhy this is right: It uses SMB and administrator rights to run a remote service and return a command shell.
CWhy not this: It targets AD CS certificate templates and gives no remote shell.
DWhy not this: It abuses Kerberos tickets and does not give a remote command shell.
PsExec connects over SMB, copies a service to the ADMIN$ share and runs commands remotely, so it works when only TCP 445 is open. Evil-WinRM needs the WinRM listener ports, which the firewall does not allow.