Password Attackskerberosmsspntgscrackingtickets

Kerberoast

Kerberoast provides tools for attacking Microsoft Kerberos implementations. It enables extraction of SPN accounts, ticket acquisition, and cracking of TGS tickets.

Description

Kerberoast is a package containing multiple tools designed for attacking MS Kerberos implementations. It supports extracting all accounts in use as SPN using built-in MS tools, acquiring tickets from RAM with Mimikatz, cracking with tgsrepcrack, and requesting tickets.

The package includes scripts like GetUserSPNs.ps1 and GetUserSPNs.vbs for SPN enumeration, extracttgsrepfrompcap.py for PCAP processing, kerberoast.py for roasting, kirbi2john.py for John the Ripper conversion, krbroast-pcap2hashcat.py for Hashcat conversion, pac.py for PAC handling, and tgsrepcrack.py for cracking.

These tools are used in penetration testing to target Kerberos service accounts with SPNs, enabling offline cracking of TGS tickets.

How It Works

Kerberoast exploits Kerberos by requesting TGS tickets for SPN accounts, which are encrypted with the service account's password hash. Tools extract SPNs via PowerShell/VBS, repack TGS from PCAP or memory dumps (Mimikatz), convert to cracking formats (Hashcat/John), and crack using tgsrepcrack.py. It leverages protocols like Kerberos TGS-REQ/REP and RC4-HMAC encryption on service tickets.

Installation

bash
sudo apt install kerberoast

Examples

Displays help and overview of tools for attacking MS Kerberos implementations
kerberoast -h
Extracts all accounts in use as SPN using built-in MS tools
GetUserSPNs.ps1
Extracts all accounts in use as SPN using built-in MS tools (VBScript version)
GetUserSPNs.vbs
Extracts acquired tickets from PCAP files
extracttgsrepfrompcap.py
Cracks TGS tickets obtained via Kerberoasting
tgsrepcrack.py
Converts Kirbi ticket files to John the Ripper format
kirbi2john.py
Converts PCAP Kerberoast output to Hashcat format
krbroast-pcap2hashcat.py
Requests TGS tickets for Kerberoasting attacks
kerberoast.py
Updated 2026-04-16kali.org ↗