Saved in:
Bibliographic Details
Main Authors: Mo, Jiazhi, Kuang, Hailu, Li, Xiaoqi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16439
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912892301869056
author Mo, Jiazhi
Kuang, Hailu
Li, Xiaoqi
author_facet Mo, Jiazhi
Kuang, Hailu
Li, Xiaoqi
contents As network security issues continue gaining prominence, password security has become crucial in safeguarding personal information and network systems. This study first introduces various methods for system password cracking, outlines password defense strategies, and discusses the application of machine learning in the realm of password security. Subsequently, we conduct a detailed public password database analysis, uncovering standard features and patterns among passwords. We extract multiple characteristics of passwords, including length, the number of digits, the number of uppercase and lowercase letters, and the number of special characters. We then experiment with six different machine learning algorithms: support vector machines, logistic regression, neural networks, decision trees, random forests, and stacked models, evaluating each model's performance based on various metrics, including accuracy, recall, and F1 score through model validation and hyperparameter tuning. The evaluation results on the test set indicate that decision trees and stacked models excel in accuracy, recall, and F1 score, making them a practical option for the strong and weak password classification task.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16439
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Password Strength Detection via Machine Learning: Analysis, Modeling, and Evaluation
Mo, Jiazhi
Kuang, Hailu
Li, Xiaoqi
Cryptography and Security
As network security issues continue gaining prominence, password security has become crucial in safeguarding personal information and network systems. This study first introduces various methods for system password cracking, outlines password defense strategies, and discusses the application of machine learning in the realm of password security. Subsequently, we conduct a detailed public password database analysis, uncovering standard features and patterns among passwords. We extract multiple characteristics of passwords, including length, the number of digits, the number of uppercase and lowercase letters, and the number of special characters. We then experiment with six different machine learning algorithms: support vector machines, logistic regression, neural networks, decision trees, random forests, and stacked models, evaluating each model's performance based on various metrics, including accuracy, recall, and F1 score through model validation and hyperparameter tuning. The evaluation results on the test set indicate that decision trees and stacked models excel in accuracy, recall, and F1 score, making them a practical option for the strong and weak password classification task.
title Password Strength Detection via Machine Learning: Analysis, Modeling, and Evaluation
topic Cryptography and Security
url https://arxiv.org/abs/2505.16439