Courseiva

CPENT Practice Question: Privilege Escalation Lateral Movement And Post Exploitation

A penetration tester is analyzing a compromised Windows system and wants to check for stored credentials in the Windows Credential Manager. Which command-line utility can be used to list saved credentials?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

cmdkey /list

cmdkey /list displays a list of stored user names and credentials saved in the Windows Credential Manager.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • gpresult /r

    Why it's wrong here

    gpresult displays Group Policy applied to the current user and computer.

  • net user /domain

    Why it's wrong here

    net user /domain queries domain user accounts via Active Directory.

  • cmdkey /list

    Why this is correct

    cmdkey /list enumerates cached credentials stored in the Credential Manager.

  • whoami /priv

    Why it's wrong here

    whoami /priv displays the current user's privileges and token rights.

About these practice questions

This CPENT question is part of Courseiva's 276-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official EC-Council exam blueprint

This CPENT practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CPENT exam.