Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 5 Question 38 Discussion

Posted by Latosha on May 26, 2026 at 10:45 PM

While performing a penetration test, a tester executes the following command:

PS c:\tools> c:\hacks\PsExec.exe \\server01.cor.ptia.org -accepteula cmd.exe

Which of the following best explains what the tester is trying to do?

Suggested Answer: B

PsExec is a Windows Sysinternals tool that allows users to execute commands on a remote system without needing an interactive login session. The command above is executing cmd.exe on a remote Windows Active Directory domain machine (server01.cor.ptia.org).

Option A (Test connectivity using PsExec) : The command does not check connectivity; it executes a command remotely.

Option B (Perform a lateral movement attack) : Correct. Lateral movement occurs when an attacker moves from one compromised machine to another within a network, using valid credentials. PsExec is often used for this purpose.

Option C (Send the PsExec binary) : The command runs cmd.exe remotely, but it does not transfer PsExec itself.

Option D (Enable cmd.exe) : cmd.exe is already enabled by default on most Windows systems.

Reference: CompTIA PenTest+ PT0-003 Official Guide -- Lateral Movement with PsExec


Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
17 comments · newest first
AD
Adelaide 23 days ago
Right, B is the most logical explanation.
CE
Cecily 28 days ago
C doesn't fit; no file transfer happening here.
AN
Antonio 1 month ago
I lean towards B as well. Clear intent to move laterally.
MA
Mary 1 month ago
B is definitely the best choice.
TA
Tamra 1 month ago
D is interesting, but not the main goal.
JO
Josephine 2 months ago
A could work too, but it feels off.
SC
Scot 2 months ago
Agreed, B seems right. PsExec is for that.
RO
Rosendo 2 months ago
I think it's B. Lateral movement makes sense here.
RE
Rene 2 months ago
I disagree, it seems more like enabling cmd.exe.
RE
Rebecka 2 months ago
Surprised they didn't mention the risks of using PsExec!
RO
Rolf 2 months ago
I thought PsExec was just for testing connectivity?
CA
Casey 3 months ago
Definitely a lateral movement attempt!
MA
Marjory 3 months ago
Looks like they're trying to run cmd.exe on server01.
AB
Abel 3 months ago
I think the -accepteula part means it's accepting the license agreement, which makes me lean towards it being a command execution rather than just testing connectivity.
KE
Kenneth 3 months ago
I feel like I've seen a question like this before, and it was about testing connectivity. But now I'm second-guessing if that's really what PsExec does.
JA
Jacob 3 months ago
I remember something about lateral movement in my studies. This looks like it could be a way to access another machine, so B might be the right choice.
YO
Youlanda 4 months ago
I think the command is trying to run cmd.exe on the remote server, so maybe it's about enabling it? But I'm not entirely sure.
0/2000 characters

Save Cancel