Skip to content

Tool for visualizing password usability and security metrics

Notifications You must be signed in to change notification settings

barionleg/DataVis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Authentication Equation

A tool for visualizing the convergence of usability and security in text-based passwords

Note: if you are looking for the tool as it appeared in the HCII 2015 proceedings, you will find it here: ..DataVis/tree/HCII-2015

Explore the tool here

Overview

The USV (Usability and Security Visualizer) is a data visualization tool originally built to explore password usability and security metrics. The visualization tool integrates various measurements of passwords, enabling exploration of the intersection of their usability and security components.

The tool is based on insight from previously gathered data from usability studies conducted at the United States National Institute of Standards and Technology. It also leverages web technologies to flexibly display data sets computed from sets of passwords.

The USV is intented to visualize multivariate data (rows of data with different properties describing qualities of each row in columns).

In a generic sense, the tool provides a mechanism for visualizing the same groups of metrics for rows of data in 2 different states or phases. The rows are organized symmetrically do display the the The example given is password permutation, or rearranging the passwords so that all characters are grouped by each character type (letters, numbers, symbols). Password permutation is intended to optimize the efficiency for password entry on a mobile device.

How to use the tool

You can either use the tool online here or download it for offline use.

In order to use the tool online, you will have to create a dataset (Step B. below).

A. What you'll need:

  • A .txt file list of the passwords to be visualized. For example (newline separated):
{x!_ZZX0
n5Yw;_o@
79IrVyE}
,SJ#c15E
.+1F2Hs/
$oX<D$2R
7:OMx9kL
b>ANoN1i
woP9Uo[=
64#$FOpN
uZ-$q8@)
n]P27{D(
|Vf99LVn

B. Create your dataset

  1. Move your list of passwords (.txt file) to DataVis/dataGen/input/.
  2. Open DataVis/dataGen/USG.py in a code/text editor.
  3. Scroll to line 63, type in the filename of your list of passwords, and save the file:
################ Change input file here #######################
# Open file with passwords stored
i = open('input/example.txt', 'r')
  1. Open the Command Line (PC) or Terminal (Mac).
  2. Navigate (using the cd command) to the folder in which USG.py is contained (DataVis/dataGen).
  3. Run USG.py using the command Python3 USG.py
  4. Enter a filename for the new dataset to be created when the program prompts you:
Enter the name of the output file: 
  1. The new dataset should now appear in the DataVis/dataGen/output folder.
  2. Place your data in the /data folder for easy access.

C. Visualize your dataset

  1. If you have downloaded the tool, open index.html using a server (localhost is a good option) or go to usnistgov.github.io/DataVis/. If you don't have a server, you can also run the code without such an environment by following these instructions:
  2. Close Chrome if it is open (make sure all background operations of chrome have ceased.
  3. Open Chrome from the Command Line/Terminal:
Mac 
```
$ open /Applications/Google\ Chrome.app --args -allow-file-access-from-files
```
PC

  - cd to where chrome.exe is located before you run this command. The file path is probably similar to `C:\Program Files (x86)\Google\Chrome\Application\`

```
>> chrome.exe --allow-file-access-from-files
```
  1. Open index.html

Disclaimer

“The United States Department of Commerce (DOC) GitHub project code is provided on an ‘as is’ basis and the user assumes responsibility for its use. DOC has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any claims against the Department of Commerce stemming from the use of its GitHub project will be governed by all applicable Federal law.Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.”

About

Tool for visualizing password usability and security metrics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.7%
  • JavaScript 36.2%
  • CSS 2.1%