News for hackers. Stuff that matters.
Re:SMS is not 2FA-secure by kccqzy on Friday January 10, 2020 @09:21PM (#22017633)
After using TOTP like Google Authenticator since around 2013, I now think the friction needed is just too great. Especially for banks which log you out after 15 minutes or so of idleness. Google doesn't do that.

Not to mention Google Authenticator deliberately prevents these stored tokens to be backed up and transferred to a different device, which makes upgrading devices troublesome.

I wish everyone would start using Yubikeys. WebAuthn is now widely supported by browsers.

Re:SMS is not 2FA-secure by jkepler on Friday January 10, 2020 @10:10PM (#22017831)
Why not use an open TOTP app like AndOTP. I use it all the time for sites that claim to require Google Authenticator, it works, and its easy to backup the secrets as plain text or encrypted with a password. I keep it current on my primary phone and a cheap offline backup, in addition to backing up the encrypted secrets file.
Re:SMS is not 2FA-secure by balladeer on Saturday January 11, 2020 @01:30AM (#22018535)
I use Authy on iPhone and Mac. I am looking for an OSS replacement but would not want to setup everything from scratch after I change device reinstall the app like Google Authenticator.
Re:SMS is not 2FA-secure by __david__ on Saturday January 11, 2020 @08:24AM (#22019726)
https://freeotp.github.io/

iPhone backups back up its data correctly—my codes survive new phone restores where they do not with Google Authenticator.

Re:SMS is not 2FA-secure by samatman on Saturday January 11, 2020 @05:19PM (#22022757)
Thanks for sharing this link.

I've wanted to get off Google Authenticator for awhile now, mostly because of the backup-restore problem, also a general trend of limiting my involvement with the company.

Re:SMS is not 2FA-secure by sneak on Saturday January 11, 2020 @02:17AM (#22018647)
Bitwarden does a decent job of storing and syncing TOTP codes. Make sure you always use a long password with Bitwarden though, to avoid a known and unpatched issue with their password-based key derivation.
Re:SMS is not 2FA-secure by balladeer on Saturday January 11, 2020 @03:21AM (#22018860)
Oh, didn’t know BitWarden did it. That’s my password manager :)
Re:SMS is not 2FA-secure by AaronFriel on Saturday January 11, 2020 @12:42PM (#22021154)
What issue is that?
Re:SMS is not 2FA-secure by sneak on Saturday January 11, 2020 @06:10PM (#22023072)
Re:SMS is not 2FA-secure by aloer on Saturday January 11, 2020 @04:42AM (#22019099)
People recommend Authy. As far as I can tell they rely on cloud sync/backup like any other app in that space.

Isn’t google authenticator not using this on purpose? Central account and sync is googles thing and yet they deem it too insecure. Completely understandable

So how can using a central service that adds yet another attack vector be of value?

What I would love to have is a paper export. Every time you add a new account to google authenticator you can print it as QR code for later reimport.

Yes many services already provide this for you via recovery codes but having it on a per service basis directly from authenticator is probably much easier to use and not less secure

Any reason this wouldn’t work?

Re:SMS is not 2FA-secure by saagarjha on Saturday January 11, 2020 @07:20AM (#22019514)
I can't see any, based on my slightly more than superficial dive into this area when working on my own two-factor application.
Re:SMS is not 2FA-secure by Terretta on Friday January 10, 2020 @10:10PM (#22017836)
Don’t put them in google authenticator.

https://support.1password.com/one-time-passwords/

Re:SMS is not 2FA-secure by jdeibele on Friday January 10, 2020 @10:40PM (#22017964)
That sounds good but put them in Authy. That lets you have multiple devices whereas Google limits you to one device.

It's great that people use can use one app for both factors but it seems less secure than two apps.

For example, use Authy for TOTP and LastPass for long passwords. That's two things that have to be compromised. And both of them allow you to have multiple devices (for example iPhone and iPad).

Re:SMS is not 2FA-secure by jorvi on Friday January 10, 2020 @11:03PM (#22018036)
Its great functionality but it reduces your security. Say someone somehow figures out your 1Password password and security key - if you store your OTPs in Authy, your passwords are useless (well, less useful anyway). If you store your OTPs in 1Password, they have the keys to the kingdom.
Re:SMS is not 2FA-secure by SpaethCo on Saturday January 11, 2020 @03:21PM (#22022041)
This is technically true, but the most likely scenarios that result in the discovery of your secret key (128bits of entropy) + master password (?? additional bits) involve things like a device compromise. If your machine is compromised, you’re probably already exposed to things like session cookie stealing. At that point your attack surface is already blown wide open.

The biggest thing 2FA protects against is credential stuffing. If you’re using a password manager and have high entropy site-unique passwords, the additional entropy by TOTP is mostly moot anyway.

Re:SMS is not 2FA-secure by jorvi on Monday January 13, 2020 @01:12PM (#22036971)
TBH for me my threat model looks like this:

Passwords - protect against unauthorized access of my service accounts, and 1Password - can be compromised via logging or breaches or just plain peeping

Secret key - acts as 2FA for my 1Password and thus protects my master password from unauthorized use - can be compromised if someone steals the physical paper on which it's stored

TOTP - protect against unauthorized use of my service accounts - can be compromised if someone compromises my mobile phone or phone number. Highly unlikely someone would spend that kind of effort and €€€ on me though

All in all its a pretty nicely tiered system. If someone gets my master password, they still need the secret key. If a burglar steals my secret key, they don't have my master password. If someone somehow compromises both of those, they still don't have access to my TOTPs and thus can't login into any of my 'cricital' accounts (basically e-mail, hosting providers, finance, etc. etc.)

Now imagine you have an malicious spouse or housemate or whatever: they could easily learn your master password by peeping over your shoulder, piecing it together bit by bit (ha). They have a lot of opportunity to search for your secret key as well. If you put your TOTPs on 1Password, you're boned. But if you have them in an authenticator app, even having access to your password manager means jack because they can't login without your TOTPs.

I know one of the big faux pas is to talk about your security but most of this stuff can be deducted pretty easily so I don't feel too exposed.

Re:SMS is not 2FA-secure by obituary_latte on Friday January 10, 2020 @10:31PM (#22017922)
Wow that’s awesome! I had no idea 1Password had this functionality so thanks for sharing. I just had a rough time after upgrading my phone dealing with Google Authenticator since I hadn’t realized my Auth info would not migrate along with the rest of my data...
Re:SMS is not 2FA-secure by kccqzy on Friday January 10, 2020 @10:54PM (#22018001)
Yes that's what I've been doing after being burned by Google Authenticator once. Not to mention I actually prefer the UI design of 1Password.
Re:SMS is not 2FA-secure by lutorm on Friday January 10, 2020 @10:11PM (#22017842)
Isn't that solvable by not requiring 2fa for "registered" devices?
Re:SMS is not 2FA-secure by tempestn on Friday January 10, 2020 @10:47PM (#22017988)
Exactly. You should only have to enter the second factor on a given device once, at least optionally.
Re:SMS is not 2FA-secure by lrem on Saturday January 11, 2020 @02:38PM (#22021811)
What about the device getting compromised?
Re:SMS is not 2FA-secure by thaumasiotes on Saturday January 11, 2020 @03:07AM (#22018819)
> Not to mention Google Authenticator deliberately prevents these stored tokens to be backed up and transferred to a different device, which makes upgrading devices troublesome.

It doesn't offer export in the app UI. It's not doing anything to prevent you from backing up the tokens yourself; they're stored in the clear in the sqlite database for the app.

If that's too much for you, there's a good chance https://github.com/puddly/android-otp-extractor can get them automatically.

Re:SMS is not 2FA-secure by rorykoehler on Saturday January 11, 2020 @12:16AM (#22018300)
Use Authy instead of Google Authenticator. Problem solved. RFC 4226 doesn't specify that you can't have shared devices.
Re:SMS is not 2FA-secure by LordAtlas on Saturday January 11, 2020 @02:45AM (#22018746)
Use Authy. Can be transferred to a new device.
Re:SMS is not 2FA-secure by imtringued on Saturday January 11, 2020 @03:54PM (#22022225)
>Not to mention Google Authenticator deliberately prevents these stored tokens to be backed up and transferred to a different device, which makes upgrading devices troublesome.

If that were possible then you would face the same problems that reused SMS numbers suffer from.

Re:SMS is not 2FA-secure by riffraff on Saturday January 11, 2020 @04:00AM (#22018976)
AFAIK, in the EU all banks are required to have "strong authentication" which usually means using 2FA via biometric authentication on your phone.

Classic Google Authenticator does not seem much more friction than that.

Re:SMS is not 2FA-secure by justincormack on Saturday January 11, 2020 @04:20AM (#22019042)
That is not true. Banks in the EU seem to vary a lot, as the definition of “strong” is not defined (plus many banks have not introduced it yet). Biometric is definitely not required. I use hw tokens but at least one of my banks is trying to move to weaker auth.
Re:SMS is not 2FA-secure by riffraff on Saturday January 11, 2020 @04:59AM (#22019139)
I didn't say biometric is required, I said it's normal to have 2fa with friction, an hardware token is just as much friction as TOTP or biometric.

I am surprised your bank is moving to a weaker auth, what does that mean?

I have 3 bank accounts in 2 countries and they all switched to biometric because it's just a simpler experience then the hardware token or "mobile token" they used before.

Re:SMS is not 2FA-secure by brightball on Saturday January 11, 2020 @08:30AM (#22019750)
WebAuthn is definitely the way to go. The security key approach is such a better user experience that the app based approaches.