nerdexam
CompTIA

PT0-003 · Question #24

During an assessment, a penetration tester manages to get RDP access via a low-privilege user. The tester attempts to escalate privileges by running the following commands: Import-Module .\PrintNightm

Sign in or unlock PT0-003 to reveal the answer and full explanation for question #24. The question stem and answer options stay visible for context.

Submitted by satoshi_tk· Mar 6, 2026Post-exploitation and Lateral Movement

Question

During an assessment, a penetration tester manages to get RDP access via a low-privilege user. The tester attempts to escalate privileges by running the following commands:

Import-Module .\PrintNightmare.ps1 Invoke-Nightmare -NewUser "hacker" -NewPassword "Password123!" - DriverName "Print" The tester attempts to further enumerate the host with the new administrative privileges by using the runas command. However, the access level is still low. Which of the following actions should the penetration tester take next?

Options

  • ALog off and log on with "hacker".
  • BAttempt to add another user.
  • CBypass the execution policy.
  • DAdd a malicious printer driver.

Unlock PT0-003 to see the answer

You've previewed enough free PT0-003 questions. Unlock PT0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#privilege escalation#PrintNightmare#Windows post-exploitation#user sessions
Full PT0-003 Practice