githubEdit

Kerberoasting

Kerberoasting Commands

Install Impacket

  • Command:

sudo python3 -m pip install .
  • Description: Used to install Impacket from inside the directory that gets cloned to the attack host. Performed from a Linux-based host.

Display GetUserSPNs.py Options

  • Command:

GetUserSPNs.py -h
  • Description: Impacket tool used to display the options and functionality of GetUserSPNs.py from a Linux-based host.

Get List of SPNs on Target Domain

  • Command:

GetUserSPNs.py -dc-ip 172.16.5.5 INLANEFREIGHT.LOCAL/mholliday
  • Description: Impacket tool used to get a list of SPNs on the target Windows domain from a Linux-based host.

Request All TGS Tickets for Offline Processing

  • Command:

  • Description: Impacket tool used to download/request all TGS tickets for offline processing from a Linux-based host.

Request TGS Ticket for a Specific User

  • Command:

  • Description: Impacket tool used to download/request a TGS ticket for a specific user account (sqldev) from a Linux-based host.

Request TGS Ticket for a Specific User and Write to File

  • Command:

  • Description: Impacket tool used to download/request a TGS ticket for a specific user account and write the ticket to a file (sqldev_tgs) from a Linux-based host.

Crack Kerberos Ticket Hash with Hashcat

  • Command:

  • Description: Attempts to crack the Kerberos (-m 13100) ticket hash (sqldev_tgs) using hashcat and a wordlist (rockyou.txt) from a Linux-based host.

Enumerate SPNs in a Windows Domain

  • Command:

  • Description: Used to enumerate SPNs in a target Windows domain from a Windows-based host.

Download TGS Ticket for a Specific User with PowerShell

  • Command:

  • Description: PowerShell script used to download/request the TGS ticket of a specific user from a Windows-based host.

Request All TGS Tickets from Windows Domain

  • Command:

  • Description: Used to download/request all TGS tickets from a Windows-based host.

Extract TGS Tickets in Base64 Format with Mimikatz

  • Command:

  • Description: Mimikatz command that ensures TGS tickets are extracted in base64 format from a Windows-based host.

Extract TGS Tickets with Mimikatz

  • Command:

  • Description: Mimikatz command used to extract the TGS tickets from a Windows-based host.

Prepare Base64 Formatted TGS Ticket for Cracking

  • Command:

  • Description: Used to prepare the base64 formatted TGS ticket for cracking from a Linux-based host.

Convert Encoded File to .kirbi Format

  • Command:

  • Description: Used to output a file (encoded_file) into a .kirbi file in base64 format from a Linux-based host.

Extract Kerberos Ticket with kirbi2john

  • Command:

  • Description: Used to extract the Kerberos ticket. This also creates a file called crack_file from a Linux-based host.

Modify Crack File for Hashcat

  • Command:

  • Description: Used to modify the crack_file for Hashcat from a Linux-based host.

View Prepared Hash

  • Command:

  • Description: Used to view the prepared hash from a Linux-based host.

Crack Kerberos Ticket Hash with Hashcat

  • Command:

  • Description: Used to crack the prepared Kerberos ticket hash (sqldev_tgs_hashcat) using a wordlist (rockyou.txt) from a Linux-based host.

Extract TGS Tickets with PowerView

  • Command:

  • Description: Uses PowerView tool to extract TGS Tickets. Performed from a Windows-based host.

Request Specific User's TGS Ticket in Hashcat Format

  • Command:

  • Description: PowerView tool used to download/request the TGS ticket of a specific ticket and automatically format it for Hashcat from a Windows-based host.

Last updated