7 ms·
I have to say that I loved his other post on the TSA's ridiculous password policy... http://xato.net/passwords/worst-password-policy-ever http://xato.net/passw
by chris_wot 15y ago
I have to say that I loved his other post on the TSA's ridiculous password policy...
http://xato.net/passwords/worst-password-policy-ever http://xato.net/passwords/worst-password-policy-ever
Their policy is:
1. Minimum password length is eight characters.
2. Passwords must contain at least one of each of the following: one alphabetic uppercase, one alphabetic lowercase, one numeric, and one special character.
3. Passwords shall not contain any two identical consecutive characters (example: 22apples, 14588904).
4. Passwords may contain no more than two identical consecutive characters in any position from the previous password.
5. Passwords shall not contain any dictionary word.
6. Passwords shall not contain any proper noun or the name of any person, pet, child, or fictional character.
7. Passwords shall not contain any employee serial number, Social Security number, birth date, phone number, or any information that could be readily guessed about the creator of the password.
8. Passwords shall not contain any simple pattern of letters or numbers, such as "qwerty" or "xyz123".
9. Passwords shall not be any word, noun, or name spelled backwards or appended with a single digit or with a two-digit "year" string, such as 98xyz123.
10. Pass phrases, if used in addition to or instead of passwords, should follow these same guidelines.
11. Passwords shall not be the same as the User
12. Password length will be selected to provide a level of protection commensurate to the value or sensitivity of the resources or data it protects, but not less than eight characters.
You just can't make this stuff up!
- 13rules 15y agoWow ... their online security rivals their airport security!!
- chris_wot 15y agoWith all these restrictions, I wonder how far they are reducing the possible key space? Some of these suggestions actually remove a number of permutations - like for instance you can't put in two digit years - this must remove a HUGE number of combinations! Then you remove ALL the dictionary words, all proper names, all the TSAs serial numbers, all reversed words - well, that's gotta make cracking an 8 letter password easier :-)
- DanBC 15y agoBut most of those will be common passwords and already included on password lists. password72 is not more secure than password. username84 is not more secure than username.
- chris_wot 15y agoNot quote my point. What I'm saying is that you make an assumption that 8 letters are used due to the ridiculous complexity requirements. Then you get all the possible combinations of letters and numbers for 8 character passwords. Then you remove all dictionary words and reversed words, all dictionary words (and reversed words) ending with a year, all combinations with repeats, all serial numbers and known patterns (like ABC). Then you further remove from this list all the combinations that don't have mixed case, a number and a special character. I'm interested in knowing how many possible passwords are left?
- stcredzero 15y agoGetting your hands on the 1300000 common passwords and not allowing them would be a good start.
- chris_wot 15y agoDo you not see the irony of talking about 1.3 million individual common passwords?
- DanBC 15y agoNo. Using 94 possible characters for an 8 character password means there are 6.09568939 × 10^15 possible passwords. Removing even 20million means you still have 6.09568937 × 10^15.
- stcredzero 15y agoYes, and seeing the message that the password is already in a database used by cracking software should give users pause.
- m8urn 15y agoYep, they won't even let you use "fingernail clippers" as a password.
- DanBC 15y agoWhat, precisely, is bad about that list? There's a problem that people when faced with a dialogue box asking them for a password will be unable to think of a strong password, but that's solved by giving them some form of auto generation. Writing passwords down is not a security problem, if the slip of paper is kept safely.
- chris_wot 15y agoThe link I provided gave some pretty good reasons, I thought.
- quadhome 15y agoThe linked article addresses what, precisely, is bad about that list on a point by point basis. It's good reading! Most web browsers now have built-in password managers. Here's to hoping that loop is soon closed with password generation!
- Tangurena 15y agoBecause when it comes to changing passwords, it would take me about 45 minutes to come up with a new password that met the rules and had a reasonable chance of me remembering it. I took to writing them down as I was trying to come up with something, and keeping the paper handy for a few days because I'd frequently forget the passwords by lunchtime and lock myself out of the system. One thing to remember about these rules is that there are some other ones not publicized. All you know when it refuses to take your password is that it says "password doesn't match" instead of "password doesn't meet the rules." I got some different error message when I tried using Russian obscenities, but I forget that error message.
- billybob 15y agoMy favorite bit: "Passwords may contain no more than two identical consecutive characters in any position from the previous password". How would they know that unless they have your previous password in plaintext? Security Fail
- chris_wot 15y agoNot to mention they know the names of your pets :-)
- NLips 15y agoThey could store a hash of your old password, along with 40 hashes, one for each character, hashed against the hash of the old password. e.g. 'this_is_my_password" => hash1 'hash1_t' => hash2 'hash1_h' => hash3 etc This way, when you enter the first character of a new password, they can hash it against your old password, see if it creates hash2 and refuse permission to use the new password. Hopefully this is the same way as websites can ask for only selected characters from a password when you log in.
- teraflop 15y agoThat's functionally equivalent to storing the password in plaintext. The individual letter hashes would be trivial to reverse.
- NLips 15y agoIt would be _easier_ - you still need to know the hashing algorithm and salt. I suppose since it's the TSA, they may use encryption and an HSM instead of hashes.
- Robin_Message 15y agoKerckhoffs's principle: A cryptosystem should be secure even if everything about the system, except the key, is public knowledge. So you can assume the algo is public and the salt too (assume someone has a dump of your source code and your database - how do you keep the salt secret? You can't. This is the case where all the effort to protect passwords and use strong hashes is aimed at.) The solution of "enter your old password" when you enter the new one is simple and doesn't compromise security.
- Tangurena 15y agoThis looks exactly like the Dept of Energy password guidlines when I worked there. For item #5, you should be aware that they check for dictionary words of 3 or more letters, both forwards and backwards. I'm not sure what dictionaries they were using, but I found that most of the Japanese, Russian and Finnish words/phrases that I frequently pick from were forbidden.
- kibwen 15y ago5. Passwords shall not contain any dictionary word. Bear with me as I close my eyes and hammer wantonly on my keyboard: kjhjks;dfijwefasdkfj Aha! First try, and I've already generated an insecure password containing five dictionary words. Until vowels are banned as well, I fear our national security is in peril.
- civilian 15y agodid you actually check this against the unix dictionary? I only found: ['as', 'fa', 'fi', 'we']
- kibwen 15y agoNo, just sort of boggle-eyed it. I was counting "fas" as well, as the plural of "fa".
- willthames 15y agoWhat about 'i' and 'a'? So that's six (or seven including 'fas')
- civilian 15y agoOh-- the unix dictionary includes every letter as it's own word for some reason. So I required words to be length of >= 2. Probably my mistake.
- kahawe 15y ago> My first thought here is that if you are going to have such an extreme password policy, you could at least set the minimum password length to ten or even twelve characters Well, and then in reality you have a couple of those old 40 ton host systems lurking in the basement and all its former tamers are long gone, everyone is just glad it is still running and somehow it only allows exactly 8-char passwords with characters and digits only... and somehow it still is one of the most fundamental systems of what you are doing on a day-to-day basis so if you are introducing a central password policy and maybe even a central identity management (which I assume those huge departments are using) then you have to make the bitter decision of accommodating for the "old timer" systems as well or leaving out the proverbial 20% of your systems that see 80% use each day...