Post-exploitation and Lateral Movement
A tester on a Linux host needs Python scripts that speak SMB and MSRPC to run remote commands on Windows hosts with an NTLM hash. Which toolkit fits?
Show the answer
Correct answerC. Impacket
AWhy not this: PsExec is a Windows Sysinternals executable, not a Python toolkit, and it expects a password rather than a hash.
BWhy not this: Netcat moves raw data over TCP or UDP and has no SMB or MSRPC support.
CWhy this is right: Impacket implements SMB and MSRPC in Python and includes scripts that authenticate with a hash from Linux.
DWhy not this: Mimikatz extracts credentials from Windows memory; it is not a Python remote execution toolkit.
Impacket is a Python library of network protocol implementations with example scripts for remote execution that accept NTLM hashes and run from Linux. PsExec is tempting, but it is a Windows executable that expects a password and is not a Python toolkit.