Attacks and Exploits

During an authorized test, a client's SOC sees a service named PSEXESVC installed on a server right after a file was written to its ADMIN$ share. Which tool did the tester most likely use?

Show the answer

Correct answerD. PsExec

AWhy not this: Rubeus works with Kerberos tickets and does not execute commands through a remote service.

BWhy not this: Seatbelt only reads host configuration and does not install services or write to remote shares.

CWhy not this: Evil-WinRM works over WinRM and does not copy a binary to ADMIN$ or create a PSEXESVC service.

DWhy this is right: PsExec drops its service binary in ADMIN$ and creates the PSEXESVC service, which matches both artifacts.

PsExec copies its service executable to the ADMIN$ share over SMB and installs the temporary PSEXESVC service to run commands remotely. Evil-WinRM is tempting as a remote shell, but it uses the WinRM service and leaves no PSEXESVC service.