Semantic Prince - PRINCE with logic in words order
#1
Hi all,

Classic PRINCE is a good tool but not efficient for me - it glues words in blind dictionary order. I added some logic to the word order. My tool trains on RockYou passwords and makes chains with logic - the combinations people really use come first.

Example: with dictionary {i, love, you, cat, car, soup} old PRINCE gives ilove, iyou, icat... in list order. Mine gives iloveyou first and soupcar last, because nobody picks soupcar.

It cracks about 2x more than classic PRINCE at the end of the run, and at 1 million guesses about 3x more. This surprised me when I measured it. Numbers (clean cross-dump tests, the model never saw the target passwords, same 5000-word dictionary for both):

linkedin (4.36M): x1.61 at 100K, x3.08 at 1M, x1.57 at 10M guesses, final 199,602 cracked at 43M vs classic PRINCE 104,797 at 100M.

rockyou (validation): x2.24 at 100K, x3.24 at 1M, x1.63 at 10M, final 150,078 at 43M vs 72,484.

Real stack test (replay dictionary first, then the generator), raw LinkedIn dump 5.09M: 809,052 cracked at ~54M guesses, classic PRINCE gets 705,256.

Made for slow hashes (wallet formats, scrypt, high iteration PBKDF2) and big salted lists, where every guess costs time. For fast hashes masks and rules are still faster. It pipes into hashcat: spg pairs ... | hashcat -r best64.rule -m ... hashes.txt

Limits: no leetspeak (use rules for that), no Cyrillic or other non-ASCII unless it was in the training data, words it never saw need a --personal list.

Repo: https://github.com/quasarwatch/semantic-prince - the release includes the trained model, no training needed to try it.

I want your feedback on this tool and to hear if you see potential in it.
Reply


Messages In This Thread
Semantic Prince - PRINCE with logic in words order - by quasarwatch - Yesterday, 05:46 AM