News for hackers. Stuff that matters.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by _nedR on Tuesday July 26, 2016 @02:53AM (#12163787)
Another advantage of sms over dedicated 2FA apps is that even a 10 dollar phone or decade old phone running palm OS can be supported through it. (provided there is network coverage).

A problem with sms though is that you need cell phone coverage. I have been in situations where my transaction has timed out while waiting for the sms text to arrive.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @03:02AM (#12163818)
You don't need a phone at all with TOTP. Just a TOTP client, which could even run on the same machine.

Fun story about this: When Blizzard introduced TOTP, I wrote a Blizzard Auth library and client so that I could use their 2fa on my desktop (https://github.com/jleclanche/python-bna). Why? Because I was sharing my Blizzard account with someone else, but still wanted to use 2fa. And people kept telling me "2fa must be on a different machine otherwise it's not secure", so I was using 2fa wrong and shouldn't use it at all.

Well that's bollocks. Same-machine 2fa is more secure than no 2fa at all. There's another comment below that talks about "perfect being the enemy of good" and that's exactly it.

So we absolutely should start promoting the fact that you can use TOTP on desktop, even if it's less secure. A lot of users don't use 2fa because they either don't have a phone, or don't have their phone constantly with them.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by _nedR on Tuesday July 26, 2016 @03:36AM (#12163916)
My point is someone should have written a TOTP client for your particular platform. Also different services use different TOTP systems. I am not well-versed in the matter. For example Steam uses its own app, many apps use google authenticator, microsoft uses its own, others still use authy. AFAIK they aren't interchangeable. I can't be bothered installing all these apps, each of them has their own nefarious agenda to hoover data off my phone.

SMS just works. (except when it doesn't)

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @03:53AM (#12163986)
TOTP is a standard. It just works, and it always does, even if you don't have internet on your phone. Even if you don't have reception. Even if you're out of credit. Even if you're out of the country. Even if your telecom provider hates you. Authy is TOTP. Google Authenticator is TOTP. They are all interchangeable. You can use FreeOTP if you don't want to deal with those: https://fedorahosted.org/freeotp/

Steam is SMS, and I heard they now have a shitty custom 2fa but what you're describing is services that don't use an established standard, which is compatible with hundreds of established clients. SMS isn't merely nonstandard (and now deprecated), it's more expensive for both the user (requires an active sim card) and the server (requires sending SMS to numbers all over the world).

Re:NIST declares the age of SMS-based 2-factor authenticatio... by _puk on Tuesday July 26, 2016 @05:35AM (#12164404)
The argument I've heard for why steam requires a custom 2fa is to do with trading on the marketplace [1]

The custom component makes sure that marketplace activity is valid (somewhat like the custom banking dongles you get that require both your pin and some transaction identifier).

They'd be better off allowing the option of standard TOTP auth for login, so users can use a standard authenticator app, and then layer on a custom app for trading if needed.

1: http://steamcommunity.com/discussions/forum/0/49463187366895...

Re:NIST declares the age of SMS-based 2-factor authenticatio... by WorldMaker on Tuesday July 26, 2016 @12:28PM (#12166769)
Right their needs don't really justify a custom 2FA at all. Security through obscurity isn't all that much of an advantage and bundling the trade approvals and 2FA into the same app is maybe nicer for some users, but technically unnecessary. If anything it just scans as Valve's traditional NIH syndrome being exhibited here.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @05:49AM (#12164453)
Can you elaborate? I don't use the marketplace; how does the custom component achieve any of that?
Re:NIST declares the age of SMS-based 2-factor authenticatio... by asuffield on Tuesday July 26, 2016 @05:48AM (#12164452)
Detail: Google Authenticator is TOTP or HOTP, depending on how the service owner set it up.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by vog on Tuesday July 26, 2016 @03:28AM (#12163898)
Can "same-machine 2FA" be still called 2FA? Where is the independent second factor if it all runs on the same machine?
Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @03:30AM (#12163901)
Factor 1 is the password, factor 2 is an ephemeral 1-time-use token.

If the token's seed is secure (YMMV), it doesn't matter if it's on the same machine.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by raesene6 on Tuesday July 26, 2016 @03:48AM (#12163970)
A practical attack against users is malware on the machine, which would allow screen viewing and key logging

An attacker can then compromise both factors at the same time.

To me, this weakens the point of 2FA a lot.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by Matt3o12_ on Tuesday July 26, 2016 @04:00AM (#12164015)
And another one is to try passwords from previous database dumps against your email/etc. This is even more effective then using malware.

If you are able to use a second device for your 2FA, great but it is not always possible and 2FA on the same device is still better then no 2FA at all. I don't want to carry around a key just for all my 2FA passwords but still want to use my phone for common tasks that require 2FA.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @03:57AM (#12164003)
It's pretty irrelevant nowadays anyway. People log on their google, facebook, etc accounts from their phone as well as their desktop so for a lot of user, 2fa is done on the same machine anyway - that machine just happens to be the phone.

Additionally, the keylogging threat is severely reduced against most 2fa (because the login has to happen before the user sends the OTP) and can be eliminated completely by ensuring the token code is on a separate screen and creating a 30 second lock on the account while the user is entering the code.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by raesene6 on Tuesday July 26, 2016 @04:22AM (#12164106)
Mobile device security (well for IOS anyway) is waaaaaaaay better than PC security (for ordinary users), so I'd disagree on that point that app+phone is the same as browser+PC.

In what world is malware which has full control of the PC stopped by having the token code on a separate monitor but the same logical system (if that's what you're talking about).

An attacker with control of the PC can just get access to any app. on that PC...

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @04:30AM (#12164137)
Maybe on a $300 phone.

This is fun, I have a tablet here on my desk I was given to repair a couple days ago. It's a mainstream tablet here in greece, sold for 70-90€, the sort of thing you'd buy if you are an "ordinary user" who doesn't know any better.

Well it's running a 4.x android with a custom marketplace and it is FULL OF ADWARE. Seriously. There's fullscreen porn popup ads on the OS itself. There's hundreds of spam notifications, a "fake" screenlocker which captures your taps into ads, etc, etc. Seriously, this thing is like a Windows XP SP0 PC from 2005 after heavy adblockless porn usage with flash and java on. I actually haven't seen anything like that this decade.

This is what you get if you buy an off-the-shelf tablet or phone here. This is what "ordinary users" get. We gave up control of our own devices in the name of security, yet shit like this can still happen.

(Sorry for the OT rant. Seeing that tablet pissed me off.)

Re:NIST declares the age of SMS-based 2-factor authenticatio... by jasonlotito on Tuesday July 26, 2016 @10:27AM (#12165829)
Your confusing Out of Band authentication with 2FA. They are not mutually exclusive, and solve for different issues.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by adyus on Tuesday July 26, 2016 @03:37AM (#12163920)
How does that mitigate against the one machine being stolen?

The convention is that the chances of two devices getting stolen together are smaller. That's why offsite backups are a thing.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @03:48AM (#12163971)
It can, eg. if the seed is encrypted, but that's not what you're warding against. If the machine is stolen, one might install a custom CA or even custom web browser to MITM any https connection and just steal all your credentials, sessions and what not.

When Battle.net authenticators were introduced, the primary threat was keyloggers and leaked passwords (from reuse). Both of those threats are eliminated by TOTP, wherever it is.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by jjnoakes on Tuesday July 26, 2016 @07:57AM (#12164949)
If the machine is stolen and someone changes your software (browser, CA, whatever), that only hurts you if the machine is later returned to you and you don't wipe it.

But this discussion was more about if the machine was stolen and the bad guys logged in to your online accounts from it.

In that case it is true they would have your OTP, but they shouldn't have your Blizzard password.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by jjnoakes on Tuesday July 26, 2016 @07:55AM (#12164934)
It doesn't.

Passwords (on the OS account and on the Blizzard account) mitigate against the machine being stolen.

OTP mitigates against the password being stolen.

It is what you know and what you have so that if someone gets one they don't automatically get the other.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @08:03AM (#12164970)
As an aside: The "What you know and what you have" paradigm is failing, imo. We often say passwords should be autogenerated, unguessable and unlearnable, stored in password safes like Keepassx. This removes "what you know" and you end up with "two things you have" (An OTP seed and a password in a safe).

When both the password and the TOTP seed are on the same machine - assuming you autogenerated your password - they are both autogenerated and out of your sight so they really are just two things you have, and you have them in the same place. The difference is, it's impossible to capture the TOTP seed from the TOTP token being input - passwords are vulnerable to that.

Am I crazy or does that make the password completely redundant?

Re:NIST declares the age of SMS-based 2-factor authenticatio... by jjnoakes on Tuesday July 26, 2016 @09:08AM (#12165306)
If you lock your password database with a long, secure password that you know, then you are still doing it "right".

If your password database is not encrypted with a strong passphrase, then you are right, they both become "what you have".

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @09:21AM (#12165381)
Ah, that's true.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by mtgx on Tuesday July 26, 2016 @04:20AM (#12164102)
NIST does make a difference between the two, which is why it calls it "out of band authenticator."
Re:NIST declares the age of SMS-based 2-factor authenticatio... by taeric on Tuesday July 26, 2016 @08:08AM (#12164992)
I'm confused. Both of these are just "something the user knows," right? Making this explicitly not 2-factor.

Or, are we treating the ephemeral 1-time-use token as something the user has?

Re:NIST declares the age of SMS-based 2-factor authenticatio... by _nedR on Tuesday July 26, 2016 @03:37AM (#12163922)
edited: But if your machine is compromised, attacker gains access to both factors.

edit: I don't know. Maybe your implementation meets the definition of 2FA. Regardless, it certainly reduces the security

Re:NIST declares the age of SMS-based 2-factor authenticatio... by mseebach on Tuesday July 26, 2016 @12:09PM (#12166612)
Your problem isn't with 2FA, TOTP or SMS, it's with sharing an account that isn't meant to be shared. When you use a feature in a way it isn't meant to be used, sometimes you're going to get some sub-par user experiences.

Should Blizzard support multiple users of the same account? Perhaps, but that's out of scope here.

Re:NIST declares the age of SMS-based 2-factor authenticatio... by scrollaway on Tuesday July 26, 2016 @01:18PM (#12167198)
The reasoning behind why I wrote the library is completely and utterly irrelevant. I regret mentioning it.
Re:NIST declares the age of SMS-based 2-factor authenticatio... by icebraining on Tuesday July 26, 2016 @04:05AM (#12164038)
There are TOTP clients for both PalmOS and J2ME phones: http://developer.sysco.ch/php/mobile-dispatcher/mobile.dispa...