Kerberos
#mimikatz #rubeus #winrs;
Pass The Ticket
Pass the ticket involves stealing the ticket and the session key and using it impersonate the user to get access to resources or services.
TGT & ST can be used, but TGTs are preferred because we get access to any service.
Mimikatz
Rubeus
Verify the ticket with
klist
:
Get a shell
Overpass The Hash/Pass The Key
When a user requests a TGT, the TGT encrypts the timestamp and other details with a key derived from their password.
The algorithm used call be the following depending on the kerberos configuration :
DES (Deprecated)
RC4
AES128
AES256
We can ask the Key Distrubution Center for TGT by passing this key through mimikatz
Mimikatz
Mimikatz will open a PowerShell session with a logon type 9 (whis is the same as running
runas
withnetonly
option).Requires elevation.
Rubeus
Notice that when using RC4, the key will be equal to the NTLM hash of a user. This means that if we could extract the NTLM hash, we can use it to request a TGT as long as RC4 is one of the enabled protocols. This particular variant is usually known as Overpass-the-Hash (OPtH). Using RC4 will be marked as "Encryption Donwgrade" and MDI will flag an alert.
Last updated