Slashdot Mirror


Transec, a Secure Authentication Tag Library

Lado Kumsiashvili writes, "Micromata has placed Transec, a secure authentication JSP tag library, under the GPL. While developing the Polyas (German) online voting system, Micromata invented a component for secure PIN/password input via untrusted, insecure browsers. Transec is freely embeddable and redistributable for non-commercial projects; a commercial license is also available. Spyware in the form of Browser Helper Objects and keyloggers can capture user keyboard input even if it is encrypted. Transec enables user authentication using a 100% server-side control — only images and coordinates are transferred to the untrusted browser. The browser sends coordinate information of each click on this imagemap directly back to the server, and the server responds with a new image. If the browser is infected by malware, it can't give up the PIN/password since the browser doesn't know this information. The Java code and a demo application are available at the Transec homepage." I have heard tales of malware that can grab a screen capture in the vicinity of the cursor at any mouse-click. Does anyone know if such a threat actually exists?

20 of 125 comments (clear)

  1. Lots o mouse clicks by null+etc. · · Score: 2, Insightful
    I have heard tales of malware that can grab a screen capture in the vicinity of the cursor at any mouse-click. Does anyone know if such a threat actually exists?


    If so, the malware must go after specific types of clicks - for example, maybe it looks at the URL and form action to determine whether it's worth capturing the images. Otherwise, a typical day of perusing Digg articles could result in megabytes upon megabytes of captured images. And unlike text data, image data is hard to sieve for gold.

  2. Heh... by Anonymous Coward · · Score: 4, Funny

    "I have heard tales of malware that can grab a screen capture in the vicinity of the cursor at any mouse-click. Does anyone know if such a threat actually exists?"

    Well, it does now.

    1. Re:Heh... by Lev_Arris · · Score: 2, Interesting

      So basically, we should eliminate the mouse clicks altogether. People who know dontclick.it know what I mean: You could just 'touch' the numbers with the mouse cursor for them to register. That way, the screen logger would have to record an entire video to get the password.

      Of course, implementing such a thing without Flash and the likes will be a little more tricky.

  3. I'm skeptic by cucucu · · Score: 2, Interesting

    This is assumed to counter keyloggers.
    But if the bad guys have enough control of your the machine to install a keylogger, then what's going to stop them from installing a "screen logger" that keeps successive screenshots in a special directory on the hard disk.

    This "new" product does not work around the principle that software cannot secure a computer for which you adversary has physical access.

  4. Doesn't ING direct already do something like this? by antifoidulus · · Score: 2, Informative

    When I log on to my account, instead of typing in a PIN, I press buttons on a "virtual" keypad, ie a bunch of images. They will also randomly assign letters to each number(different every time you log in) so you can still type them if you want without a keylogger figuring out what your pin is.

  5. Right, they do that already by ewn · · Score: 2, Informative

    They also don't ask you to enter the whole PIN, but only a few randomly selected digits ("Please enter the 3rd and 5th digit of your PIN"), so an attacker who grabs the screen only once still doesn't have enough information. I think that's pretty smart.

  6. Re:I don't get it. by mrjb · · Score: 4, Insightful

    This could very easily be replicated in praticially any web scripting language of your choice.
    Exactly. It doesn't require any client-side processing. That's the beauty of it. This means you can TURN OFF javascript and it will still work.

    As for the innovation- it allows a user to enter their pin while reducing the chance that it's snooped by malware, which is a Good Thing. It also makes it a lot harder for said malware to replicate the response compared to keyboard entry- because in addition to protecting your code, it also acts as a (primitive) captcha, making reasonably sure that whoever is entering the code is human.

    --
    Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  7. OPIE by sonicattack · · Score: 4, Interesting

    Using images as a PIN-code isn't making things much more secure, if the same images are used every time. The credentials are still sent in a way that can be logged. It's just an extra annoyance for those who want to steal your password.

    I use one-time passwords for accessing my home computer over SSH. Anyone can log my keystrokes, or look over my shoulder how much they want. The password is generated by an OPIE client running on my cell phone, and is valid only once.

    OPIE clients run on virtually any kind of device. Just as long as you don't run it on the actual computer which you use to access the server, this is a more secure solution.

    Using OPIE on untrusted servers would still present the security problem of initial passphrase synchronization between server and OPIE client - unless the passphrase is sent to the user by some secure channel, unlikely to be snooped.

  8. Yes, such a threat exists by Opportunist · · Score: 4, Informative

    Without breaking NDAs I can verify that such malware exists, in the wild. So far this functionality (taking screenshots) has not been used widely, but the necessary functions are there, screenshots are taken, it's just not been necessary to use them.

    Picture shots would certainly increase security and raise the bar for malware writers. Current BHOs are able to manipulate the data stream on the fly, so you can never be sure what you send to your bank, and whether the data your bank sends to you is actually also displayed. With a picture, this becomes harder to manipulate.

    Harder. Not impossible. Many malware BHO families are already prepared for this kind of defense and are working on a way around it (or already found a way around it). Any claim to make malware impossible is a lot of smoke screen and even more snake oil. The best defense against such attacks are still:

    1. Using non-mainstreamy software. Malware is a business, target is the mass market. So the further you're from the "masses", the higher the chance that the malware can't strike you. Using Firefox instead of the omnipresent IE is a good step. Defeats a good deal of malware. Taking a step further and using a Mac or Linux almost eliminates the threat. That doesn't mean MacOS or Linux are more secure (I'll spare you and me the discussion), that simply means that their market share is smaller and thus it is less interesting for malware writers.

    2. Using a brain when connecting to the 'net. Clicking everything and using mainstream apps is a surefire way to catch some kind of infection. Even with current anti-malware tools installed. No antivirus is able to catch everything (and they usually are at least one day behind the malware writers). No security tool is able to intercept all invasion attempts (Windows simply offers way too many entry points). Software is no replacement for brains and common sense.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  9. Re:Then, the terrorists have already won... by ultranova · · Score: 2, Insightful

    Seriously now. Are we going to inconvenience ourselves just because a few programs out there do Bad Things?

    I'd imagine this would be most useful to run in my home server, so I could contact it from anywhere without having to trust the computer I'm using. And yeah, I'd rather inconvenience myself with this password entry method than with cleaning up the mess when someone hijacks the server.

    The solution isn't to work around the baddies but to eliminate them altogether.

    Funny you should mention "terrorists" in your subject and then say this. After all, the War on Terror has been completely unsuccesfull in eliminating them. I think that it's been adequately proven that you can't eliminate baddies, you just have to design systems that can withstand badness.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  10. Re:Screen Capture by ultranova · · Score: 3, Interesting

    Why can't we have a TCB that is really Trusted? A secure operating system is all that takes to divert these attacks (granted it's easier said than done).

    How do you know the operating system in a particular machine is actually the Trusted version, and not a hacked version that's masquerading as the trusted one ?

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  11. Good luck. No chance in hell. by Opportunist · · Score: 4, Interesting

    You're dealing with people who register a domain in Uzbekistan, run the server in the Ukraine and sit in Moldavia. With these three countries being placeholders for pretty much every country from the former East Block east of Poland. Now try to get ANY kind of help from law enforcement there concerning computer crimes.

    Those law enforcement organisations there have real problems to deal with, they have no spare manpower for petty things like computer crimes. I say that so I don't say they don't want to stand up against organized crime 'cause they have families.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  12. Broken by design. by drolli · · Score: 2, Insightful

    At least in their demo the entropy in the assignment between the coordinates and the numbers input is completely missing. Not a good "encryption" or "security" scheme.

  13. Re:Randomly rotated? by leehwtsohg · · Score: 2, Insightful

    You are right to some degree, but also wrong.

    Their idea seems to be that the computer might be compromised, but the server is secure - so if the server creates the images, you can at least be secure against automated attacks - i.e. without human intervention. (because the attacker does not have access to the algorithm that created the images) This can work for as long as there are some tasks that humans can do and computers not.

    If the computer is the last step in the authentication, then you are right. If you have a small little device that tells you "in this step use a->1, d->2, f->3 etc." then transaction can be secure even through a comprimised computer.

  14. One time pads. The only solution. by plierhead · · Score: 3, Interesting
    When I log on to my account, instead of typing in a PIN, I press buttons on a "virtual" keypad, ie a bunch of images. They will also randomly assign letters to each number(different every time you log in) so you can still type them if you want without a keylogger figuring out what your pin is.

    The trouble is, anyone who owns your PC and has installed a keylogger can just as easily spy on your display and see what you are clicking.

    Sometimes I would swear my brain explodes at our slowness to learn.

    The only true solution is one time pads. They are unhackable, and only a minor inconvenience.

    I would give blood to be able to use a one time pad for my online banking. The trouble is, the industry, and Joe Public, still don't take IT security seriously. And this is totally a mindset. Some marketing guru should wake up to the possibilities of the one time pad - potentially the greatest chick puller since the circular waterbed - and get us the hell out of this horrendous hacky world.

    --

    [x] auto-moderate all posts by this user as insightful

    1. Re:One time pads. The only solution. by antifoidulus · · Score: 2, Insightful

      First, I know what one time pads are, and I have read a lot of material on old cryptography techniques, but you still missed the very point! Supposed you have a one time pad and an attacker manages to get a keylogger onto your computer(this is the situation we are talking about, ING Direct is an online bank end of story, if you didn't know that then you really should not have hit the reply button because it's offtopic). So you carefully type in your one time pad into the computer. Guess what, since the attacker has all your keystrokes, he can easily put himself in the middle and take the pad you so careflly entered and give them to the bank himself and boom, he has access with minimal effort. By using one time pads you just ensure that everyone has to be very annoyed when they log in, people can lose their account in a fire, and that the bank has a more expenses in trying to keep everyone's pad available and secure(much more work and effort compared to a SHA-1 of the password maybe with a little salt). That means more expenses for the bank, which gets passed on the customer. Brilliant!

      I know one time pads are cryptographically secure, but they are not magic bullets. If you think they are, you are free to implement your own bank that uses them. If you fail, you fail, but the number of banks and customers that want to use one time pads are pretty small.

  15. And the blind... by Anonymous Coward · · Score: 2, Insightful

    Are supposed to log in how?

    1. Re:And the blind... by pacinpm · · Score: 2, Interesting

      Provide them randomly generated hash table: 1234567890 JBFAHECGID Then ask them to enter letters instead of numbers (J instead of 1, B instead of 2 and so on). Should work OK on Braile screens. PS. I think I need to patent this.

  16. Not usable by the blind by gkearney · · Score: 2, Insightful

    At the risk of starting another flame war about why we should care about the blind...This system is unusable by the blind using a screen reader. You are unable to detect the location of the "buttons". I tested it with both the MacOS built in screen reader (VoiceOver) and a window add on (Jaws) screen reader.

    So, in the U.S.,unless your looking to have the National Federation of the Blind, American Council of the Blind or the Justice Department come after you in court you would be well advised not to implement it in a commercial setting unless you have an alternate means of providing services.

    And no, providing a physical store thirty miles down the road is not an alternate means, the blind don't drive remeber?

  17. Re:a bit futile isn't it? by enbody · · Score: 2, Interesting

    so the chances of the man in the middle intercepting a code he can re-use are extremely slim.


    That is a correct statement, but misses the point. It would be nice for a man-in-the-middle to get a reusable value, but it isn't necessary for a successful attack. The man-in-the-middle can clean out your account during the session you have successfully set up. I saw a demo of this with a person setting up a man-in-the-middle attack on his own brokerage account using a device which generated one-time passwords for the account. He bought a share of one stock, but the man-in-the-middle did a completely different transaction (bought a share of a competitor's stock).