PT0-002 Attacks and Exploits Practice Question
A penetration tester wants to perform a pass-the-hash attack on a Windows target. Which tools can be used for this purpose? (Choose the best answer.)
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
✓
pth-winexe
pth-winexe is a common tool for pass-the-hash attacks on Windows.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
sqlmap
Why it's wrong here
sqlmap is an automated tool for detecting and exploiting SQL injection vulnerabilities in web applications, allowing attackers to extract data from databases. It operates against web application endpoints and cannot be used to impersonate a user in Windows/NTLM authentication flows. Therefore, sqlmap has no role in a Pass-the-Hash attack, which targets Windows authentication using captured NTLM hashes.
- ✓
pth-winexe
Why this is correct
pth-winexe is part of the Samba suite and is a utility specifically designed to execute commands on a remote Windows system using an NTLM hash in place of a password. It embeds the hash into the authentication handshake (e.g., SMB/Netlogon remote procedure call) to authenticate without needing the plaintext password. This makes it a direct implementation of the Pass-the-Hash technique for interactive command execution.
- ✗
John the Ripper
Why it's wrong here
John the Ripper is a password cracking tool that recovers plaintext passwords from a captured hash by performing offline brute-force or dictionary attacks on the hash value. It does not use the original hash to directly authenticate to services; it must first convert the hash to a password, after which the password (or another attack) must be used for network authentication. Since Pass-the-Hash leverages the hash itself as sufficient proof of identity, John the Ripper is not the tool for that attack.
- ✗
Hashcat
Why it's wrong here
Hashcat is a high-performance, GPU-accelerated hash recovery tool that cracks a given hash to its plaintext by testing candidate passwords against the hash algorithm. Like John the Ripper, it is an offline cracking tool, but it cannot interact with a live Windows authentication service to leverage a captured hash for lateral movement. In a Pass-the-Hash scenario, the attacker skips the cracking step entirely, so Hashcat is not a component of that attack chain.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PT0-003 question from scratch — 777 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PT0-003 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-003 exam.