Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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
kcmdump — Dump Kerberos tickets from the KCM database of SSSD | Kitploit
Tools/GitHubGitHub/synacktiv/kcmdump
Lateral MovementPost-ExploitationPenetration TestingAuthenticationRed Teaming
GitHubsynacktiv/kcmdump

kcmdump

Dump Kerberos tickets from the KCM database of SSSD

View Repository
5947 months 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

KCM dumper

Quick script to dump the KCM database used by SSSD and recover Kerberos tickets in the CCACHE format.

Initially based on SSSDKCMExtractor and KCMTicketFormatter.

Description

Since version 2.0.0 (2018-08-13), the back end storage of the KCM responder of SSSD does not encrypt the database content anymore. It however still relies on an LDB database (itself based on TDB), which makes it easily searchable using LDAP-like queries.

SSSD uses a custom storage format for Kerberos tickets, which can be converted to standard CCACHE files using this script.

Usage

root@kitploit:~
$ apt install python3-construct python3-ldb
$ python3 kcmdump.py /var/lib/sss/secrets/secrets.ldb
$ ls -lh
-rw-r--r--. 1 root root 1.3K Jan 1 00:00 user_0.ccache
-rw-r--r--. 1 root root 1.8K Jan 1 00:00 kcmdump.py
$ KRB5CCNAME=user_0.ccache klist
$ KRB5CCNAME=user_0.ccache ssh [email protected]@target.corp.local
Download Tool