Ticket_Converter

A little tool to convert ccache tickets into kirbi (KRB-CRED) and vice versa based on impacket.

As input you must provide a ccache or kirbi file. The script will detect the format and convert it.

Installation

git clone https://github.com/Zer1t0/ticket_converter
cd ticket_converter
pip install -r requirements.txt

Usage

ticket_converter.py [-h] input_file output_file

Flags

positional arguments:
  input_file
  output_file

optional arguments:
  -h, --help   show this help message and exit

Examples

kirbi to ccache

python3 ticket_converter.py johnDomainAdmin.kirbi johnDomainAdmin.ccache
Converting kirbi => ccache

ccache to kirbi

python3 ticket_converter.py johnDomainAdmin.ccache johnDomainAdmin.kirbi
Converting ccache => kirbi

Troubleshooting

Fixing the error message ImportError: cannot import name 'KeyBlock' from 'impacket.krb5.ccache'.

Open ticket_converter.py in a text editor and find+replace KeyBlock with KeyBlockV4.

URL List