Slashdot Mirror


Passwords - 64 Characters, Changed Daily?

isepic writes "It seems over the past few years that the password requirements have changed - each time making it even more difficult to crack. My company just changed its password requirements from 180 days down to 90 for most servers and from a minimum of six characters up to eight. So, as parallel processing computer clusters gain in power according to Moore's law, how are we expected to change them in the next 2-10 years --- and how often?"

"Hopefully by then, there will be a better way, but I really don't want to have to change my password every 8 hours, and not be able to use the last 5 I've used, AND have them each be some awfully long and complex string of hard-to-remember ASCII codes just because a computer can crack a 32 char password in 10 seconds.

What are your thoughts? Do you think one day we'll be SOL, or do you think something 'better' may come (e.g. biometric scanners on every keyboard and or mouse and or monitor - etc.)"

42 of 645 comments (clear)

  1. Just do what I do by thammoud · · Score: 5, Funny

    password1 password2 password3 password4 based on the month that you are in.

    1. Re:Just do what I do by Anonymous Coward · · Score: 5, Funny

      just checked, you don't do that.

    2. Re:Just do what I do by Abcd1234 · · Score: 5, Insightful

      This should be modded insightful. These kind of forced password-change policies do one thing only: encourage people to choose easy-to-remember (and hence, likely easy-to-crack) passwords. Even worse, it encourages people to write their passwords down and store them in what is probably a very insecure location! So, in the end, you get only a marginal increase in security.

      Frankly, I think the best bet is to encourage users to just select longish (>8 characters), complex password (no word substrings, more than just alphabetic characters, etc), but don't force them to change it. After all, brute-forcing a complex, 8-character password is still a fairly difficult process.

    3. Re:Just do what I do by Antique+Geekmeister · · Score: 4, Informative

      What you are describing encourages universal passwords. Unfortunately, it's not merely password cracking that is a real risk. It's password sniffing, via keyboard monitoring or packet sniffing over unencrypted protocols like FTP, POP3 or IMAP or HTTP without SSL turned on, etc. People are terrible about changing them, and they do tend to rotate them among a very small number of passwords to deal with this.

      Universal sign-on systems such as Kerberos can help this, by encorcing decent password selection and then making it available everywhere without permitting re-use of that small set of passwords. But it's a bear to set up in a small or mixed environment.

      Also, for the original article's point: the difficulty of cracking passwords goes up nominally as the exponent of the password length, the complexity of verifying them or encrypting with keys goes up linearly or maybe as N*logN with the length of the key. Selecting a long enough password, and system keys, to defeat this kind of brute force cracking is quite trivial to do. But getting it adopted, especially in the face of federal policies that prohibit the export of encryption technologies as a "material of war", has crippled encryption techniques for years.

      Get the federal government out of that line of regulation and hardware based encryption to protect your logins from man-in-the-middle password sniffing will be quite cheap, even possible to incorporate as a part of common motherboards and network cards. Until then, though, we're going to have a real risk of people using the same password for years and having it sniffed and used by crackers.

    4. Re:Just do what I do by Pharmboy · · Score: 4, Interesting

      What I never got was this: If I have a password, and no one else ever knows it, AND I check my logs so I know if someone is trying to hack my account, what good does changing it anyway?

      As soon as I see at attempt to hack it, I would change it. Until then, I have a great password that my wife doesn't even know about. If someone tries to hack it on Wednesday, it doesn't matter that I changed it on Monday, or last year: It will still take more time to crack than will pass before I check the logs.

      --
      Tequila: It's not just for breakfast anymore!
    5. Re:Just do what I do by Megor1 · · Score: 3, Interesting

      Since password cracking relies on having access to the password hash, simply make the hashes an order of magnitude longer to calculate.

      --
      Everyone that disagrees with me is a paid shill
    6. Re:Just do what I do by kv9 · · Score: 3, Funny

      in soviet russia passwords change *you*.

    7. Re:Just do what I do by Harald+Paulsen · · Score: 4, Informative

      The problem isn't having a policy, or having a boss tell you to use safe password. The problem is that the boss somehow feels he should be exempt from the password policy. Ironically enough, the people in command that wears a suit usually has the simplest password. They also have access to most of the sensitive information.

      --
      Harald
    8. Re:Just do what I do by Pharmboy · · Score: 4, Informative

      The point is that a moving target is harder to hit.

      Stastically, that is false for a one time event. If someone today is trying to break your 14 character password, it doesn't matter when you changed it.

      And vacation? I check my servers every day on vacation. Only takes a few minutes to ssh in. Yes, its vacation, but I would rather check the logs for 5 minutes a day, than spend 7 days recovering from a fatal problem that might have been averted.

      --
      Tequila: It's not just for breakfast anymore!
    9. Re:Just do what I do by gotacap · · Score: 4, Funny

      You know, I had a strong password generator on my website for a while, but then I realized that most people paranoid enough to use a generator would be paranoid that I would be logging all strong password requests and then trying the results to get into the machines I found in my server logs... It's still there, I use it myself, but I don't tell my users where it is anymore.

    10. Re:Just do what I do by arminw · · Score: 4, Insightful

      Some systems do not allow any more tries at logging in after a few unsuccessful attempts. After an hour or so, the systems resets and gives the user another chance to try to get in. If that also fails, the user must call the system admin. This process goes a long way toward thwarting multiple access atempts.

      None of this helps of course if the user's system is breached and some sort of keyboard sniffer is active.

      --
      All theory is gray
    11. Re:Just do what I do by robosmurf · · Score: 3, Insightful

      The problem with a strict lock-out policy is that it leaves you vulnerable to a denial-of-service attack. All an attacker needs to do is guess your password a few times to cause a lot of trouble.

    12. Re:Just do what I do by Drachemorder · · Score: 4, Funny
      "On one occasion I chose 123456"

      That's amazing! I have the same combination on my luggage!

  2. Good news for hacker by usefool · · Score: 5, Funny

    Wasn't there a joke that if users are required to change password every second, hackers just need to keep on trying the same password until users themselves changed to match the hacker's password?

    --
    Uselessful technology (Air-Charged
    1. Re:Good news for hacker by ryanvm · · Score: 4, Funny

      Wasn't there a joke that if users are required to change password every second, hackers just need to keep on trying the same password until users themselves changed to match the hacker's password?

      I doubt it - jokes are supposed to be funny.

  3. One time use? by slykens · · Score: 5, Informative

    SecurID and its like are your friends.

    While you maintain a reasonably secure password you're not logging in without the token.

  4. Use a CueCat by Safety+Cap · · Score: 5, Insightful
    , as each one has a unique serial number encoded into its output. When you're ready to log in, plug in your :Cat, and use it to scan that barcode that only you know is the right one.

    Even if some one steals your :Cat, they can't get in, and if someone steals your copy of "Learning the VI Editor" that you've used for the barcode without stealing your :Cat, again they can't get in.

    --
    Yeah, right.
  5. Length & Considerations by Oculus+Habent · · Score: 5, Funny

    I could see a password of substantial length made of a phrase. Say, 64+ characters, changed every two weeks might be fine. Especially if you have a well-read workforce, which might enjoy making note of significant passages.

    You might want to [optionally] be able to use the first letter of each word as a "shorthand" password for re-verification moments, because typing in a 64+ character phrase everytime you lock your station could become tedious if you are away from your desk often.

    Alternately, if you have a number of services at work that should have different password, some sort of secure password comparison tool could be employed to at least ensure that employees aren't using the same password for everything. Not sure about an architecture for that, though.

    --
    That what was all this school was for... to teach us how to solve our own problems. -- janeowit
  6. Pointless by jolyonr · · Score: 5, Insightful

    The harder a password is to remember, and the more frequently it is changed, the more likely people are going to forget it, and resort to insecure tricks such as writing it on a post-it note stuck to their monitor.

    I can't see any good reason to change passwords frequently, other than to limit the damage done from a succesful intrusion. And then, is one month any worse than three months? All your data is 0wned regardless.

    --


    Please read my Canon EOS tech blog at http://www.everyothershot.com
  7. Exponential growth problem by Kufat · · Score: 5, Insightful

    Every time you add another character onto an alphanumeric, case-sensitive password, the total number of possibilities is multiplied by 62. CPU throughput takes a very long time to increase 62-fold. So going from 8 to 10 characters increases the passwordspace 3844 times, and that's assuming only uppercase, lowercase, and numbers.

    There's nothing to worry about until quantum computers can handle problems like this AND are available by someone you don't want accessing your data.

    1. Re:Exponential growth problem by einhverfr · · Score: 3, Interesting

      You are probably reasonably right on the basic probabilistic mathematics of this approach. However, I still take issue with your conclusions because:

      1) Trojan back-doors could be used to covertly do a distributed crack on a password. Thus you have to deal both with the exponential growth in processor power *and* the exponential growth of the internet. So Moore's law gets beat.

      2) I find that about 8 characters is the best for my general security. If use 8 character passwords, I use a lot of mnemonic devices. An 8 character password can then contain shortened versions of two strings which are far longer and are more likely to contain non-alphanumeric characters (!,@, &, #, etc). If I get longer passwords, I tend to write out the phrases which although they tend to be in obscure languages still allow for an avenue of dictionary attack which might be otherwise difficult if I am using contractions.

      IMO, the future of security is in public key authentication. In this model, you will carry with you a key AND have to provide somesort of passcode to unencrypt the key. This passcode could be biometric, passphrase-based, etc. They key can be lengthened transparently to the user so that they don't have to be aware of it, or replaced when lost.

      --

      LedgerSMB: Open source Accounting/ERP
  8. Bad assumption by Phexro · · Score: 5, Insightful

    You're assuming we won't have a better, harder-to-crack hashing mechanism by then.

    This has been a process of incremental improvements - first crypt(), then shadow passwords, then MD5 hashes, and so on. We will certainly have something harder to crack in the future.

    1. Re:Bad assumption by grumbel · · Score: 4, Insightful

      Shadow passwords aren't a hashing mechanism, all they do is store the hashes in a file that the users can't read. Just Unix permissiosn, pretty trivial after all.

      About crypt() vs MD5, I don't think that they make much different when it comes to cracking actual passwords, all MD5 does is allow you to use longer passwords, it doesn't enforce it by any means. If your password is in a dictonary, no matter what hashing algo you use, I can brute force it in a few seconds.

      The only advantage a good hashing algorithm provides is that it ensures that you can't from a given hash calculate back the original password by other means than brute force. Brute force, however, will always work, no matter what algorithm you use. The only way to make a more secure password, is to use a better password, a better hash algo won't help a damn.

  9. Re:Biometrics by wkitchen · · Score: 4, Funny

    Oh, that'll be just great. Chopping off fingers and plucking out eyeballs will be the new definition of "social engineering".

  10. Re:Simple... by XaXXon · · Score: 3, Insightful

    Oops, except that's often now how the password is cracked. You don't try the password on the machine over and over, you get a hold of the encrypted password and check against that. This is much faster, as it involves no network activity for each try, only getting a hold of the encrypted password information.

    The solution to the problem you are trying to solve is already in place on most systems, anyhow. When you fail to provide the correct password, you are punished by having to wait some amount of time (usually seems to be about 3 seconds). This way, instead of being able to test millions of combinations a minute, you can try 20. This way, your "friend" can't lock you out by typing your password wrong 3 times. Practical jokes are commonplace where I work.. don't need to make it easier on 'em..

  11. Normal users by Skiron · · Score: 5, Interesting

    In my opinion as a Sysadmin, it doesn't matter what device[s] you bring in to try to 'secure' users and passwords.

    They still write them down, still 'share' (if somebody hasn't got access to a file share the other has, but he/she wants them to look at something - (they don't even *think* about the option to copy it to a public share to do it!) - then they give out passwords.

    Plus normal users forget them after a few days of work anyway - I reset usually around 5 passwords Monday mornings after people had two days off work - plus average 10 a week afterwards on a user base of 150.

  12. Anderson's formula. by Anonymous Coward · · Score: 5, Informative
    How long does it take? Use Anderson's formula to figure it out.

    T = N/(PG)

    In this:
    1. T: The time units needed to guess the password
    2. G: The guess rate, or the number of attempts to guess the password in a single time unit
    3. P: The probability you want that the password is guessed. (Or use '1-P' to go the other direction.
    4. N: The number of possible passwords, usually A^l, where
      1. A: Alphabet used for passwords. E.g., There are 96 printable ascii characters often used in passwords. Or maybe its case insensitive, so subtract 26.
      2. l: The number of characters in the minimum password.


    So, let's say you want only a 10% chance your password is guessed. And you estimate an attacker can perform 2,000,000 guesses per second with his drone army. The passwords are from an alphabet of 26 characters, and are a minimum of 4 characters long. That means... (tappity, tappity on the TI calculator)... Um, that means you'll be hacked instantly. :)

    Read more on Anderson's formula by googling. :)
  13. Re:Biometrics by Blastrogath · · Score: 5, Insightful

    If you use biometric data for your passwords then you can never change your passwords. The first time you use a cracked login terminal you've lost security forever, unless you have surgery.

    --
    "The price good men pay for indifference to public affairs is to be ruled by evil men." -Plato
  14. Re:Simple... by gl4ss · · Score: 4, Insightful

    it's restricted on most/all systems already that way and besides the throughput limitations on bruteforcing a live system would prove quite troublesome.

    generally you would sniff the datastream and try to crack that I imagine(because that's the only thing you could do).

    (insecure software with flaws proves the biggest security problem for the foreseeable future anyways, there's always possibility of using single use passwords which are _already_ in use on sensitive/important systems)

    --
    world was created 5 seconds before this post as it is.
  15. makemeapassword.com by mgkimsal2 · · Score: 4, Interesting

    Not a perfect system, but is something which can help people come up with something more secure than 'password' while incorporating numbers and punctuation marks.

    makemeapassword.com

  16. Perhaps make it more user friendly.. by t_allardyce · · Score: 5, Funny

    Windows XPs new password policy manager: "Im sorry, that password has already been taken by user john, please choose another"

    --
    This comment does not represent the views or opinions of the user.
  17. I don't see the problem at all! by termos · · Score: 5, Funny

    Luckily I have Gator for remembering all my passwords!

    --
    Note to self: get smarter troll to guard door.
  18. Hmm by Erwos · · Score: 3, Insightful

    I was reading a textbook about this very issue just a couple days ago at work (I was bored, and there it was in lost and found pile). Don't recall the name, but it was basically about biometrics for security purposes.

    The book stated near the very beginning that, basically, passwords are useless because the really secure ones are hard to remember, and that little problem causes people to do other things that mostly destroy the security of a "secure" password anyways (such as the infamous post-it note on the monitor).

    The book's solution was fairly common-sense: implement different layers of security. That is to say, a password on its own is bad, but a token+password (say, USB memory stick with accesss code) can actually be a lot better.

    The best stated was "bio+token+password". Seems reasonable to me, at least.

    -Erwos

    --
    Plausible conjecture should not be misrepresented as proof positive.
  19. Something you know, you have, and you are by jncook · · Score: 4, Interesting

    To quote Bruce Perens, if security really matters, you should base it on three things:

    * Something you know (password or PIN)
    * Something you have (badge or bank card)
    * Something you are (thumbprint, hand scan, voice check)

    This is how CounterPane security locks up its own colo facility. (Of course, they also tape everybody coming in, and there's a live guard who knows your face.)

    Each of these components can be relatively weak, but in combination they are quite strong. For instance, you could probably let people choose any password they wanted as long as you required, say, their badge and a thumbprint to log on.

    For backwards compatibility, write a macro that generates random strings of characters the maximum length accepted by the legacy system to which you must log on. Encrypt the list of passwords, and use the method above to decrypt the password archive as needed.

    James

  20. Yeah right... by imsabbel · · Score: 3, Insightful

    Biometrix is just like passwords, just you cant change your fingerprint/iris scan/voice pattern after someone has exploided/stolen/copied yours.
    Great.

    --
    HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
  21. Moores law needn't require longer passwords... by sanermind · · Score: 3, Interesting

    As computers get faster, simply use more difficult and time consuming algorithims to verify passwords. If you use a verification step that takes 256 times a long [even for the same old 6-character password], when computers get eight times faster, they are worse off then they were before in trying to brute-force the password.

    --

    ---
    the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
  22. sweet someone should tell my company by BeerSlurpy · · Score: 3, Interesting

    Where to begin?

    First off, the root password for the main application server is a straight alpha password that hasnt changed in about 5 years and is known by most of the operators and developers.

    Second, there are trust relationships between most of the hardware in the company such that gaining root on one server effectively grants root on all of them.

    Thirdly, many of the important infrastructure pieces (routers and stuff) have been given identical admin passwords that are well known (this was at least recently changed for the routers).

    Fourth, much of the software we use to perform infrastructure functions is hopefully out of date, such that there are many published root level vulnerabilities for nearly every service running on our network.

    And we are a medical device company under FDA regulation. No audit has ever turned up a single discrepency. How's that for reassuring?

  23. Re: Or what I do by E_elven · · Score: 3, Interesting
    I need to start cut-n-pasting this. There should be a topic for Passwords.

    Use visual passwords rather than mnemonic ones. My standard-prescribed solution is to teach this to all new users; I set them next to a computer and give them some strips of coloured paper (not necessary but helpful with complete newbs). They'll get the gist fast and be able to be pretty savvy shortly -and changing a password is exceedingly easy.
    1. Pick a letter. Any letter will do but to start with you may want to take the first letter of your name.
    2. On the bottom row of the keyboard, pick any key from Z to M.
    3. Using the paper strips, draw your letter on the keyboard so that you start from your starting key (Z to M)
    4. Look at the keys under your strip. That's your password.

    Here's a visualization for the letter A starting from the key V:
    = 1 2 3 4 5 6 * 8 9 0 - = \
    == q w e r t * * i o p [ ]
    === a s d f * * * k l ; '
    ==== z x c * b n * , . /
    The plain password is: vgy7ujmh
    Using alternate shift: VgY7UjMh or vGy&uJmH

    This can easily be expanded to even more secure ones by adding more letters. A good scheme for variant passwords is to use something that identifies with the realm -for example for Slashdot, a password could be made from letters 'slash' (on a dvorak here, sorry):

    qJkU.#4%kUp$xBjUy^fDbIxBmHf^7*xIy%mHg&f

    Variation made easy. Try it.
    --
    Marxist evolution is just N generations away!
  24. MOD THIS GUY UP! by theLOUDroom · · Score: 3, Insightful

    This raises another good point, where if you're properly controlling the methods to access whatever it is you're protecting, you can cut off someone that's trying to brute force (ie, wrong password 3 times in a row). Then your length isn't going to matter as much.

    That's the key here folks.

    Passwords should only be used in circumstances where you can control the number of attempts.

    If you CANNOT cut off access after N failed attempts, you should be using a full-fledged lots-of-bits crypto key. An example would be using PGP on an email.

    A lot of people are looking at the situation in terms of Moore's law. Moore's law should have no effect on how many logins per minute you allow me to attempt. That is a config option.

    In sort, it doesn't matter how fast your computer is. If ebay only lets you try 3 logins per minute, that's all you get.
    If you're letting people try 1,000+ password per minute on your system, THAT's the problem, not that some guy only had a 6 character random password as opposed to 8.

    So to sum up:
    Passwords should not be used in case where somebody else is going to have >100 attempts to break it. At that point you should be using >1KB crypto keys.
    This is not a password policy problem, it's human somewhere not understanding what passwords are good for.

    --
    Life is too short to proofread.
  25. Re:Yes and No...Better solution:Assign the passwor by slash.dt · · Score: 5, Insightful
    There is a MUCH better way to do this. First off, instead of letting users choose their own passwords, assign them for each person. This lets you, the administrator to be entirely in control of all passwords on the system. With this control, you can maintain a master list of all users and passwords securely in either encrypted/secure files (with no permissions to anyone but root). This also allows you to force good passwords onto users. They do not need to be impossible, but something like 2 three letter words or partial words (chosen at random) with 2 other ASCII characters are usually not too hard for people to remember, but are still tough enough to make it hard to guess with password word lists.

    There is so many things wrong with this that it is hard to know where to start. I'll just chose a couple.

    First, forcing passwords on users is dumb. What might be an easy combination of words and number s for you to remember might be completely impossible for me to remember if the word means nothing to me. And if I can't remember I am going to write it down. It is much better to allow people to chose their own passwords to that they can make a combination that they can remember.

    Second, accountability for your password goes out the window when someone else knows and controls the password. If the adminstrator knows all the passwords, they can logon as the user without the user knowing. Alternatively, the user can suggest that the administrator did the action which the user is being accused of.

    More intelligent password checking rules is a much simpler and more effective solution.

  26. Here goes my Karma.... by lewko · · Score: 3, Funny

    Note to mods...these 'In Soviet Russia' remarks are never, ever funny. Even if you remember a time

    In Soviet Russia, time remembers you!

    --
    Do you or your partner snore? - Visit www.snoring.com.au
  27. Re:decent compromise between security and convenie by RetroGeek · · Score: 3, Interesting

    First of all, they could put their passwords on post-its in the locking drawers most desks have. Almost as convenient, but MUCH more secure.

    You mean those locking drawers where the key number is stamped on the lock?

    I usually place a sticky note with a ramdom number of characters under my keyboard. It looks like a password, and may even BE someones password.

    But it is not MY password and is it not close to my password. This entertains whoever is trying to break into my computer for hours....

    --

    - - - - - - - - - - -
    I am a programmer. I am paid to produce syntax not grammar. Deal with it.