by Matt_Cutts · 15y ago · 0 comments
Anyone savvy enough to hang out on HN probably has a fair amount of valuable info in their Gmail account (domain registration info, passwords/access to shopping sites, etc.) and should activate two-factor authentication: http://googleblog.blogspot.com/2011/02/advanced-sign-in-secu...
Is it a little more hassle? A bit. But when someone else tries to log in from a new IP address in the Ivory Coast, or China, or wherever--they'll be prompted for a PIN and won't be able to log in.
I activated two-factor authentication as soon as I could on my Gmail. I think everyone reading this comment should too.
Q: It's too much of a hassle to generate and write a PIN with every login I do!
A: Not so. Google can 'remember' an authorized device for 30 days, so assuming you mostly use the same few devices all the time, the added hassle is very little compared to what you're construing it to be.
Q: But I use many browsers on many devices! (AKA: "But I'm a webdesigner!")
A: Google lets you create limited access, easily revokable, device-specific passwords. You may consider creating one of these for each device that you actually own, but then you're reducing your security so somewhere between 1 and 2-factors.
When making that choice, keep in mind that on a worst case scenario, access to your email = access to all of your other online accounts.
Q: I don't always have access to my mobile!
A: No worries! When you set up 2-factor auth, Google makes you print a little piece of paper with 25 one-time disposable passwords for just such cases.
For some bizarre reason, none of the one-time use passwords were working at all. This was shocking and I realized in an emergency, this would not do. As soon as I got net access and into the backup email address, I turned off 2-factor auth. I'm sure for others who didn't have this edge case paradox issue brought on by stupid me and actually working backup one-time-use passwords, 2-factor is a great choice. And I wish it were for me as well, but it isn't right now.
Presumably there's a way to handle that case, but it still bothers me. On the plus side, I'm using a Google Apps account with a domain I control, so I could quickly switch to a backup mail provider, but it's of course a huge hassle, and I keep a lot of email in my GMail account.
How do you deal with these kinds of issues? I really do want to use two-factor auth, but this stuff scares me about as much as the possibility of getting hacked.
TOTP is an open standard and the mobile app is open source:
http://tools.ietf.org/html/draft-mraihi-totp-timebased-03
http://code.google.com/p/google-authenticator/
(Disclaimer: I worked on this.)
Is anyone doing that?
I really like using the authenticator on my phone and would love to see other web applications support it.
But I am curious, why isn't the authenticator itself password protected?
Also, fyi, while I understand how to use application specific passwords, I have no good understanding of what they do, how they work, why they are safe or why I only have to enter them once. So they are confusing to me.
The obvious risk of this model is what happens if an untrusted client steals that password.
Since you haven't given it your actual Google password It can still access your data, but it can't change your password (you have to enter your main Google password to do that) or change other critical settings, and if the application is misbehaving all you have to do is click revoke, and its gone.
You only have to enter them once because most clients nowadays provide a 'Remember my Password' functionality. Google assumes you will use this, so only need to enter your password once. If the password is forgotten you just generate a new one.
One is you can set a backup phone to use to get into the account, it can even be the same phone you have the authenticator on, so as long as you have the same number, you can access it. The backup phone option can also work with landlines through voice.
They also allow you to print out a set of numbers you can use in case you lose the authenticator to get back into the account.
[edit] Added voice backup note.
I also don't trust my phone enough. But the bigger reason I don't do this is that I don't trust Google enough.
My phone number is private and none of their business. I don't want to give them yet another way to track me.
That way, even if a users computer gets owned with a trojan, the attacker couldnt change the gmail password or remove the 2 way auth tool without first having access to the phone.
But if the person re-authenticating has a trojan on their computer (as may have been the case here) there is _nothing_ that can be done to prevent a third party from accessing their stuff.
If they have a trojan on your computer, they can still access everything in your account. 2-factor auth doesn't help. Very little does help if you have a trojan on your computer.
I admit in the scenario played out here - hacker tries to scam your friends - changing the password might help the hackers a little bit. Presumably they want to mail back and forth with your friends (first a plea for help, then sending a bank account number).
Still, that is only a minor danger compared to major damage of accessing your account, which the trojan does anyway.
For example even without a password the scammers could just claim that they have a new email address.
One of the main reasons I had some piece of mind when my account got hacked at MTGOX is that I had two factor on my Gmail: http://www.rakkhis.com/2011/06/i-was-hacked-mtgox-bitcoin-3-...
After this and another incident with a colleagues wife, I have made a note to set it up for my wife's account also tonight.
I hope they expand the list of allowed countries for backup phone numbers soon, including support for the "less important" countries like mine. Or else allow activation of two-factor auth for people who agree to have only the list of printed one-time codes for entry and no backup phone number. Preferably the former.
I live in the UK, but only own a mobile nowadays. So I used a local Skype number for things like this.
Just never let that number expire. And now your Skype account needs a phonemenally complex password too.
How could the 2 step authentication help me - say I register with my US cell phone and I am out of the country for most part of the year?
Enough people have asked these (very reasonable) questions that maybe I should do a video about two-factor authentication.
won't help you if you have no phone at all but you can generate one-time-use passwords at will, so you could just stock up I guess.
On the page that lists the current ones and lets you regenerate them it says, "Be sure to throw away any previous versions. Only the latest set of backup verification codes will work."
Even if somebody else does get access to my (non gmail) email account, all they're going to see is PGP encrypted emails:
https://grepular.com/Automatically_Encrypting_all_Incoming_E...
Of course, you have to be running your own mail server to implement this.
Now, if you are checking your account from random PC's at internet cafes all over Europe, and making yourself vulnerable to keylogger attacks, you are pretty much screwed anyway. Even if you use two-factor authentication, and remember to clear out the cookie before you leave, an attacker can still steal the cookie and use it to take over your account (or at least steal all sorts of secrets from your gmail account).
Two-factor authentication will definitely help, but it doesn't protect you against carelessness.
Also, if you got a strong and unique password, and do not login from untrusted devices that may be keylogged, you're quite safe already.
I already use a strong/unique password for Gmail, and I do my best not to login from untrusted devices, but adding two-factor authentication reduces the potential attack surface that much more.
2-factor auth gives you a considerable security advantage over "a strong and unique password" and not logging in from untrusted devices - I'd recommend you try it.
(I work at facebook, and we offer a similar thing called "login approvals" - go to "security" under https://www.facebook.com/editaccount.php to turn it on).
As a 1.5 user there is nothing that hacks me off more than getting my hopes up at an app my phone can actually use (a rare occasion these days) and then having it snatched away. I don't blame Google for supporting 2.x and up, but lies are unacceptable.
The software might make it easier than receiving an sms which needs typing in, but all your mobile applications can still use the system - you just generate a new pasword for each application (as you would for a Google Talk client on your desktop).
My laptop has encrypted hard disks so is set to remember Google passwords for 30 days. I can login from other devices using my pasword and an sms validation code which expires as soon as I log out.