All work

Project 02 , Security & systems

Credential Correlation Visualizer

Scores how strongly a password correlates with its username, to show users a risk that online password-strength checkers miss.

Year
Stack
Python · tkinter · Hadoop MapReduce · Apache Spark · Machine learning

TL;DR

I built a tool that scores how much a password gives away about its username. Online checkers grade a password alone, so one that just repeats the username can still rate "Strong". It uses machine learning and about 120 million real credentials I compiled.

Key points

  • Compiled ~120,000,000 real-world credentials from various sources, then cleaned and formatted them into a dataset.
  • Featurized the credentials with custom algorithms and processed them on a cluster with Hadoop MapReduce and Apache Spark.
  • Applied machine learning to score how strongly a password correlates with its username.
  • Built a tkinter GUI that marks every pattern, number and character a username and password share.

Problem

People often judge an account’s security by checking how strong its password is, and a simple “password checker” search is the first trap for inexperienced users. I tested a password that simply repeated its username: one online checker rated it “Strong”, and another estimated it would take a computer about 53 million years to crack. Tools like these grade the password in isolation, so they tell users that credentials like these are secure.

Approach

Measure the correlation between the username and the password directly. Showing users what their password gives away about their username helps them shed the biases they bring to creating credentials.

What I built

  • Dataset. About 120,000,000 real-world credentials, compiled from various sources, then cleaned and formatted.
  • Features. Custom algorithms to featurize every credential pair.
  • Big data. Processing on a computing cluster with Hadoop MapReduce and Apache Spark.
  • Model. Machine learning to score the correlation between a username and its password.
  • Visualizer. A tkinter GUI where you enter a username and password and see every shared pattern, number, capital, lowercase and special character called out.
Parker Jackim Columbia, MD
Write an email