With pass the key - also know as overpass the hash - we can “over” abuse an NTLM user hash to gain a full Kerberos Ticket Granting Ticket (TGT). Then we can use the TGT to obtain a Ticket Granting Service (TGS).
The essence of the overpass the hash lateral movement technique is to turn the NTLM hash into a Kerberos ticket and avoid the use of NTLM authentication. A simple way to do this is with the sekurlsa::pth command from Mimikatz - sekurlsa::pth /user:jen /domain:corp.com /ntlm:369def79d8372408bf6e93364cc93075 /run:powershell.
After that run something that will grant you a TGT ticket, for example, connect to an SMB share with net use \\files04.
Interesting note:
You can use net view to view folders of a share, similar as how smbclient does that!
Running a whoami command on the newly created PowerShell session would show the name of the original account. While this could be confusing, this is the intended behavior of the whoami utility which only checks the current process’s token and does not inspect any imported Kerberos tickets.
With a kerberos TGT we can use any tools that rely on Kerberos authentication (as opposed to NTLM). For exmaple, we can use the legitimate PsExec to access remote hosts with .\PsExec.exe \\files04 cmd
Pass the key with klist showing eaither aes256-cts-hmac-sha1-96 or rc4-hmac for the AES key or NTLM usage, depending on the Kerberos initial setup. If rc4-hmac is in use - because of it using NTLM - Pass the key is very similar to Pass the hash in the initial steps.