Need Better Password Cracking - Throw Out the Alphabet
Where
Main Stage
DEF CON 34
Duration
44 min
Shows how a Markov password generator that models GPT-2 subword tokens instead of characters outguesses OMEN and Hashcat masks on leaked and enterprise-style passwords.
Summary
Gorenflo starts from the limits of character-based password guessing. Hashcat masks, wordlists, and rules work well until a password breaks the expected pattern, such as several capitalized words in a passphrase, and then attackers fall back to brute force. He argues that people type passwords in predictable chunks, so the unit being modeled matters more than the model itself.
His tool, tokenov, trains a trigram Markov model on RockYou, but splits passwords into tokens from GPT-2's tokenizer instead of single characters. The talk benchmarks it against John the Ripper, Hashcat, OMEN, and PCFG at fixed candidate budgets. Early CPU-only runs favored tokenov, but he admits the comparison undersold Hashcat's GPU throughput. Under time-boxed tests with best66 and enterprise-style filters (8+ characters, three of four character classes), tokenov came out ahead. He also notes that a much smaller tokenizer trained on password data may work better than the general-purpose one.
He closes with the practical side: a bootstrap command, generation piped into Hashcat, password scoring by rarity bits, seeding from OSINT wordlists, checkpoint resume, and model files that bundle their tokenizer. His takeaway is that character count stops being a reliable strength measure when a long password reduces to a few tokens. Rules help in most cases, except with very slow hashes. The tool is young research, and he invites others to build their own models.
Materials
Related talks
Adversary Village·23 min
Nikos Vourdas
Shows how disabled and deleted Active Directory objects keep dangerous permissions and recoverable data, with open-source tools to find and abuse them.
PasswordsCon·43 min
Jeff Deifik
Walks through cracking hundreds of millions of leaked NTLM password hashes using CPU rigs, custom rules and curated wordlists.
Track 1·49 min
Mike Manrod · Ezra Woods
Shows how AutoHotkey scripts slip past EDR tools and how defenders can detect and block them.


