BlackHat USA 2026 Arsenal: KeyChecker

BlackHat USA 2026

05 August 2026

Date: Wednesday, August 5 | 4:00pm-5:00pm
Event: BlackHat USA 2026 Arsenal
Location: Arsenal Station 1, Business Hall
Track: Vulnerability Assessment
Presenter: Anant Shrivastava

KeyChecker is a CLI tool to fingerprint SSH private keys and identify which Git hosting accounts they unlock. In incident response and red team work, finding a private key is common, but scoping impact is slow and manual. KeyChecker automates the two primitives defenders and attackers both use: safe SSH handshakes that can reveal the mapped username, and read-only git ls-remote probes that confirm whether a key can access a target repo.

The tool performs local key intelligence first, supporting OpenSSH, PEM, and DER formats, detecting key type (ed25519, rsa, ecdsa, dsa), key size, passphrase protection, fingerprints (SHA256 and MD5), and useful metadata from key comments. It then validates the key across multiple providers including GitHub, GitLab, Bitbucket, Codeberg, Gitea, and Hugging Face, extracting usernames where possible, and optionally using a GitHub token for organization discovery.

KeyChecker also supports repository discovery with a wordlist and configurable concurrency, giving a clear blast radius report like “this key unlocks these private repositories.” It is designed for authorized assessments, runs locally, and avoids write operations.

Resources

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

Presented at the Black Hat USA 2026 Arsenal on Wednesday, August 5, 2026 (4:00pm to 5:00pm, Arsenal Station 1 in the Business Hall, Vulnerability Assessment track), the session demonstrated KeyChecker, a CLI tool that fingerprints SSH private keys and identifies which Git hosting accounts they unlock. The deck is a nine-page scaffold around a live terminal demonstration: context on DVCS providers and access methods, the SSH behaviors the tool automates, and the CLI’s provider coverage. The premise is that finding a private key during incident response or red team work is common, but scoping its impact is slow and manual, and the session showed that scoping automated.

Summary

The session opened with grounding rather than theory. DVCS systems were defined as distributed version control systems, with Github, Gitlab, Bitbucket, Codeberg, Gitea, Forgejo, and Huggingface named as the landscape the tool targets. Access methods were sorted into username and password (deprecated or discouraged), API keys as control plane access, and SSH keys as data plane access, drawing on the presenter’s earlier writing about decoupling control and data planes. That split sets up the tool’s niche: API-key triage is already covered by the companion tool GhNavigator, and KeyChecker handles the SSH-key half.

The scenario slide put the audience in a familiar position: a key has been found, on disk or in a repository. Two QR codes presented the pair of tools that handle the two halves of that discovery. From there the session explained the two primitives the tool automates. The first is the long-documented SSH username disclosure: connecting to GitHub’s SSH port with a valid key makes the server greet the mapped account by name, a behavior shown in a terminal capture during the deck. The second is repository discovery: with an SSH config alias, a wordlist of project names, and the target’s public organization list, git ls-remote attempts reveal which private repositories the key can read, a manual recipe the presenter had published as “SSH Enumeration Continues” before packaging it into the tool.

The demonstration itself occupied most of the hour, with the DEMO slide showing the CLI’s help output as a map of what the audience was about to see. The tool self-describes as an SSH private key fingerprinting and Git hosting repository discovery tool. Local analysis runs first: the key file is parsed for type, size, passphrase protection, fingerprints, and metadata from key comments, including hostnames that hint where the key was generated. Validation then checks the key against a configurable provider list spanning mainstream platforms and regional ones (gitee, coding, and codeup in China, gitflic in Russia), extracting the mapped username where the provider returns one, with an optional GitHub token unlocking organization discovery. Repository discovery mode takes a wordlist of candidate repository names and probes them with read-only git ls-remote requests at configurable concurrency, defaulting to 10 parallel connections and a 5 second timeout. The result is a blast-radius report of exactly which repositories a key unlocks.

The closing infographic framed the value for both audiences. For red teams, the tool converts a stolen key from an artifact into a specific narrative of compromised repositories and organizations. For blue teams, it offers proactive validation of key exposure to build realistic threat models, and it highlights a telemetry blind spot: standard logs record little about failed or successful SSH attempts with stolen keys, which is precisely the gap the tool demonstrates. The session ended with the project repository and contact details.

Key Themes

Notable Points

Notable Quotes

“SSH Key based attack tool for DVCS Systems”

“Control Plane Access”

“Data Plane Access”

“You found a key”

“Everyone knows that if you connect to ssh port of github via your valid ssh key you get your username”

“SSH Enumeration Continues”

“SSH private key fingerprinting and Git hosting repository discovery tool”