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
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.
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 .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
- Python 3. Note that the code will not run properly earlier versions (Python 2, etc.).
- If you don't have Python installed, download it here.
- Chrome browser (updated).
- Code/text editor (Sublime 2 works well and is free).
- Move your list of passwords (.txt file) to
DataVis/dataGen/input/
. - Open
DataVis/dataGen/USG.py
in a code/text editor. - 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')
- Open the Command Line (PC) or Terminal (Mac).
- Navigate (using the
cd
command) to the folder in whichUSG.py
is contained (DataVis/dataGen
). - Run
USG.py
using the commandPython3 USG.py
- Enter a filename for the new dataset to be created when the program prompts you:
Enter the name of the output file:
- The new dataset should now appear in the
DataVis/dataGen/output
folder. - Place your data in the
/data
folder for easy access.
- 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: - Close Chrome if it is open (make sure all background operations of chrome have ceased.
- 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
```
- Open
index.html
“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.”