A Password Strength Classifier Using Supervised Machine Learning

Having a strong password is one of the basic protections one can have against identity theft and hacking. Yet, data gathered about annual security breaches suggests that accounts being compromised due to weak passwords amounts to about 61% of all security breaches. Polls and surveys conducted in first world countries show us that a vast majority of users do not frequently reset their passwords, reuse passwords across multiple sites and keep weak passwords to begin with. This scenario will be even worse in countries like ours where technical knowledge among the general public is limited. Through this work, we aim to make a password classifier which would tell the users the strength of their entered passwords, thereby, highlighting any potential weaknesses in their passwords. Here, we have used multiple classifier models to test the strength of passwords including Logistic Regression, Naive Bayes, KNN, Random Forest and XGBoost. Their performance metrics are tested and a maximum accuracy of 0.9933 is achieved along with a Matthew's Correlation Coefficient of 0.99. XGBoost is selected a the best-performing classifier for this case. With highest value of accuracy (0.9933), Matthew's Correlation Coefficient (0.99) and AUC (0.9953). To cater the need for strong passwords, we also proposed a password generator that generates strong password.

Authors

Institutions

Publication Details

Published
2024-08-20
DOI
https://doi.org/10.1109/ibcast61650.2024.10876915
Primary Topic
User Authentication and Security Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Password Strength Classifier Using Supervised Machine Learning

Shibli Nisar, Nida Khalid, Alexander Neergaard Zahid
User Authentication and Security Systems
article

A Password Strength Classifier Using Supervised Machine Learning

Shibli Nisar, Nida Khalid, Alexander Neergaard Zahid
article en

Abstract

Having a strong password is one of the basic protections one can have against identity theft and hacking. Yet, data gathered about annual security breaches suggests that accounts being compromised due to weak passwords amounts to about 61% of all security breaches. Polls and surveys conducted in first world countries show us that a vast majority of users do not frequently reset their passwords, reuse passwords across multiple sites and keep weak passwords to begin with. This scenario will be even worse in countries like ours where technical knowledge among the general public is limited. Through this work, we aim to make a password classifier which would tell the users the strength of their entered passwords, thereby, highlighting any potential weaknesses in their passwords. Here, we have used multiple classifier models to test the strength of passwords including Logistic Regression, Naive Bayes, KNN, Random Forest and XGBoost. Their performance metrics are tested and a maximum accuracy of 0.9933 is achieved along with a Matthew's Correlation Coefficient of 0.99. XGBoost is selected a the best-performing classifier for this case. With highest value of accuracy (0.9933), Matthew's Correlation Coefficient (0.99) and AUC (0.9953). To cater the need for strong passwords, we also proposed a password generator that generates strong password.

Institute of Space Technology (PK), National University of Sciences and Technology (PK)
Quality Education
Openalex Percentile: Top 56%
User Authentication and Security Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Password Strength Classifier Using Supervised Machine Learning — Shibli Nisar, Nida Khalid, et al. · (2024) | TGRS Research Map | TGRS