Sunday, December 19, 2010

A Password Method that Creates Strong Passwords and Requires Little Memorization

Random Substitution Method (RSM)

Step 1
Pick a phrase that your friends would not think you’d pick. It can be from a song, movie, book, etc. Memorize it. Example: [1]
                making every kind of silence
Use only the first three letters of each word of your phrase. They make the letter string that Step 2 will modify into passwords for each of your accounts.  Your letter string should be at least 8 letters long.
                makevekinofsil

Step 2
Write out by hand the name of each account followed by the max length allowed for that account if it has a limit[2], then eight underlines. Example:
CapitalOne15                     ___   ___   ___   ___   ___   ___   ___   ___
If your phrase has more than eight words, write in more underlines – but don’t write in less. A minimum of eight underlines increases the number of possible phrases an attacker will have to try.
Now write in Random Substitutions to create a password. Use characters from all the types of characters allowed by the site:[3]
CapitalOne15                     E         5        fS      R      2  d    Kj        37    ­­  qL
The underline for the first word has an E and then two spaces: that means you will replace the first letter of the first word of your phrase with E and then enter the next two letters unchanged. Repeat for every word in your phrase. Our phrase has five words, so we don’t use the last three underlines.    
That’s all there is to it. Memorize your phrase, don’t write it down. Write down the information in Step 2 for each login and keep it in your wallet.

Login
When you want to login to Capital One, follow Steps 1 and 2. Watch:
                                                          mak   eve     kin    of       sil
CapitalOne15                   E         5        fS      R      2  d    Kj        37    ­­  qL

Becomes…
                                                          Eak   e5e   kfS   oR   2id


Of course you enter it without spaces, like this... 

                                                         Eake5ekfSoR2id


After you have typed your password, before you push enter, check your paper for the max password length for that account. You know the total number of letters your phrase turns into. If an account has a character limit, subtract it from the total number of letters in your phrase. The difference is the number of times you need to hit ‘backspace’ before hitting ‘enter’.

Changing Your Password
When you need to change your password for an account, you don’t need to memorize a new phrase. All you have to do is write out new Random Substitutions.
Old:       CapitalOne15                     E         5        fS      R      2  d    Kj        37    ­­  qL
New:     CapitalOne15                      J        7W    673   ___    F  H   P3       ­­D      ­­Oc  

Old password:          Eake5ekfSoR2id
New password:        mJke7W673ofFiH

Probability 
The Random Substitution Method (RSM) allows maximum probability. It’s probability is the same as the probability allowed by a particular site's password guidelines. For example, the probability of the Capital One guidelines the example fits into above is 1 out of 100,000,000,000,000,000,000,000,000 possible passwords.[4] At a guess rate of 10,000,000 guesses per second.[5], brute forcing a password with this probability would take 158 billion years.

Other Advantages
Using RSM, you can easily comply with any password guidelines your IT department dreams up without a headache. All you have to do when required to change your password is change the Random Substitutions.
Writing down passwords is often the only way to remember them.[6] Written down passwords can be used by anyone who can get access to them. Unlike writing down the whole password, using RSM forces anyone who wants to use your passwords to first figure out your phrase. While you still must protect your passwords, this will help keep your friends and co-workers out.  
Keep a copy of your Random Substitutions in a secure place. That way, if your wallet is ever stolen, you can go home and change your passwords.

By Daniel Lindstrom © 12/19/2010


[1] Hadley – Perfect http://www.hedleyonline.com/ I was listening while writing. No, that’s not the same as drinking while driving.
[2] CapitalOne.com: “8-15 characters, not case sensitive: Aa-Zz, 0-9, (-), and (_) only; at least 1 letter and 1 number no spaces.” Password guidelines current as of 12/18/10.
[3] Same as footnote 2.
[4] 10*52*64^13=1E26


2 comments:

  1. Have you (or someone else) done any work to determine the ideal number of substitutions to make for each password? In the examples you provide, you're replacing 13 characters, for example. Obviously the more you replace, the more closely your password resembles the substitution key; fewer replacements results in a password more closely resembling the original phrase string.

    Just curious....

    ReplyDelete
  2. Thanks for the comment. I took the liberty of reposting your question and my answer in a blog as the detailed answer got long.

    The short answer is:

    For each login, look at that site's password length guidelines. In the Capital One example, the length is 8-15 characters. The number of Random Substitutions should equal the smaller number.

    ReplyDelete