CogPIE (COGNITIVE PATTERN INFERENCE ENGINE): COGNITIVE PATTERN INFERENCE ENGINE FOR TARGETED GENERATION OF PASSWORD CANDIDATES
DOI:
https://doi.org/10.56238/sevened2026.041-027Keywords:
Password Security, Cognitive Bias, Password Guessing, Markov Chains, PCFG, Targeted Attacks, WordlistXPL-ForgeAbstract
Password security remains one of the most critical challenges in information security. This paper presents CogPIE (Cognitive Pattern Inference Engine), a five-layer hybrid algorithm that models cognitive biases to generate targeted password candidates. CogPIE combines semantic expansion of personal tokens, cognitive transformation rules grounded in documented psychological biases, a hybrid ranking system based on Markov chains and Probabilistic Context-Free Grammars (PCFG), practical entropy scoring, and policy-aware filtering. Our experimental evaluation encompasses synthetic datasets, comparisons with 10 external tools, and validation against 13,487 real-world leaked credentials. CogPIE achieves an average coverage of 89.7% in WLF benchmarks (10 personas), a case-insensitive coverage of 51.38% against real-world credentials, and a Hit@1000 rate of 75.95% using a GPU-trained corpus of one million passwords. Furthermore, we demonstrate that integrating CogPIE into WordlistXPL-Forge (github.com/mrhenrike/WordlistXPL-Forge) increased the framework's average coverage from 39.97% to 89.7%, representing a relative improvement of 124.4%. Our findings reinforce that password vaults employing cryptographically secure random password generation, or password generation algorithms that do not rely on human-derived patterns, remain the only reliable defenses against targeted password-guessing attacks.
References
[ 1] ABDRABOU, Y.; ABDELRAHMAN, Y.; KHAMIS, M.; ALT, F. Think Harder! Investigating the Effect of Password Strength on Cognitive Load during Password Creation. In: CHI Conference on Human Factors in Computing Systems Extended Abstracts, 2021. ACM, 2021. DOI: https://doi.org/10.1145/3411763.3451636.
[2] Adams, A. and Sasse, M. A. (1999). 'Users Are Not the Enemy.' CACM, 42(12), pp. 40-46.
[3] Baddeley, A. D. (1986). Working Memory. OxfordUniversity Press.
[4] Bitwarden (2023). 'World Password Day Survey.' Bitwarden Blog.
[5] Bonneau, J. (2012). 'The Science of Guessing: Analyzing an Anonymized Corpus of 70 Million Passwords.' IEEE S&P.
[6] Bonneau, J. (2012). 'Statistical Metrics for Individual Password Strength.' Security Protocols Workshop, LNCS 7622.
[7] Castelluccia , C. and Dürmuth , M. (2012). 'Adaptive Password-Strength Meters from Markov Models.' NDSS.
[8] Cloudflare (2024). 'Leaked Credentials in Authentication Traffic.' Cloudflare Radar Annual Report.
[9] Das, A., et al. (2014). 'The Tangled Web of Password Reuse.' NDSS.
[10] Dell’Amico , M. and Filippone, M. (2015). 'Monte Carlo Strength Evaluation.' ACMCCS.
[11] Dürmuth , M., et al. (2015). 'OMEN: Faster Password Guessing Using an Ordered Markov Enumerator.' ESSoS . Repo: github.com/RUB- SysSec /OMEN .
[12] Florêncio, D. and Herley, C. (2007). 'A Large-Scale Study of Web Password Habits.' WWW 2007.
[13] Forget, A., et al. (2008). 'Improving Text Passwords Through Persuasion.' SOUPS 2008.
[14] Golla, M. and Dürmuth , M. (2018). 'On the Accuracy of Password Strength Meters.' ACMCCS.
[15] Google/Harris Poll (2019). 'Online Security Survey.' Google Blog.
[16] Hitaj , B., et al. (2019). ' PassGAN : A Deep Learning Approach for Password Guessing.' ACNS. Repo : github.com/brannondorsey/PassGAN .
[17] IBM (2023). 'Cost of a Data Breach Report 2023.' IBM Security/ Ponemon Institute.
[18] Imperva (2010). 'Consumer Password Worst Practices.' ADC Report.
[19] KATZ, SM Estimation of Probabilities from Sparse Data for the Language Model Component of a Speech Recognizer. IEEE Transactions on Acoustics, Speech, and Signal Processing, v. 35, no. 3, p. 400-401, 1987. DOI: https://doi.org/10.1109/TASSP.1987.1165125.
[20] Kelley, P. G., et al. (2012). 'Guess Again: Measuring Password Strength by Simulating Cracking.' IEEE S&P.
[21] Komanduri, S., et al. (2011). 'Of Passwords and People.' CHI 2011.
[22] Li, Y., Wang, H., and Sun, K. (2017). 'Personal Information in Passwords and Its Security Implications.' IEEE TIFS, 12(10).
[23] Li, Z., et al. (2019). 'Large-Scale Empirical Study of Chinese Web Passwords.' USENIX Security.
[24] Ma, J., et al. (2014). 'A Study of Probabilistic Password Models.' IEEE S&P.
[25] MAZUREK, ML et al. Measuring Password Guessability for an Entire University. In: ACM SIGSAC Conference on Computer & Communications Security (CCS), 2013. New York: ACM, 2013. p. 173-186. DOI: https://doi.org/10.1145/2508859.2516726.
[26] Mebus, M. (2010). 'CUPP: Common User Passwords Profiler.' Repo : github.com/Mebus/cupp .
[27] Melicher, W., et al. (2016). 'Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks.' USENIX Security.
[28] Miller, G. A. (1956). 'The Magical Number Seven, Plus or Minus Two.' Psychological Review, 63(2), pp. 81-97.
[29] Narayanan, A. and Shmatikov, V. (2005). 'Fast Dictionary Attacks on Passwords.' ACMCCS.
[30] TEMOSHOK, D.; FENTON, J.; CHOONG, Y.-Y.; LEFKOVITZ, N.; REGENSCHEID, A.; GALLUZZO, R.; RICHER, J. Digital Identity Guidelines: Authentication and Authenticator Management. NIST Special Publication 800-63B-4. Gaithersburg: National Institute of Standards and Technology, 2025. DOI: https://doi.org/10.6028/NIST.SP.800-63b-4. Accessed on: 29 Oct. 2026.
[31] Oesch, S. and Ruoti, S. (2020). 'That Was Then, This Is Now: Security Evaluation of Browser-Based Password Managers.' USENIX Security.
[32] Pal, B., et al. (2019). 'Beyond Credential Stuffing: Password Similarity Models Using Neural Networks.' IEEE S&P.
[33] Pasquini, D., et al. (2021). 'Improving Password Guessing via Representation Learning.' IEEE S&P.
[34] RANDO, J.; PEREZ-CRUZ, F.; HITAJ, B. PassGPT : Password Modeling and (Guided) Generation with Large Language Models. In: European Symposium on Research in Computer Security (ESORICS), 2023. Pre- publication : arXiv:2306.01545. Available at: https://arxiv.org/abs/2306.01545. Accessed on: Oct. 29, 2026.
[35] Shay, R., et al. (2010). 'Encountering Stronger Password Requirements.' SOUPS 2010.
[36] Sweller , J. (1988). 'Cognitive Load During Problem Solving.' Cognitive Science, 12(2), pp. 257-285.
[37] Ur, B., et al. (2015). 'Measuring Real-World Accuracies in Modeling Password Guessability .' USENIX Security.
[38] Ur, B., et al. (2015). 'I added! at the End to Make It Secure: Observing Password Creation in the Lab.' SOUPS 2015.
[39] Ur, B., et al. (2016). 'Do Users Perceptions of Password Security Match Reality?' CHI 2016.
[40] Veras, R., et al. (2014). 'On the Semantic Patterns of Passwords.' NDSS.
[41] Verizon (2023). 'Data Breach Investigations Report (DBIR).' 16th Edition.
[42] Wang, D. and Jian, G. (2014). 'Zipf's Law in Passwords.' IACR ePrint 2014/631.
[43] Wang, D., et al. (2016). 'Targeted Online Password Guessing: An Underestimated Threat.' ACMCCS.
[44] Wang, D., et al. (2016). 'The Next Domino to Fall: Empirical Analysis of User Passwords across Services.' ACMCCS.
[45] WASH, R.; RADER, E.; BERMAN, R.; WELLMER, Z. Understanding Password Choices: How Frequently Entered Passwords Are Re-used across Websites. In: Symposium on Usable Privacy and Security (SOUPS), 12., 2016, Denver. Proceedings [...]. Berkeley: USENIX Association , 2016. p. 175-188. Available at: https://www.usenix.org/conference/soups2016/technical-sessions/presentation/wash. Access Published on : October 29, 2026.
[46] Weir, M., et al. (2009). 'Password Cracking Using Probabilistic Context-Free Grammars.' IEEE S&P.
[47] Wheeler, D. L. (2016). ' zxcvbn : Low-Budget Password Strength Estimation.' USENIX Security. Repo : github.com/dropbox/zxcvbn .
[48] Xie, X. (2020). 'Modified TarGuess -I: Adding Keyboard Patterns.' Master's Thesis.
[49] CROWE, E.; GHOSH, P.; KUMAR, S.; SCHLEGEL, R.; WARD, R.; GU, G. Examining User Behavior and Cognitive Biases in Personal Password Security. arXiv:2607.19586, 2026. Available Available at : https://arxiv.org/abs/2607.19586. Accessed Published on : October 29, 2026.
[50] PAKER, D.; OZDEL, S.; KASNECI, E. Understanding Password Preferences, Memorability, and Security through a Human-Centered Lens. arXiv:2604.19410, 2026. Available Available at : https://arxiv.org/abs/2604.19410. Accessed Published on : October 29, 2026.
[51] YU, W.; YIN, Q.; YIN, H.; XIAO, W.; CHANG, T.; HE, L.; NI, L.; JI, Q. A Systematic Review on Password Guessing Tasks. Entropy, vol. 25, no. 9, article 1303, 2023. DOI: https://doi.org/10.3390/e25091303.
[52] YAN, J.; BLACKWELL, A.; ANDERSON, R.; GRANT, A. Password Memorability and Security: Empirical Results. IEEE Security & Privacy, v. 2, no. 5, p. 25-31, 2004. DOI: https://doi.org/10.1109/MSP.2004.81.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 André Henrique de Oliveira Santos, Davi dos Santos Chaves, Eduardo Paulo Marques Raiol, Julio de Souza Correia, Bhrandon Borges da Cruz, Gustavo Gobi Martinelli, Marcio Patrick Medeiros Cruz

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.