Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Krb5RoastParser — KrbRoastParser is a tool for parsing Kerberos packets from pcap files to extract AS-REQ, AS-REP and TGS-REP hashes | Kitploit
Tools/GitHubGitHub/jalvarezz13/krb5roastparser
Packet Sniffing & AnalysisPassword CrackingHash AnalysisNetwork SecurityPenetration TestingAuthentication
GitHubjalvarezz13/krb5roastparser

Krb5RoastParser

KrbRoastParser is a tool for parsing Kerberos packets from pcap files to extract AS-REQ, AS-REP and TGS-REP hashes

View Repository
10911181 month agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Krb5RoastParser

Star History Chart

📑 Table of Contents

  • ❓ What is Krb5RoastParser?
  • ⭐ Features
  • ⚙️ Installation
  • ▶️ Execution
  • 📈 Post Execution
  • 📜 License

❓ What is Krb5RoastParser?

Krb5RoastParser is a tool designed to parse Kerberos authentication packets (AS-REQ, AS-REP and TGS-REP) from .pcap files and generate password-cracking-compatible hashes for security testing. By leveraging tshark, Krb5RoastParser extracts necessary details from Kerberos packets, providing hash formats ready for tools like Hashcat.

Demo

⭐ Features

  • Parse AS-REQ, AS-REP and TGS-REP packets from .pcap files.
  • Generate hashes compatible with Hashcat for password-cracking.
  • Easy to extend for future hash formats (e.g., john).

⚙️ Installation

Prerequisites

Ensure you have:

  • Python 3.7 or higher
  • tshark installed and accessible in your PATH

To install tshark (if not already installed):

root@kitploit:~
# On Debian/Ubuntu
sudo apt update
sudo apt install tshark -y

# On macOS (using Homebrew)
brew install wireshark

# On Windows is included in the Wireshark installation

Clone the Repository

root@kitploit:~
git clone https://github.com/jalvarezz13/Krb5RoastParser.git
cd Krb5RoastParser

▶️ Execution

To run Krb5RoastParser, use the following syntax:

root@kitploit:~
python krb5_roast_parser.py <pcap_file> <as_req/as_rep/tgs_rep>
  • <pcap_file>: The path to the .pcap file containing Kerberos packets.
  • <as_req/as_rep>: Specify the type of Kerberos packet to parse.
    • Use as_req for AS-REQ packets
    • Use as_rep for AS-REP packets
    • Use tgs_rep for TGS-REP packets

Example Commands

Parse AS-REQ packets:

root@kitploit:~
python krb5_roast_parser.py sample.pcap as_req

Parse AS-REP packets:

root@kitploit:~
python krb5_roast_parser.py sample.pcap as_rep

Parse TGS-REP packets:

root@kitploit:~
python krb5_roast_parser.py sample.pcap tgs_rep

Output

  • For as_req: The output will be in $krb5pa$18$... format.
  • For as_rep: The output will be in $krb5asrep$23$... format.
  • For tgs_rep: The output will be in $krb5tgs$23$... format.

These outputs are compatible with Hashcat hash modes.

[!NOTE]
By the moment, the tool only supports these hash formats. If you need support for other hash formats, feel free to open an issue or submit a pull request.

🔓 Post Execution

Once you have the generated hashes, you can use Hashcat to attempt to crack them.

Cracking AS-REQ Hashes

For AS-REQ hashes, use Hashcat mode 19900:

root@kitploit:~
hashcat -m 19900 <hashfile> <wordlist>

Cracking AS-REP Hashes

For AS-REP hashes, use Hashcat mode 18200:

root@kitploit:~
hashcat -m 18200 <hashfile> <wordlist>

Cracking TGS-REP Hashes

For TGS-REP hashes, use Hashcat mode 13100:

root@kitploit:~
hashcat -m 13100 <hashfile> <wordlist>

Replace <hashfile> with the file containing the extracted hashes and <wordlist> with your wordlist file.

📜 License

This project is licensed under the MIT License. See the LICENSE file for more information.

Download Tool