Slashdot Mirror


Scientists Develop New Method To Improve Passwords

An anonymous reader writes "Scientists at Max-Planck-Institute for Physics of Complex Systems in Dresden, Germany have developed a novel method to improve password security. A strong long password is split in two parts. The first part is memorized by a human. The second part is stored as a CAPTCHA-like image of a chaotic lattice system."

53 of 104 comments (clear)

  1. RTA? by del_diablo · · Score: 2

    Well, It indeed silly. What is stopping us from just doing normal bruteforce?

    1. Re:RTA? by pushing-robot · · Score: 4, Informative

      That's the one with the $5 wrench, right?

      --
      How can I believe you when you tell me what I don't want to hear?
    2. Re:RTA? by del_diablo · · Score: 2

      No, from the article i got the idea was:
      1. Split password into 2 pieces, a normal password and a captcha part
      2. Now if you bruteforce, you could miss on the second part, meaning bruteforcing will just take a bit more time
      Meaning that "standard bruteforce" is still valid.

    3. Re:RTA? by Haedrian · · Score: 1

      Standard bruteforce was valid?

      There are [Dictionary]^[PasswordLength] possible combinations.

      If I write an 8 character password with the keys I can see on my keyboard at the moment, you get - 6,095,689,385,410,816 permutations.

      Using my 'very quick' calculations which are more than probably not very accurate- if using a 3.5 GHz processor which can hash and check each password in a single cycle (which is a very funny proposition indeed) - it'll take you 20 days. If the system upgrades to a 9 character password, that increases the choices and time by a factor of the Dictionary size, which is a bit less than 100.

    4. Re:RTA? by AC-x · · Score: 2

      Captcha image is encoded using the user's password. To brute force you'd either need to check the captcha images for each password combination or brute force the whole string (password+captcha) which is twice as long so will take an order of magnitude longer.

      There are plenty of other key stretching techniques so not sure why this is any better tho.

    5. Re:RTA? by Sky+Cry · · Score: 1

      A bot can't keep a list of checked passwords, because it's impossible to tell whether the password failed because of the static part or the part which is changing with every attempt (the captcha). Therefore there's no guarantee that your bruteforce will succeed in a certain time, that is after a certain number of attempts.

    6. Re:RTA? by nanospook · · Score: 2

      If your password is to a system that is worth the effort, then it's likely going to lock out after 3 tries.. I realize you are speaking generically, but unless you can subvert that feature, you can't try more than N times without invalidating the account..

      --
      Have you fscked your local propeller head today?
    7. Re:RTA? by zippthorne · · Score: 2

      So.. they've invented.. password salting?

      --
      Can you be Even More Awesome?!
    8. Re:RTA? by Haedrian · · Score: 1

      I am assuming the worst case scenario, in which an attacker has copied the passwords and usernames from the database server, and is trying to break the hash.

      if there are 3 tries, then there's absolutely no point in putting the CAPTCHA thing suggested by the article, since it'll be a human trying them out.

    9. Re:RTA? by the_other_chewey · · Score: 1

      ...or brute force the whole string (password+captcha) which is twice as long so will take an order of magnitude longer.

      So 1,000,000 is an order of magnitude more than 1,000? Is has twice as many zeros...
      You have a weird definition for "order of magnitude".

    10. Re:RTA? by hweimer · · Score: 2

      There are plenty of other key stretching techniques so not sure why this is any better tho.

      You can only see the CAPTCHA text when you enter the correct password, a wrong password will just lead to random noise. Their claim is now that the presence of the CAPTCHA text cannot be detected by algorithms because to an algorithm, the picture will basically look the same in both cases.

      I don't buy this. They study a system close to a continuous phase transition, meaning that it is self-similar, and there is no singular length-scale that shows up in any correlation function. By introducing the CAPTCHA text, however, they explicitly introduce such a scale, namely the size of the letters. This scale will result in a detectable feature in correlation functions, and of course only appears when the correct password has been entered. So, contrary to the authors' claim, it should be rather easy to spot when the correct password has been guessed.

      --
      OS Reviews: Free and Open Source Software
    11. Re:RTA? by Martin+Blank · · Score: 1

      Standard bruteforce has always been generally valid, though there are cases where it doesn't work as well such as account lockout and those places where logs are watched carefully.

      If the password database can be retrieved, it generally works better, though a bit of salting helps to address that. Distributed computing solutions for rainbow tables help cut down the time needed to break these, and I imagine that places like the NSA devote both dedicated and spare cycles to building up their own rainbow tables (or more elegant but less well-known mechanisms).

      --
      You can never go home again... but I guess you can shop there.
    12. Re:RTA? by Threni · · Score: 1

      How do you unlock it? Second password, probably. Also, many, many secure systems don't lock you out because it's a pain in the ass to get it unlocked. If you want to mess someone up and can't guess their password then lock their account up.

    13. Re:RTA? by johnsnails · · Score: 1

      Im assuming its 3 orders of magnitude since its 10^3 times greater? correct me if im wrong... oh wait you will http://xkcd.com/386/

    14. Re:RTA? by mjwx · · Score: 1

      That's the one with the $5 wrench, right?

      Where did you manage to find a wrench for $5?

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    15. Re:RTA? by hweimer · · Score: 1

      If you read our paper you will see that for an incorrect password you will still be in a vicinity of the correct initial condition. The Lyapunov exponents will get this difference multiplied, but the picture for the final evolution will still be very similar nomatter whether the password is correct or not correct.

      Sorry, but I still don't understand why your approach is different from a key stretching function. I suppose the result of the time evolution should be quite different as one will reveal the CAPTCHA text and one will not. But as I said, there will be signatures of the presence of the text in the correlations functions, from which you can deduce that you guessed the correct password.

      --
      OS Reviews: Free and Open Source Software
    16. Re:RTA? by zippthorne · · Score: 1

      But captchas are already broken...

      --
      Can you be Even More Awesome?!
  2. Epc fail by Hognoxious · · Score: 1

    Two days late, guys. HIYGCOTWO.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  3. Re:Belated April Fool Joke? by kestasjk · · Score: 3, Insightful

    That lists which authors of that paper endorse other papers.

    Perhaps analyze this idea for its own worth rather than look for silly reasons to discard it? How about that it relies on generating a secure password already, which would be hard for people to memorize, how the blind couldn't use it, or how it's really just the combination of two already common ideas?

    --
    // MD_Update(&m,buf,j);
  4. Maybe I should patent by rossdee · · Score: 5, Funny

    Heres an extra layer of security for your password.
    You take another post it note and stick it to your monitor over the top of the one with your password on. To access your password just lift up the top sticky note.

    1. Re:Maybe I should patent by Haedrian · · Score: 4, Funny

      "The use of opaqueness of tree-derived substances in 3 dimensional space in order to secure against password disclosure through movement of waverforms through translucent media".

      There, picked out a name for you.

    2. Re:Maybe I should patent by jpellino · · Score: 1

      I was going to go with self-destructing sticky notes, disappearing-ink sticky notes, but yours is elegant in its simplicity.

      --
      "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
  5. Re:How many times we need to explain thid by Anonymous Coward · · Score: 1

    mod down, goatse link, sage sage sage.

  6. Right so... by Haedrian · · Score: 1

    So if someone steals the password list off a server and wants to steal the admin passwords, all he has to do is to read the captcha himself, work it out (being a human and all that), then try to break the hash by adding the 'captcha answer' to the end of the string.

    Sure it might make it harder for someone to try to steal passwords from a large list, but if you're only targetting admin (or specific ones) it'll actually make things less secure. You tell people they only need to remember half the password and the rest is "uberencrypted" and their half will be easy to remember stuff you can dictionary attack.

  7. Something is wrong with that PDF by Lord+Lode · · Score: 1

    It causes "ePDFViewer" (the random PDF viewer firefox and/or linux decided to bring as default option when opening such link in firefox) to hang for a minute and use 100% CPU whenever scrolling or zooming.

  8. Re:How many times we need to explain thid by Anonymous Coward · · Score: 1

    Well, if you actually read the paper, you'd have answers to those questions.

    What they are proposing is a method that uses CAPTCHA-like systems to make the automating brute-forcing of the password much more difficult (but, since it's a CAPTCHA, it's still easy for a human to handle). The idea is that then you don't need the human to memorize as strong of a password: you can get the same level of security with weaker passwords. This won't let people use trivial passwords, but would allow you to greatly decrease the crazy/silly password requirements, because the decryption side becomes so difficult to automate. (You could always brute-force using a mechanical Turk setup, so you would need the user to pick a decent password, but as long as the search space is at least a few hundred thousand or million passwords, it's going to be impractical to hire CAPTCHA-readers to break it...)

    The details of how they split a single strong password into two halves (a short bit that the human can memorize and a longer more secure bit that the user releases using CAPTCHA, and thus doesn't have to memorize) is quite interesting. Worth a read. This implementation might have mistakes that make it less secure than it seems at first, but the overall idea is really quite amazing.

  9. Seeding... by Manip · · Score: 1

    So let's just be clear, they've re-invented seeding a password?

  10. Wasn't April Fools a couple of days back? by beaverdownunder · · Score: 1

    Seriously... how does this help? Sure, it might give brute-force a harder time, but wouldn't people just brute-force the captcha? Hm.

  11. Re:How many times we need to explain thid by jhigh · · Score: 1

    The real solution is to let the user have their dumb password that is easy to remember, but require them to also scan some biometric like their fingerprint or iris. This way, the only way that they can be compromised is by an attacker having access to both some physical characteristic in combination with their easy-to-guess password.

    --
    Social Engineering Expert: Because there is no patch for stupidity.
  12. Re:Belated April Fool Joke? by pushing-robot · · Score: 2

    I think the concept is fairly straightforward, though: If you make it hard for a computer to determine the difference between the plaintext and garbage, it will be hard to brute-force decrypt. In theory, by making the plaintext into a captcha the computer will no longer be able to tell when it has successfully decrypted the image, so (again in theory) after every password attempt a human will have to read the "decrypted" image to see if it is correct or not, so a brute force attack would (in theory) take an incredibly long period of time.

    I see a few problems, though, in that (a) even if a computer can't read a captcha, it could probably tell the difference between it and random noise, (b) the computer could take "likely candidates" and farm them out to Mechanical Turk et al., and (c) it's not practical for anything but short text messages, since the message is no longer readable by a computer.

    I could see it used for encrypting other passwords, though: Encrypt your files using a long random password, then encrypt that password using this captcha system and a password you can actually remember.

    --
    How can I believe you when you tell me what I don't want to hear?
  13. This will not work by houghi · · Score: 2

    as long as I am not able to select my own login AND password.
    I have a multitude of different logins that were given to me and that I can not change. I have been given a multitude of passwords that I am unable to change, because I am not the only one to use that specific login.

    Also have more then one security key.

    Oh and I need to change some of them each month. I could easily remember a 32 character password. But not if I need to change it every month AND if I need to remember anywhere between 10-30 AND need to know what login it belongs to AND some can't be that long.

    So sure, you can blame the human. However that IS a factor that will not go away. And as long as logins and password are basically a "Hey, I tried to protect the data, so I am safe"-thing for IT people, nothing will change.

    To often I see people that are resposible for the security try to find a technological solution for the social problem. Security is not a technical issue. It is a social process.

    --
    Don't fight for your country, if your country does not fight for you.
    1. Re:This will not work by stonewallred · · Score: 1
      I read a lot about password security here, and I fail to grasp one basic thing.

      How many passwords are "necessary"? In the sense lives or large amounts of money would be lost if they were breached?

      How many passwords are more of dutiful "security"?

      In a sense, how many passwords do you have, that someone would be willing, capable and likely; to bust your head open and steal the password from your pocket?

      I have one important password, to my WoW account (yeah I know...). The rest are unimportant in the grand scheme of life, forums, email, FB, etc.

      I don't bank online, or that would be an important one also.

      I don't access any of these places other than on my personal computer, or work computer. Both which are located in my home, one in my study and the other in my office.

    2. Re:This will not work by stonewallred · · Score: 1
      Got a different password for each of my email accounts, which are different from my social networking sites, which are different from my WoW account.

      Plus all my sites are under different email accounts, a separate email account for each site.

      Only place I got a concern is fucktarded blizzard which requires you to use your email address as an account name, and the same email address and password on the game, the battlenet account management and on the forums.

      Guess a better way to rephrase my question is, how many folks could just carry their passwords written down in their pocket and still be safe?

    3. Re:This will not work by prograde · · Score: 1

      ...because I am not the only one to use that specific login.

      I cannot think of a single circumstance where this is necessary or a good idea.

      Excuses for why is it the way it is don't count.

  14. Re:How many times we need to explain thid by Alex+Belits · · Score: 1

    That will work really well for remote access.

    Idiots.

    --
    Contrary to the popular belief, there indeed is no God.
  15. I think the key with this idea is by fragfoo · · Score: 1

    to improve password security and not to make a fail safe method. In a way that users can still create passwords like "123456" (they allways will, if they are allowed to), but by adding the captcha they will be harder to crack.

    --
    Sig? Heil
  16. waste of verbage by danwesnor · · Score: 1, Informative

    The second component is transformed into a CAPTCHA image and then protected using evolution of a two-dimensional dynamical system close to a phase transition, in such a way that standard brute-force attacks become ineffective.

    You don't need a bunch of mumbo jumbo to make a brute force attack ineffective, all you need to do is lock the account after x failed login attempts.

    1. Re:waste of verbage by whrde · · Score: 1

      And now you've just opened up a new way do a denial of service!

    2. Re:waste of verbage by ftobin · · Score: 1

      If brute-force attacks are inefficient, compromised password files are less dangerous.

    3. Re:waste of verbage by zome · · Score: 1

      I found the method used by an old phone (don't remember brand and model) effective. If you enter incorrect password for the first time, it make you wait 10 seconds before you can try again. A second time, wait 20 seconds, third time, 40 seconds, 4th time, that 80 seconds for you, and it keeps going like that. It gives the real owner of the phone a chance to get it right, but if you brute force, the wait time goes up quickly

  17. Re:Finally, some real innovation. by icebraining · · Score: 4, Informative

    But they fail to realize that the private key is nothing more than a lengthy password

    You don't quite understand how PKI works, do you?

    and is in fact more susceptible to being stolen than a human-entered password is.

    Uh, no, it's not, because a private key stays in one place - you computer - while the password is sent to each server, and you have to trust them to secure it properly. Which, as we have seen with Gawker, won't happen.

  18. Re:A key is just a lengthy password! by Qzukk · · Score: 1

    then your "solution" will be to suggest the use of a private key, which is nothing more than a lengthy password that's often stored in a file that can be easily stolen.

    Except that if someone steals the USB dongle on my keychain, I'm likely to notice.

    Sure, it's possible that there's malware on the computer copying all of my keys as I speak, but the same could be said for the keylogger copying all my passwords, so its pretty easy to establish that public/private keypairs are more secure than just plain passwords, given that they are significantly harder to brute force, for any reasonable protocol the key is never sent over the wire (the server asks the client to encrypt something in order to prove that it possesses the private key matching the public key), and they can provide for positive identification of both sides of the connection (given that the server has its own private key).

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  19. Just my own problem with password systems by bryan1945 · · Score: 1

    Different systems have different parameters. One required 5-8 characters, including 1 number and 1 capital letter. I ran into one that had to be exactly 6 characters, but no other restrictions. One had a requirement of a 'special' character, i.e. $ * # ! ) etc. I understand the restrictions, somewhat, but my passwords tend to be 10-15 characters long with numbers but no special characters. Sometimes a capital letter or 2.

    Instead of creating new schemes, just let me use this-
    "ijustgotanewpuppyandinamedhimbippyandhesverycute"

    Brute force that for my Amazon account. It's a whole lot better than "borked" for that 6 character password scheme I mentioned above.

    --
    Vote monkeys into Congress. They are cheaper and more trustworthy.
  20. Re:How many times we need to explain thid by subanark · · Score: 1

    There are 3 basic ways a person can identify themselves:

    1. What you know - like a password
    2. What you have - like a keycard, or a one time password generator
    3. What you are - biometrics

    The advantage of 1 is that it can only be stolen when being used.
    The advantage of 2 is that it can't be easily copied without removing it from the person.
    The advantage of 3 is that it can't be stolen, but can be copied without being used.

    I've seen places like air ports that use all 3. Swipe your card, punch in the pin, and scan your fingerprint. However, it is often not practical to require users to use all 3. A password is easy to give out, but can be easily forgotten. A keycard or password generator is a physical device that has to be issued to the individual. Biometrics requires special hardware that many users don't have, or you can afford to install on your building doors. Having fingerprint readers on your computer won't really help too much against if your computer gets compromised, while #2 can help deter this. On the other hand, if fingerprint readers become standard issue on computers, then many web sites can add it to their log in requirements (your computer would send a hash of your fingerprint based on the certificate of the requesting web site to avoid it being used for another site).

  21. Re:Finally, some real innovation. by EdIII · · Score: 1

    because a private key stays in one place - you computer

    I think that is what he is pointing out. A regular password is stored in your brain. A private key is stored someplace on your computer and the computer itself could be stolen, or the data could be copied (border security Gestapo is an example). I also remember some articles about freezing active memory to retrieve stored keys in memory on systems that are secured (locked) but still running.

    Of course it is not as simple as that and there is more to consider. Just pointing out that is what I think he meant by more easily stolen. He certainly does not compare the two methods fairly or thoroughly.

    As for the article I am not really sure how innovative this is. CAPTCHA is a dying technology in its current implementation. It is purely based upon the premise the a human brain is a much better pattern recognition device then any artificial device we can currently come up with. This is inevitably being proven false. I give it two decades max. After which Turing tests are going to have to evolve to physically inspect the devices themselves similar to Blade Runner. They did not ask the "device" to recognize a pattern, only how it felt about a turtle on its back. Ohhh, and the testing was a little more dangerous to the tester.

    Bruteforcing of interfaces is the simplest thing to defend against. My preferred method is using geometric progression to add a delay for every failed attempt. Lockout after three tries is a bit simplistic and user unfriendly. Brute forcing is going to use a hell of a lot more than three. Geometric progression makes more sense to me and is more user friendly.

  22. The key to understanding this system by mr.newt · · Score: 1

    ...is that the whole password cannot be decrypted in an automated way, because even though a computer program would quickly guess the short password (SP), the fact that the strong key (SK) is stored as a CAPTCHA prevents the computer program from obtaining it, even with the correct SP.

    The point is not (as some seem to believe) to help the user memorize a longer password by storing part of it for him. This approach actually wouldn't introduce any added security, as you still have a single point of failure (the memorized short password).

    1. Re:The key to understanding this system by mr.newt · · Score: 1

      That's how it works, but not the key. The important thing is that the SK can't be understood by a computer program because it's a CAPTCHA, and therefore can't be brute forced.

  23. Re:How many times we need to explain thid by Firehed · · Score: 1

    Of course, that whole massive procedure around three-factor authentication goes to hell when the first guy holds the door open for the two people standing behind him. The biggest issue always has and will likely always be social - the person walking around in a jumpsuit with a toolbelt will, in almost all locations, be assumed to be on the maintenance staff and will go completely unquestioned as he attaches mystery devices to the network wiring. Basically, the sooner that we're taken over by the machines, the sooner we can finally have effective security.

    --
    How are sites slashdotted when nobody reads TFAs?
  24. hunter2 tag by fractalVisionz · · Score: 2, Funny

    From http://www.bash.org/?244321:

    <Cthon98> hey, if you type in your pw, it will show as stars
    <Cthon98> ********* see!
    <AzureDiamond> hunter2
    <AzureDiamond> doesnt look like stars to me
    <Cthon98> *******
    <Cthon98> thats what I see
    <AzureDiamond> oh, really?
    <Cthon98> Absolutely
    <AzureDiamond> you can go hunter2 my hunter2-ing hunter2
    <AzureDiamond> haha, does that look funny to you?
    <Cthon98> lol, yes. See, when YOU type hunter2, it shows to us as *******
    <AzureDiamond> thats neat, I didnt know IRC did that
    <Cthon98> yep, no matter how many times you type hunter2, it will show to us as *******
    <AzureDiamond> awesome!
    <AzureDiamond> wait, how do you know my pw?
    <Cthon98> er, I just copy pasted YOUR ******'s and it appears to YOU as hunter2 cause its your pw
    <AzureDiamond> oh, ok.

  25. How is this new? by loosescrews · · Score: 1

    Sorry, but I don't understand how this could possibly be any better than combining existing password and CAPTCHA systems, which I am fairly certain has been done before. If the CAPTCHA and password didn't have a link between them it would likely be more secure. Their system only provides some benefit until someone leaks the algorithm for generating the CAPTCHA.

    Is there something that I am missing?

  26. Re:Important: From Paper Authors by jthill · · Score: 1
    That doesn't work for me on x86_64 wheezy with the Sun java plugin, under chrome or ff, and when I download the jar:

    ~$ cd down
    /home/jthill/down
    ~/down$ java -jar pcaptcha.jar
    Failed to load Main-Class manifest attribute from
    pcaptcha.jar
    ~/down$ java main -jar pcaptcha.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: main
    Caused by: java.lang.ClassNotFoundException: main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    Could not find the main class: main. Program will exit.
    ~/down$

    Here's my try at a non-academic rendering:

    Password cracking is generally "known ciphertext" -- they have /etc/shadow or whatever, probably because they just confiscated your filesystem, and can brute-force keys looking for one that produces the ciphertext they stole. Humans practically never memorize passwords long enough to defeat a brute-force search.

    This makes that not work, because what's stored isn't the ciphertext. Instead, what's stored is combined with the password you supply to produce an image, which you then iteratively modify a few hundred times. Whether you've supplied the right password or not, all the modifications will look similar -- except that if you've supplied the right password, one of the iterations, while looking a lot like all the others, will also be a captcha. The authors implicitly claim that it's as hard to answer the "is-it-a-captcha-at-all" question as it is to to decipher one, leaving a would-be brute-forcer the task of solving hundreds of thousands of captchas to find even a criminally weak password like 'm0ney'. Solving the right captcha gets you the rest of the real password, which will be a strong one, long and random.

    ==

    Somebody else already questioned that implicit claim, and I'll point out that the paper is written as if the number of iterations is secret ("The attacker attempting a brute-force attack has to visually analyze each image obtained by time-evolution of each incorrect state") -- as if the legitimate user is going to eyeball 350 images at every login, looking for the right one.

    But the real question is whether or not it's really that hard to distinguish the payload iteration from the rest.

    --
    As always, all IMO. Insert "I think" everywhere grammatically possible.
  27. i still prefer pixelock by pyropunk51 · · Score: 1
    --
    double penetration; //ouch
  28. Re:Important: From Paper Authors by jthill · · Score: 1

    The password for nvidia-latest.crpt is "foo". Please decipher the captcha. It turns out your demo, along with turning less than 1K of shell script into 400K of encrypted file, also wiped the original. I've tried q, w, u, n, j, jv for the last letter(s). I figure you need the annoyance a lot more than I do.

    --
    As always, all IMO. Insert "I think" everywhere grammatically possible.