Slashdot Mirror


Scientists Release Working Prototype Of CAPTCHA-Based Password Assistant

An anonymous reader writes "Last year Slashdot ran a story on scientists from the Max-Planck-Institute for Physics of Complex Systems in Dresden, Germany developing a novel method to improve password security. A strong long password is split in two parts; the first part is memorized by a human, and the second part is stored as a CAPTCHA-like image of a chaotic lattice system. Today, after a year of work, the same group at Max Planck Institute released a working prototype online, where everybody can try this technology to encrypt files (Java plugin required)."

28 of 86 comments (clear)

  1. Re:um by Anonymous Coward · · Score: 3, Informative

    Actually, this is better -- it prevents brute-force attacks unless you have a very, very good method of solving CAPTCHAs. Even if you can solve the CAPTCHA, though... there's no guarantee that you'll get a good CAPTCHA based on the password you're trying.

  2. is there any good analysis in the year since? by Trepidity · · Score: 4, Insightful

    Rather than attempting to personally evaluate the paper, not being an expert in this area, it'd be interesting if a third party has done some analysis, even preliminarily, on the system, so we can rely on more than the authors' own views. The paper itself was published in a somewhat strange venue for a new cryptosystem, Europhysics Letters, which isn't really a problem, but doesn't provide strong assurance that cryptography experts have vetted it, either (but perhaps they have elsewhere?).

  3. Requires self-signed applet with full privileges by Plouf · · Score: 4, Interesting

    This requires self-signed applet with full privileges so by using this new security solution I will put my computer at risk. Isn't that great? I would have expected that people working in the security domain would not have the "I don't bother about actual rights I need so let us request full access" attitude.

  4. NOT SIGNED code, could be harmfull by Anonymous Coward · · Score: 3, Interesting

    WARNING

    My java said that the code was not signed. It could be swapped or faked. Don't run it unless it is signed and verified properly. It also gains full acess to your computer... so don't run it until it is restricted.

  5. Re:Requires self-signed applet with full privilege by Anonymous Coward · · Score: 4, Informative

    Plouf - we need these permissions in order to read the files :-)

    As far as self-signed goes - we did not want to spend $500 on a chunk of bytes :-) Please trust us :-))

    Konstantin

  6. Re:um by dgatwood · · Score: 3, Insightful

    Of course, it's a security scheme designed using Java just two days after a story about a security hole in Java that allowed automatic installation of a trojan. Thanks, but no thanks. You can keep your security if that's the language you want to use to implement it.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  7. Re:Requires self-signed applet with full privilege by Anonymous Coward · · Score: 2, Funny

    A security researcher asking people to blindly trust strangers........

  8. Re:Requires self-signed applet with full privilege by SashaMan · · Score: 5, Insightful

    Absolutely - I couldn't believe the irony of this great security solution requesting full access to my machine with a self-signed certificate. I wonder if this actually a psychology experiment to show that even when people are thinking about security that they're still willing to give up the keys to the kingdom as long as you ask nicely and state that you're a "security researcher".

  9. Re:Requires self-signed applet with full privilege by netsharc · · Score: 2

    Overuse of smileys detected... God damnit, wie alt seid ihr, 16?

    --
    What time is it/will be over there? Check with my iPhone app!
  10. Re:Requires self-signed applet with full privilege by Anonymous Coward · · Score: 2, Interesting

    A security researcher asking people to blindly trust strangers........

    IMO they really aren't. As it is uploaded unobfusacated and anyone can download it. It then takes 2 seconds to drop it in to the one of many java decompilers and you can read it yourself.

    Who can blame them for not spending a couple of hundred dollars on a sining cert? I can't for a proof of concept.

  11. Re:um by errandum · · Score: 3, Interesting

    Because they are, clearly, associated.

    Most encryption algorithms and libraries in java follow the standards implementation. If used properly they are as secure as possible.

    Don't confuse the relative security of a language (in allowing you to run code outside of the VM) with encryption algorithms. That's completely idiotic. It's like saying you should not eat meat because it's raining (yep, as idiotic as that).

  12. Re:um by Martin+Blank · · Score: 2

    The CAPTCHAs may be reused but the background patterns change based on the password input. Even if the CAPTCHA is broken, it may slow brute force attempts due to the additional processing required to decode the CAPTCHA.

    --
    You can never go home again... but I guess you can shop there.
  13. Interesting by cdxta · · Score: 2

    It seems like all this would do is just decrease the brute force speed since you would have to do image analysis (assuming you could write a decent CAPTCHA solver). How would this be different than passing a password through an algorithm 1000’s of times? Also it seems like it might decrease password security. Depending on what is known about the encrypted data, an attacker may not have any way to check if the password is correct. With the CAPTCHA, I would think it would be quite easy to detect the characters that are out of the norm of randomness even if you can’t tell the letters and pass it to a human or deeper scan. That is unless there are false positive CAPTCHA outputs?

    1. Re:Interesting by Anonymous Coward · · Score: 2, Informative

      Cdxta: This is exactly true - the purpose of the algorithm is to introduce something that in your language would be described as false positives.

      Konstantin

  14. Re:um by theshowmecanuck · · Score: 4, Funny

    I heard a story about a virus written in C. That's why I'm writing this on Slashdot with an abacus.

    --
    -- I ignore anonymous replies to my comments and postings.
  15. A better mousetrap? by hairyfish · · Score: 3, Insightful

    These stories seem to pop up every week about how we have a new system that is better than a regular password. You can't get better than a regular password because the weakest link in the whole password process is the human. Make the authentication process any more complex and the human becomes an even weaker link. The other big miss that none of these stories never seem to cover (esp biometrics) is that the great strength of a password is its portability. If I need someone to do something on my behalf I can tell them the password and they can do it, and it gets done. This may sound like a weakness on the surface, but the alternative non-portable method would mean all those things wouldn't otherwise have been done, and ultimately systems are designed to do things. Therefore, too strong an authentication makes the overall system less effective. Security is about balance. You can't build a house without doors and windows, and I think the regular old password is the best balance you'll ever get to authentication. Why waste energy trying to build a better mousetrap?

  16. Enough wisecracks, let's start thinking. by goodmanj · · Score: 5, Insightful

    Slashdot comments usually contain at least a few insightful comments, but so far people have been going for wisecracks and low-hanging fruit.

    Yes, using a self-signed certificate in a security product is stupid. Yes, trusting physicists to come up with a good encryption scheme is like hiring a plumber to do heart bypass surgery (I am a physicist). But those are boring criticisms. A more interesting question: is the basic idea actually any good?

    If you play with it, it looks like it boils down to using a short easy password to generate a chaotic bit pattern; this bit pattern is XORed against a Captcha image. The result is easy for humans to read. If you try to decrypt with the wrong password, you get a different chaotic bit pattern that can't be read. But a computer has to do a lot of work to figure out if each bit pattern contains readable text or not.

    The goal here is not to increase the entropy of the password, or to use an asymmetric algorithm that's much easier to encode than decode. Instead, they're trying to make each decryption attempt require enough compute cycles that it's impractical to brute-force even a short password.

    The obvious direct attack is to write a very good, very fast captcha detector. It doesn't actually have to be able to *read* the captcha at all: it just has to be able to filter out "obviously doesn't contain text" from "probably contains text", and present the likely candidates to a human for final analysis. Some sort of noisy edge detection algorithm might work well.

    If you hate writing computer vision algorithms, a simple Mechanical Turk approach might also work. If you presented a full-screen grid of 100 candidate decryptions to a human, they could probably identify one that contains text in a couple of seconds. A single human should be able to complete an English dictionary attack in a day.

    1. Re:Enough wisecracks, let's start thinking. by tepples · · Score: 2

      Yes, using a self-signed certificate in a security product is stupid.

      I will address this assertion as soon as you address the following question: Why do code signing certificates cost more than SSL certificates?

  17. Re:um by tepples · · Score: 3, Insightful

    First, it's Java, not JavaScript. Second, if you've installed Kaspersky AV or any ElcomSoft product or even played Tetris®, you've run Russian code on your machine.

  18. Re:Requires self-signed applet with full privilege by tepples · · Score: 2

    So you want it to work offline; that's commendable. But why not offer it as a downloadable, double-clickable jar so that it'll already have the needed capabilities?

  19. Re:Requires self-signed applet with full privilege by FrootLoops · · Score: 5, Interesting

    There are too many oddities for me to try out the service, sorry.

    1. The service isn't hosted on a .edu domain.
    2. The about page makes a remarkably strong and vague claim for a group of scientists: "We are currently the strongest online encryption service available on the Internet."
    3. The story was submitted anonymously rather than with a "full disclosure" warning.
    4. There's no link on the web site to any supporting institutions, grants, or anything like that, even though the summary twice mentions the Max Planck Institute.
    5. The unsigned software wants full access to my machine.

    For all I know, this is an elaborate ruse to get a few poor saps to run untrusted code. I have nothing but the web site's word and the word of an anonymous commenter to go on balanced against the above weirdness, so I'm going to play it safe and move on.

    As for you, "Konstantin," perhaps you're just a weird person, but there are way too many oddities for me to simply believe that you're the K. Kladko from the paper.

    1. Your grammar and style are remarkably informal for an academic. You write like a teenager.
    2. You use way too many smilies for a security researcher.
    3. You sign your name while posting anonymously--just sign up for an account already.
    4. You expect me to run untrusted code on my machine as a security researcher just because you say, "Please trust us". Seriously? Seriously? (It bears repeating.)
    5. You're making lots of comments here. Usually scientists don't make any appearance on /. comments about their work, or if they do their posts are highly informative (eg. The Bad Astronomer).

    My strong suspicion is that you're just rather young and naive and don't have enough supervision on this project. I'm not trying the software though.

  20. Doesn't work in CLI by billcarson · · Score: 2

    I find the idea very interesting, but isn't it sad this approach wouldn't work on a text-based terminal (e.g. an ssh login)?

  21. Re:um by Patch86 · · Score: 3, Interesting

    Why bother having the user set the word that is going to be displayed as a CAPTCHA? Why not just have the user set a password in the conventional way, and then show them a random CAPTCHA (also in the conventional way)? You'd get the same defence against a computerized brute-force or dictionary attack, but without the added security weakness of the user giving away the second part of the password (such as by key logger, or nosy desk neighbour, or writing it on a post-it).

    I suspect the reason most systems don't ask for a CAPTCHA alongside password entry is because CAPTCHA is a pain in the rear for users- which the system in TFA would still be.

  22. Re:um by Patch86 · · Score: 3, Interesting

    So in what way is this an improvement over a regular CAPTCHA (with a random set of letters and numbers, not set by the user)? A conventional random CAPTCHA will defend against brute force attacks in exactly the same way.

    TFA's proposed method would mean that either a) users will manage to remember the second part of their password (in which case why display it on screen- why not treat it like a regular password and keep it in the user's head) or b) users will need to read the CAPTCHA and enter the word as they see it (in which case why keep the word the same each time, why not randomise it like normal).

  23. Re:Not decompiled either, I take it by WrongSizeGlass · · Score: 2

    It's in Java, and Java bytecode decompiles much more cleanly than, say, x86 bytecode compiled from C. Did you try decompiling it and reading the resulting source code? If not, why not?

    Decompiling & inspecting code every time it is downloaded or updated is not a realistic solution before trusting or running code. Especially not for the vast vast majority of internet users who don't know any programming language, let alone Java.

  24. Re:Certificate price gap by WrongSizeGlass · · Score: 2

    We have scam 'institutions' that are there to sucker people with the IQ of a douche into getting government grants and loans for "technical training in computers". There are several of them that have a .edu domain.

    Advertisement for TrustUs.edu
    Do you want to protect yourself against scam education institutions but don't think you have the proper training? Don't doubt yourself, just trust us.

    At TrustUs.edu you'll learn how to spot questionable, suspicious or illegitimate education institutions. We provide you first hand experience, and even offer extra credit courses for those that need additional attention.

    When it comes to knowing who to trust, you just need to trust us. At TrustUs.edu, we offer life lessons you won't ever forget.

  25. Re:um by errandum · · Score: 2

    No, he said the attempts at encryption should not be made using java because a story showed that you could run code on a computer via an applet.

    It's ridiculous. Or even worse than that, it's someone so ignorant it hurts, but that feels entitled to do statements like that. I should have used my modpoints instead of commenting, since people might take him seriously and he needs to get downvoted and hidden fast.

    His comment is akin to saying that since C and C++ has been used on viruses that get delivered as windows executables, you should not use anything written in C, C++ or windows.

  26. Captcha is horrendous by Arabian+Nights · · Score: 2

    I've just gotten three of them wrong in a row. Also, the input box doesn't appear to always capture the keyboard in Linux.