arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.09492cs.CRcs.AI
收藏

基于随机森林的高精度评分框架增强密码安全性

Enhancing Password Security Through a High-Accuracy Scoring Framework Using Random Forests

Universiti Kuala Lumpur(吉隆坡大学);New York University(纽约大学)

Muhammed El Mustaqeem Mazelan, Noor Hazlina Abdul, Nouar AlDahoul

AI总结:

针对传统静态规则密码强度检测器易被绕过的问题,本文提出结合混合特征工程的随机森林密码评分框架,在66万真实密码数据集上达99.12%准确率,兼顾精度与可用性,可提供可操作安全反馈。

摘要:

密码安全在网络安全中发挥着关键作用,但依赖字符类型要求等静态规则的传统密码强度检测器往往存在缺陷。这类方法很容易被“P@ssw0rd1!”这类常见密码模式绕过,会给用户带来虚假的安全感。为解决这一问题,我们基于包含超66万个真实世界密码的数据集,对比随机森林(RF)、支持向量机(SVM)、卷积神经网络(CNN)、逻辑回归四种机器学习模型,实现并评估了一套密码强度评分系统。我们的核心贡献是一种新型混合特征工程方法,可捕捉标准指标遗漏的细微漏洞。我们引入了多种特征:经黑客字符(leetspeak)归一化的香农熵以评估真实随机性、键盘滑动与连续序列模式检测、字符级TF-IDF n元语法以识别泄露密码数据集中被频繁复用的子串。我们的随机森林模型表现最优,在留出测试集上达到了99.12%的准确率。关键的是,随机森林模型的可解释性支持特征重要性分析,为开发可向用户提供具体可操作反馈的安全工具提供了清晰路径。本研究弥合了预测准确率与实际可用性之间的差距,得到的高性能评分系统不仅能降低基于密码的漏洞风险,还能帮助用户做出更明智的安全决策。

英文摘要:

Password security plays a crucial role in cybersecurity, yet traditional password strength meters, which rely on static rules like character-type requirements, often fail. Such methods are easily bypassed by common password patterns (e.g., 'P@ssw0rd1!'), giving users a false sense of security. To address this, we implement and evaluate a password strength scoring system by comparing four machine learning models: Random Forest (RF), Support Vector Machine (SVM), a Convolutional Neural Network (CNN), and Logistic Regression with a dataset of over 660,000 real-world passwords. Our primary contribution is a novel hybrid feature engineering approach that captures nuanced vulnerabilities missed by standard metrics. We introduce features like leetspeak-normalized Shannon entropy to assess true randomness, pattern detection for keyboard walks and sequences, and character-level TF-IDF n-grams to identify frequently reused substrings from breached password datasets. our RF model achieved superior performance, achieving 99.12% accuracy on a held-out test set. Crucially, the interpretability of the Random Forest model allows for feature importance analysis, providing a clear pathway to developing security tools that offer specific, actionable feedback to users. This study bridges the gap between predictive accuracy and practical usability, resulting in a high-performance scoring system that not only reduces password-based vulnerabilities but also empowers users to make more informed security decisions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑