CompTIA PenTest+ (PT0-003) — Question 36

While performing a penetration testing exercise, a tester executes the following command:
PS c:\tools> c:\hacks\PsExec.exe \\server01.comptia.org -accepteula cmd.exe
Which of the following best explains what the tester is trying to do?

Answer options

Correct answer: B

Explanation

The correct answer is B because the command uses PsExec to execute CMD.exe on a remote server, which is a method often used in lateral movement attacks. Options A, C, and D do not accurately describe the intent of the command, as it specifically aims to execute a command on a remote machine rather than merely testing connectivity or transferring files.