News for hackers. Stuff that matters.
Re:YubiKey 4C by tptacek on Monday February 13, 2017 @10:49AM (#13636115)
Some people will tell you to buy two Yubikeys and leave one as a backup. I don't think that's necessary. No matter what, you should generate a backup software key and keep it on offline encrypted storage; if you lose the token, just use the backup key until your replacement arrives.

It's even easier for Github and Google Mail. For web services, the right stack is:

* Hardware U2F token

* Backup software TOTP (Duo or Google Authenticator or whatever)

* Backup printed (or saved on offline USB key) passcodes

* Disabled SMS.

Unlike SMS, which is devastating to security even as a fallback, having a software TOTP option is basically fine; most of what U2F buys you is unphishability. This leaves you with two levels of backup, one of which is reasonably secure indefinitely.

Re:YubiKey 4C by merijnv on Monday February 13, 2017 @11:01AM (#13636220)
Isn't disabled SMS overkill for most casual thread models? As I understand it SMS would require someone to MITM the telecom network OR snoop the local antenna when you receive it on your phone. Which is a danger if you expect, like, nation-state adversaries.

But if I'm, say, protecting my GitHub account against Russian mafia hackers, that still seems perfectly fine?

Re:YubiKey 4C by pfg on Monday February 13, 2017 @11:12AM (#13636325)
The bigger problem for SMS-based 2FA are social engineering attacks on the support personnel of mobile network operators. They typically don't have fancy authentication schemes - it's fairly easy to get them to redirect messages to a different SIM or something like that.
Re:YubiKey 4C by problems on Monday February 13, 2017 @11:09AM (#13636293)
I can't speak to current day, but in the past it's been very easy to social engineer telecoms. So especially for high value accounts this shouldn't be used.
Re:YubiKey 4C by tptacek on Monday February 13, 2017 @11:10AM (#13636299)
No, defeating SMS security is not a state-level-adversary task.
Re:YubiKey 4C by danjoc on Monday February 13, 2017 @12:24PM (#13636968)
Can you disable SMS on google? I've tried and have been unsuccessful. Phone is required to enable 2FA. Once that is enabled, I can add yubikeys. After adding yubikeys, I am unable to remove phone as a 2FA alternative.
Re:YubiKey 4C by pfg on Monday February 13, 2017 @12:40PM (#13637135)
It's possible to disable SMS-based 2FA. Perhaps you need another backup option before you're allowed to remove the SMS option. In my case, I was able to do it with two U2F keys, TOTP and backup codes enabled.

You might need to remove it as an account recovery number as well. Those can effectively downgrade your login to one factor.

Re:YubiKey 4C by danjoc on Monday February 13, 2017 @03:42PM (#13638581)
>you need another backup option before you're allowed to remove the SMS option.

This was the answer. Google prompt isn't allowed with hardware tokens. Backup codes evidently don't count. So the only way is to set up Google Authenticator on a phone. Authenticator from f-droid works. After I set up Authenticator, I no longer got the "Something went wrong. Try again" toast when trying to delete the sms number.

Edit: Just realized what Yubico Authenticator is for :)

Re:YubiKey 4C by tptacek on Monday February 13, 2017 @12:34PM (#13637066)
Yes: delete your phone number.
Re:YubiKey 4C by nickik on Monday February 13, 2017 @04:49PM (#13639091)
I was also unable to do this, but I tried earlier today and it worked.

You have to have TOTP and Backup keys. Maybe this is a recent change.

Re:YubiKey 4C by niij on Monday February 13, 2017 @02:10PM (#13637843)
You need a software token (Google Auth) or backup codes before removing the phone number.