- A
Pass-the-hash
Pass-the-hash uses the captured NTLM hash to authenticate to remote services without needing the plaintext password.
- B
Brute force
Why wrong: Brute forcing would require guessing the password, which is inefficient and unnecessary when hashes are available.
- C
Rainbow tables
Why wrong: Rainbow tables are used to crack hashes, not to authenticate directly; they require time to reverse the hash.
- D
Keylogging
Why wrong: Keylogging would capture keystrokes on the current machine, but does not help authenticate to a remote server using existing hashes.
Quick Answer
The answer is pass-the-hash, the most appropriate technique for lateral movement in Windows when you have captured NTLM hashes but lack plaintext passwords. This works because NTLM authentication relies on a challenge-response protocol where the hash itself serves as the secret; by using the hash to compute the correct response, you can impersonate the user without ever needing the plaintext password. On the CompTIA PenTest+ PT0-002 exam, this question tests your understanding of post-exploitation lateral movement, often appearing in scenarios where tools like Mimikatz (with the `sekurlsa::pth` command) or Impacket’s `wmiexec.py` are used. A common trap is assuming you need to crack the hash first, but pass-the-hash bypasses that step entirely. Remember the memory tip: “Hash is enough—no need to crack, just attack.”
PT0-002 Attacks and Exploits Practice Question
This PT0-002 practice question tests your understanding of attacks and exploits. Compare every option against the stated constraints before choosing — the best answer satisfies all requirements, not just the most obvious one. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A penetration tester has gained access to a Windows workstation and extracted NTLM password hashes. The tester wants to move laterally to a server that authenticates using NTLM. The tester does not have the plaintext passwords. Which technique is MOST appropriate to authenticate to the server using the captured hashes?
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
Pass-the-hash
Pass-the-hash (PtH) is the correct technique because it allows the tester to authenticate to the remote server using the captured NTLM hash directly, without needing the plaintext password. NTLM authentication uses a challenge-response protocol where the hash itself is the secret; by presenting the hash in the response, the tester can impersonate the user. This is a well-known lateral movement technique in Windows environments, often executed with tools like Mimikatz (sekurlsa::pth) or Impacket's wmiexec.py.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Pass-the-hash
Why this is correct
Pass-the-hash uses the captured NTLM hash to authenticate to remote services without needing the plaintext password.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Brute force
Why it's wrong here
Brute forcing would require guessing the password, which is inefficient and unnecessary when hashes are available.
- ✗
Rainbow tables
Why it's wrong here
Rainbow tables are used to crack hashes, not to authenticate directly; they require time to reverse the hash.
- ✗
Keylogging
Why it's wrong here
Keylogging would capture keystrokes on the current machine, but does not help authenticate to a remote server using existing hashes.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may think they need the plaintext password for authentication and choose brute force or rainbow tables, not realizing that NTLM authentication accepts the hash directly in the challenge-response exchange, making pass-the-hash the most efficient lateral movement technique.
Detailed technical explanation
How to think about this question
Under the hood, NTLMv1/v2 authentication works by the server sending an 8-byte challenge to the client, which then computes an HMAC-MD5 (for NTLMv2) or DES-based (for NTLMv1) response using the NTLM hash as the key. In a pass-the-hash attack, the tester injects the captured hash into the local authentication session (e.g., via LSASS manipulation) so that the response is computed with the correct hash, bypassing the need for the plaintext. A real-world scenario is compromising a domain admin's hash from a workstation and using PtH to access a domain controller, which is why Microsoft has implemented mitigations like Credential Guard and Restricted Admin mode for RDP.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Attacks and Exploits — study guide chapter
Learn the concepts, then practise the questions
- →
Attacks and Exploits practice questions
Targeted practice on this topic area only
- →
All PT0-002 questions
509 questions across all exam domains
- →
CompTIA PenTest+ PT0-002 study guide
Full concept coverage aligned to exam objectives
- →
PT0-002 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PT0-002 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Planning and Scoping practice questions
Practise PT0-002 questions linked to Planning and Scoping.
Information Gathering and Vulnerability Scanning practice questions
Practise PT0-002 questions linked to Information Gathering and Vulnerability Scanning.
Attacks and Exploits practice questions
Practise PT0-002 questions linked to Attacks and Exploits.
Reporting and Communication practice questions
Practise PT0-002 questions linked to Reporting and Communication.
Tools and Code Analysis practice questions
Practise PT0-002 questions linked to Tools and Code Analysis.
PT0-002 fundamentals practice questions
Practise PT0-002 questions linked to PT0-002 fundamentals.
PT0-002 scenario practice questions
Practise PT0-002 questions linked to PT0-002 scenario.
PT0-002 troubleshooting practice questions
Practise PT0-002 questions linked to PT0-002 troubleshooting.
Practice this exam
Start a free PT0-002 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PT0-002 question test?
Attacks and Exploits — This question tests Attacks and Exploits — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Pass-the-hash — Pass-the-hash (PtH) is the correct technique because it allows the tester to authenticate to the remote server using the captured NTLM hash directly, without needing the plaintext password. NTLM authentication uses a challenge-response protocol where the hash itself is the secret; by presenting the hash in the response, the tester can impersonate the user. This is a well-known lateral movement technique in Windows environments, often executed with tools like Mimikatz (sekurlsa::pth) or Impacket's wmiexec.py.
What should I do if I get this PT0-002 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More PT0-002 practice questions
- A penetration tester is performing passive reconnaissance on a target organization. Which of the following activities wo…
- A penetration tester is conducting passive reconnaissance on a target organization. Which technique can be used to disco…
- A penetration tester is analyzing a Python script that uses the 'requests' library to send HTTP POST requests to a targe…
- A penetration tester is analyzing a PowerShell script that contains the following code: Get-WmiObject -Class Win32_Servi…
- A client review of a penetration test report reveals confusion about why a particular vulnerability exists. The client's…
- A penetration tester has completed the test and is writing the findings section. For a critical vulnerability, the teste…
Last reviewed: Jun 11, 2026
This PT0-002 practice question is part of Courseiva's free CompTIA 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 PT0-002 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.