PassT5: A Transformer-Based Deep Learning Model for Credential Tweaking Attacks
Dhuha Alharbi, Abdullah Alshahrani, Adel Alshamrani
Key points
From the paper's conclusion- We present PassT5, which, to our knowledge, is the first application of the pre-trained T5 encoder–decoder Transformer to credential tweaking, framed as a sequence-to-sequence task.
Abstract
Users frequently reuse a password across websites with only minor modifications, so the compromise of one password lets an adversary guess the others by predicting the modification. Existing credential-tweaking models achieve limited accuracy. We present PassT5, which, to our knowledge, is the first application of the pre-trained T5 encoder–decoder Transformer to credential tweaking, framed as a sequence-to-sequence task. We fine-tune T5-Small on password-transformation pairs rebuilt from the 4iQ leak, keeping only pairs that represent a genuine modification, and measure the Success Rate at K (SR@K), the percentage of tweaked passwords guessed within the top-K candidates. Across three training runs under a user-level 70/15/15 split, PassT5 recovers 44.69% (±0.32) of passwords at K=10, 56.51% (±0.11) at K=100, and 62.80% (±0.39) at K=1000. An input-agnostic popularity baseline reaches only 0.68%, 1.40%, and 2.02% at K=10, 100, and 1000, and a stronger input-dependent rule-based baseline 36.72%, 40.72%, and 41.26%, indicating that PassT5 learns password-specific transformations beyond both frequency and hand-crafted rules. The highest SR@1000 previously reported on 4iQ is 23.52% (PassTrans); because samples and splits differ, this is a same-dataset rather than controlled comparison, and on an unfiltered all-pairs benchmark PassT5 scores 18.36% versus PassTrans’s 23.52% at K = 1000, so its much larger tweak-only margin reflects the well-posed task rather than a universal model advantage. Encoder–decoder Transformers therefore model credential tweaking effectively and can inform stronger password defences.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PassGPT+: Leveraging Linguistic Priors for Password ModelingarXiv · 2026
- FGPass: Feature-guided targeted password guessing with gated fine-tuning strategy.Neural networks : the official journal of the International Neural Network Society · 2026
- PassCluster: A New Segmented Password Cracking ModelACM Transactions on Privacy and Security · 2026
- TRIDENT-SE: Translation-Divergence and Intent Graph Learning for Cross-Lingual Phishing and Social Engineering Detection in Arabic–English CommunicationACM Transactions on Asian and Low-Resource Language Information Processing · 2026
- CredLeakBench: Evaluating Credential Leakage and Recovery in LLM AgentsarXiv · 2026
- BBPE‐AE: A Byte‐Pair Encoding–Based Auto Encoder for Password GuessingSecurity and Communication Networks · 2026