Trying to figure out the patterns of passwords. I'm new to ML, but was inspired by PassGan, a ML tool that generates sample passwords. The likelihood is low enough that it's not very useful for password cracking, but I'd like to take the technique and use it for password discovery.
My intention is to train a model to understand what a password is, then compare that against words found on services (Slack, File Shares, etc.) to detect instances of people being sloppy and leaving passwords where they shouldn't be.
My core assumptions are that passwords are far from random, and if analyzed appropriately many share a common pattern(s). This pattern could be used to identify and hopefully eradicate poor operational security practices.
Ideally, I'd like to choose something that evaluates words and provides a probability of that word being a password, then given the likely hood, I could have the application make some kind of a decision.
Is there an algorithm or model that works well for this kind of task? It's single dimensional data, I'd assume unsupervised learning is really the only approach.