CPENT Active Directory Attacks Practice Question
Which TWO of the following Impacket tools can be utilized to perform credential dumping or secret extraction from Active Directory or target systems when valid administrator credentials are known?
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
✓
goldenPac.py
secretsdump.py extracts password hashes, Kerberos keys, and NTDS.dit data. smbexec.py and psexec.py execute remote commands, but secretsdump.py and mspacify/mimikatz-equivalents in Impacket focus on dumping secrets. Specifically, secretsdump.py is the primary secret extraction tool.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
goldenPac.py
Why this is correct
goldenPac.py exploits MS14-068 to perform ticket forgery and extract credentials/spawn an interactive shell.
- ✗
ntlmrelayx.py
Why it's wrong here
ntlmrelayx.py is used for NTLM relay attacks, though it can dump SAM when configured.
- ✓
secretsdump.py
Why this is correct
secretsdump.py performs remote dumping of SAM, LSA, and NTDS.dit hashes.
- ✗
GetUserSPNs.py
Why it's wrong here
GetUserSPNs.py is used for Kerberoasting, not dumping secrets from system storage.
- ✗
lookupsid.py
Why it's wrong here
lookupsid.py performs SID brute-forcing to enumerate users and groups.
About these practice questions
This CPENT question is part of Courseiva's 274-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 →
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.