CogPIE (COGNITIVE PATTERN INFERENCE ENGINE): MOTOR DE INFERÊNCIA DE PADRÕES COGNITIVOS PARA GERAÇÃO DIRECIONADA DE CANDIDATOS A SENHAS
DOI:
https://doi.org/10.56238/arev8n11-066Palavras-chave:
Segurança de Senhas, Viés Cognitivo, Adivinhação de Senhas, Cadeias de Markov, PCFG, Ataques Direcionados, WordlistXPL-ForgeResumo
A segurança de senhas permanece como um dos desafios mais críticos em segurança da informação. Este artigo apresenta o CogPIE (Cognitive Pattern Inference Engine), um algoritmo híbrido de cinco camadas que modela vieses cognitivos para gerar candidatos direcionados de senhas. O CogPIE combina expansão semântica de tokens pessoais, regras de transformação cognitiva baseadas em vieses psicológicos documentados, um sistema híbrido de ranqueamento por cadeias de Markov e PCFG, pontuação de entropia prática e filtragem sensível a políticas. Nossa avaliação experimental abrange dados sintéticos, comparativos com 10 ferramentas externas e validação com 13.487 credenciais reais de vazamentos. O CogPIE atinge 89,7% de cobertura média em benchmarks WLF (10 personas), 51,38% case-insensitive contra credenciais reais e 75,95% hit@1000 com corpus GPU de 1M. Adicionalmente, demonstramos que a integração do CogPIE ao WordlistXPL-Forge (github.com/mrhenrike/WordlistXPL-Forge) elevou a cobertura média do framework de 39,97% para 89,7%, representando um salto de +124,4% relativo. Nossos resultados reforçam que cofres de senhas com geração criptograficamente aleatória, ou algoritmos de permutação não baseados em padrões humanos, permanecem a única defesa confiável contra ataques direcionados. Código-fonte: github.com/mrhenrike/CogPIE e PyPI.
Downloads
Referências
[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. 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. DOI: https://doi.org/10.1145/322796.322806
[3] Baddeley, A. D. (1986). Working Memory. Oxford University 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. DOI: https://doi.org/10.1109/SP.2012.49
[6] Bonneau, J. (2012). 'Statistical Metrics for Individual Password Strength.' Security Protocols Workshop, LNCS 7622. DOI: https://doi.org/10.1007/978-3-642-35694-0_10
[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. DOI: https://doi.org/10.14722/ndss.2014.23357
[10] Dell'Amico, M. and Filippone, M. (2015). 'Monte Carlo Strength Evaluation.' ACM CCS. DOI: https://doi.org/10.1145/2810103.2813631
[11] Dürmuth, M., et al. (2015). 'OMEN: Faster Password Guessing Using an Ordered Markov Enumerator.' ESSoS. Repo: github.com/RUB-SysSec/OMEN. DOI: https://doi.org/10.1007/978-3-319-15618-7_10
[12] Florêncio, D. and Herley, C. (2007). 'A Large-Scale Study of Web Password Habits.' WWW 2007. DOI: https://doi.org/10.1145/1242572.1242661
[13] Forget, A., et al. (2008). 'Improving Text Passwords Through Persuasion.' SOUPS 2008. DOI: https://doi.org/10.1145/1408664.1408666
[14] Golla, M. and Dürmuth, M. (2018). 'On the Accuracy of Password Strength Meters.' ACM CCS. DOI: https://doi.org/10.1145/3243734.3243769
[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. DOI: https://doi.org/10.1007/978-3-030-21568-2_11
[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, S. M. 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, n. 3, p. 400-401, 1987. DOI: https://doi.org/10.1109/TASSP.1987.1165125. 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. DOI: https://doi.org/10.1145/1978942.1979321
[22] Li, Y., Wang, H., and Sun, K. (2017). 'Personal Information in Passwords and Its Security Implications.' IEEE TIFS, 12(10). DOI: https://doi.org/10.1109/TIFS.2017.2705627
[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. DOI: https://doi.org/10.1109/SP.2014.50
[25] MAZUREK, M. L. 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. 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. DOI: https://doi.org/10.1037/h0043158
[29] Narayanan, A. and Shmatikov, V. (2005). 'Fast Dictionary Attacks on Passwords.' ACM CCS. DOI: https://doi.org/10.1145/1102120.1102168
[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. Acesso em: 29 out. 2026. DOI: https://doi.org/10.6028/NIST.SP.800-63B-4
[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. DOI: https://doi.org/10.1109/SP.2019.00056
[33] Pasquini, D., et al. (2021). 'Improving Password Guessing via Representation Learning.' IEEE S&P. DOI: https://doi.org/10.1109/SP40001.2021.00016
[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. Pré-publicação: arXiv:2306.01545. Disponível em: https://arxiv.org/abs/2306.01545. Acesso em: 29 out. 2026.
[35] Shay, R., et al. (2010). 'Encountering Stronger Password Requirements.' SOUPS 2010. DOI: https://doi.org/10.1145/1837110.1837113
[36] Sweller, J. (1988). 'Cognitive Load During Problem Solving.' Cognitive Science, 12(2), pp. 257-285. DOI: https://doi.org/10.1207/s15516709cog1202_4
[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. DOI: https://doi.org/10.1145/2858036.2858546
[40] Veras, R., et al. (2014). 'On the Semantic Patterns of Passwords.' NDSS. DOI: https://doi.org/10.14722/ndss.2014.23103
[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.' ACM CCS. DOI: https://doi.org/10.1145/2976749.2978339
[44] Wang, D., et al. (2016). 'The Next Domino to Fall: Empirical Analysis of User Passwords across Services.' ACM CCS.
[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. Disponível em: https://www.usenix.org/conference/soups2016/technical-sessions/presentation/wash. Acesso em: 29 out. 2026.
[46] Weir, M., et al. (2009). 'Password Cracking Using Probabilistic Context-Free Grammars.' IEEE S&P. DOI: https://doi.org/10.1109/SP.2009.8
[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. Disponível em: https://arxiv.org/abs/2607.19586. Acesso em: 29 out. 2026.
[50] PAKER, D.; OZDEL, S.; KASNECI, E. Understanding Password Preferences, Memorability, and Security through a Human-Centered Lens. arXiv:2604.19410, 2026. Disponível em: https://arxiv.org/abs/2604.19410. Acesso em: 29 out. 2026. DOI: https://doi.org/10.1145/3797246.3803036
[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, v. 25, n. 9, artigo 1303, 2023. DOI: https://doi.org/10.3390/e25091303. 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, n. 5, p. 25-31, 2004. DOI: https://doi.org/10.1109/MSP.2004.81. DOI: https://doi.org/10.1109/MSP.2004.81