News for hackers. Stuff that matters.
Re:Login to your Google account by scanning a QR code by dannyr on Monday January 16, 2012 @02:02AM (#3469698)
Got it from a Google+ post.

https://plus.google.com/103943309878727777440/posts/DCdBqZX3...

====================

remember this url: https://accounts.google.com/sesame . next time you want to check your gmail on a public computer, don't trust even the incognito window because an installed keylogger can record your keystrokes, which unsurprisingly, include your password. use your phone to scan the qrcode on the sesame web page and hit the resultant url -- the desktop browser will automagically redirect to your logged-in gmail without entering your password. yes, i think you do need an android phone with a properly configure google account for this to work.

====================

Re:Login to your Google account by scanning a QR code by baby on Monday January 16, 2012 @03:28AM (#3469871)
I've always been scared about keyloggers in internet coffees or public computers in university/hotels. I really wonder if there's a way around. Especially since, if you can scan this with your cellphone it supposes you have internet on your cellphone.
Re:Login to your Google account by scanning a QR code by lell on Monday January 16, 2012 @04:00AM (#3469953)
Here's a trick: as you are typing in your l/p, click somewhere on the screen to defocus the textbox and then type some random characters and then click back on the textbox. And also type random characters into the textbox, and then select them with the mouse and overwrite them with correct characters. Do this a bunch. Almost all keyloggers just log all key strokes, then people scan for stuff that looks like "[email protected]/x,". There's still the chance that your internet cafe has a more sophisticated logger on it. But if you do this you've made a real step to fight keyloggers in internet cafes.
Re:Login to your Google account by scanning a QR code by myared on Monday January 16, 2012 @09:34AM (#3470729)
This, along with copying a character from the clipboard, won't defeat most keyloggers. The only kind you would be fooling would be a hardware keylogger. Your best bet is two step authentication.
Re:Login to your Google account by scanning a QR code by baby on Tuesday January 17, 2012 @01:14AM (#3473965)
Care to explain why it wouldn't defeat most keyloggers? My knowledge of this is that when you look at the log created by the keylogger you just see a bunch of keystrokes but you have no way to tell if they were typed in the same field.

The two step identification doesn't work if you don't have internet on your phone right?

Re:Login to your Google account by scanning a QR code by akronim on Monday January 16, 2012 @06:04AM (#3470234)
If I was writing one I'd just be logging posted form fields with a transparent proxy, almost seems easier than a key logger.
Re:Login to your Google account by scanning a QR code by mvermaat on Monday January 16, 2012 @07:17AM (#3470386)
Except that doesn't work if the form posts to a HTTPS URL. You'd have to implement something at the browser level, e.g. installing a modified browser or a browser extension.
Re:Login to your Google account by scanning a QR code by jasonmc on Monday January 16, 2012 @09:22AM (#3470696)
It is possible to perform a MITM attack on HTTPS when you can install any certificates you want in the web browser.
Re:Login to your Google account by scanning a QR code by dunham on Monday January 16, 2012 @12:20PM (#3471502)
For google, I turned on two-factor authentication. The provide an iOS/Android/Blackberry app that acts like a secureId (provides a different security code every 30 seconds).

The phone app could be also be used for your own projects. It supports multiple accounts and either manual or QR-code based configuration.

Google provides a PAM module so you can add 2-factor auth to ssh. And it is easy to implement the standard on the server side, if you want to add 2-factor auth to your web app.

For more info, see:

http://code.google.com/p/google-authenticator/

Re:Login to your Google account by scanning a QR code by VMG on Monday January 16, 2012 @03:37AM (#3469900)
google also offers two-factor authentication
Re:Login to your Google account by scanning a QR code by rhblake on Monday January 16, 2012 @09:55AM (#3470801)
I switched from Gmail to FastMail partly because they offer neat features like one-time passwords. (Two-factor auth with SMS - which FM also has - is nice but not always convenient/possible.)

You choose a "base password" (different from your master password) and it then generates 100 one-time passwords that you can print out and put in your wallet. So to login, the password you enter is "<base password><one-time password>". Works great. You can also make it restricted so that one-time logins can't delete anything, or change any options.

Re:Login to your Google account by scanning a QR code by timothya on Monday January 16, 2012 @10:29AM (#3470931)
Gmail supports 2-factor authentication as well: http://support.google.com/accounts/bin/static.py?hl=en&t...

It works by requiring your normal password, plus a one time password that can either be SMS'd to your phone, generated by an Android app, or one on a list that you've pre-printed and keep in your wallet.

Re:Login to your Google account by scanning a QR code by rhblake on Monday January 16, 2012 @11:33AM (#3471239)
Cool, didn't know you could pre-print lists. I think I prefer the FastMail way though. With Google, as I understand it, 2-step authentication is either on or off; you have to use it all the time, or not at all. (Application-specific passwords are an exception but not relevant to the issue with keyloggers and public computers.) With FM, you can always sign in with just your master password, _or_ totallydifferentpassword+one-time-password (and you can have multiple sets of alternative logins).

I don't want to deal with 2-step authentication on devices I trust (e.g., my encrypted laptop). I could switch it on and off every now and then, but with Google I'd always be typing my normal password (for me, generated by KeePassX and impossible to memorize) when doing the 2-step thing, right?

Re:Login to your Google account by scanning a QR code by spicyj on Monday January 16, 2012 @11:45AM (#3471331)
The "Remember me" feature works normally. There's a "remember this computer for 30 days" option that sets a cookie on the computer so that you aren't prompted for the one-time password again, just your regular one (if "Remember me" is turned off).
Re:Login to your Google account by scanning a QR code by FuzzyDunlop on Monday January 16, 2012 @07:23PM (#3473245)
I actually really like this idea of a one time password being equivalent to a remembered session based on a cookie.

You get read only access with your OTP, and if you want to do something destructive or otherwise important, log in again with stricter authentication.

Making all of your account available all of the time from one basic login seems like quite a bad idea for a sensitive account.

Re:Login to your Google account by scanning a QR code by markkum on Monday January 16, 2012 @03:41AM (#3469910)
You can sign in without username and password to OpenID enabled sites with your smartphone and Mepin; https://www.mepin.com/
Re:Login to your Google account by scanning a QR code by ot on Monday January 16, 2012 @03:36AM (#3469897)
> i think you do need an android phone with a properly configure google account for this to work.

Works fine on my iPhone with RedLaser to scan the QR. It just redirects to Safari which "remembers" my login info.

Re:Login to your Google account by scanning a QR code by username3 on Monday January 16, 2012 @09:24AM (#3470702)
Also works fine with Google's iOS app.
Re:Login to your Google account by scanning a QR code by nl on Monday January 16, 2012 @04:38AM (#3470045)
yes, i think you do need an android phone with a properly configure google account for this to work.

That's not the case. Presumably accessing the QRCode generates a single use URL, which you can access in the computer browser. There is no client side logic.

(Also, Google generally ships stuff on both iOS and Android)

(Also, it goes against Google's interest to restrict Google account features to Android)

Re:Login to your Google account by scanning a QR code by jf on Monday January 16, 2012 @05:09AM (#3470114)
This works just fine from my Windows Phone.
Re:Login to your Google account by scanning a QR code by rplnt on Monday January 16, 2012 @08:51AM (#3470600)
> There is no client side logic.

There have to be some though. I.e. you have to be logged in to Google on your phone.

Re:Login to your Google account by scanning a QR code by irunbackwards on Monday January 16, 2012 @08:43PM (#3473408)
Naw, you can technically scan this link w/ another laptop using its webcam.
Re:Login to your Google account by scanning a QR code by wingspan on Monday January 16, 2012 @03:12PM (#3472217)
Works fine on my windows phone; remembers my login info from IE.
Re:Login to your Google account by scanning a QR code by danielhunt on Monday January 16, 2012 @02:32AM (#3469759)
That seems particularly open to abuse.

Couldn't I just link someone to a copy of the QR code and be automagically logged in as them?

Re:Login to your Google account by scanning a QR code by resnamen on Monday January 16, 2012 @02:43AM (#3469774)
It raises an approval screen on the phone. It says

By proceeding, you give another computer access to the following accounts: * [email protected]

STOP! Only proceed if you arrived at this page by scanning a login barcode at google.co. Otherwise, do not proceed!

(start with GMail) (start with iGoogle)

Re:Login to your Google account by scanning a QR code by danielhunt on Monday January 16, 2012 @02:47AM (#3469790)
Ah, I see. Thanks for adding that info
Re:Login to your Google account by scanning a QR code by waiwai933 on Monday January 16, 2012 @02:44AM (#3469778)
There's a bright highlighted warning that says "STOP! Only proceed if you arrived this page by scanning a login barcode at google.com. Otherwise, do not proceed!"

Will users read the warning? I would—and did—it really grabs your attention given the fact its background is yellow and takes up so much of the iPhone screen.

I suppose there are probably other safeguards as well, given that this is Google—maybe timed expiration?

Re:Login to your Google account by scanning a QR code by wiradikusuma on Monday January 16, 2012 @03:32AM (#3469879)
I left the page open and after finished reading comments (a minute or two) in HN, the page gave me this popup dialog:

[Alert] Login session has expired. Press Ok to reload.

Re:Login to your Google account by scanning a QR code by sabret00the on Monday January 16, 2012 @04:20AM (#3470001)
This + 2 Factor-Authentication = Pretty Damn Secure.
Re:Login to your Google account by scanning a QR code by Achshar on Monday January 16, 2012 @10:18AM (#3470890)
but those two are different things. They are not complimentry (from what i understand)
Re:Login to your Google account by scanning a QR code by sleepyhead on Monday January 16, 2012 @09:16AM (#3470673)
I assume it is valid for only a short period like the code generated from the Google Authenticator app.