News for hackers. Stuff that matters.
Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @01:15AM (#17027545)
That’s really the flaw of single sign-on and Webauthn - that one key now unlocks the kingdom.
Re:Yubico and Microsoft Introduce Passwordless Login by StavrosK on Wednesday May 09, 2018 @07:44AM (#17029059)
It's not, you're misunderstanding and spreading misinformation. The "key to the kingdom" is a random asymmetric keypair. The PIN is only there as a second factor to this key to prevent physically stolen keys being used to authenticate. If you enter the PIN wrong five times, the device can just lock itself.

There might be a way to steal the PIN if the user enters it on a compromised machine, but you can't do anything with the PIN. You need the physical device as well.

Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @09:22AM (#17029555)
I think you misunderstand how the CTAP portion of Webauthn works - once the root credential authenticates the user, they no longer have to use passwords for the user’s various accounts. The simple point is that if this credential became compromised for whatever reason, then all associated accounts are by definition compromised.
Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @02:45PM (#17032637)
Wait a second. Web Authentication is not an SSO framework - there's no "root credential". Each server you use the token on gets its own keypair which is used for only that site.

It seems like the scenario you're describing in further replies is this: 1) Alice has an account at service A and an account at service B, and authenticates to both with the same FIDO2 token. 2) Eve calls service A and convinces them she's Alice and needs a new token. 3) Service A sends Eve a new token registered to Alice's account. 4) Eve uses the new token to log in as Alice at service B.

The above attack is not possible, since the keypair for service A is not usable at service B. This separation of credentials for separate services is a fundamental FIDO/WebAuthn design feature for damage control and user privacy. Eve can use the new token to log in to service A, yes, but only to service A.

Even if service A and service B were to try to cooperate out-of-band to support each other's credentials, the browser would not let them unless they're on the same domain.

Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @03:46PM (#17033270)
See CTAP in FIDO2 - something needs to determine you are the user before opening up the key set. The attack point will be at this step.
Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @04:41PM (#17033868)
I'm sorry, I don't understand at all what you mean by that.
Re:Yubico and Microsoft Introduce Passwordless Login by StavrosK on Wednesday May 09, 2018 @09:26AM (#17029585)
Yes, certainly. And in order to compromise that root credential, you'd have to physically steal the key, and either decap the chip and read the bits somehow, or find a vulnerability that allowed you to read the private keys through USB.

Needless to say, this is much, much harder than stealing someone's password.

Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @09:32AM (#17029623)
Credential reissue (lost token) would be a much easier path for an attacker. The weakest point is always the point of compromise. For the smart attacker therefore, they have been handed the whole set of accounts. So yes the original point stands - attackers will find it more lucrative to do account compromise in the Webauthn world.
Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @02:46PM (#17032652)
I think you misunderstand how WebAuthn works - see my other reply to your previous message.
Re:Yubico and Microsoft Introduce Passwordless Login by StavrosK on Wednesday May 09, 2018 @09:38AM (#17029671)
How would an attack without having the hardware key work?
Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @11:58AM (#17030844)
They might call in and say they lost their token, and a competent attacker will usually have all the necessary info. Happens all the time with credit card fraud. Sure, you can notify the target that a credential was reissued, but that happens with credit cards too, and most of the time people don’t pay attention.

About 15% of the user population really cares about security and will take the right precautions. It’s the other 85% that are soft targets that keep attackers in business.

Re:Yubico and Microsoft Introduce Passwordless Login by StavrosK on Wednesday May 09, 2018 @12:01PM (#17030882)
Okay, but how is that the key's fault? This has literally nothing to do with the authentication method, it doesn't give you access to any other site or anything. It's just a social engineering attack on the service, and it's pretty much the only one left because everything else has been obsoleted by the use of hardware tokens for auth.
Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @03:49PM (#17033313)
Not finding fault. The point of Webauthn is convenience - but the trade off is that if CTAP is compromised, it’s convenient for the attacker too.
Re:Yubico and Microsoft Introduce Passwordless Login by StavrosK on Wednesday May 09, 2018 @04:53PM (#17033979)
I don't see how that's different from passwords, though. If your password gets compromised, it's game over as well, and it's much easier to compromise that.
Re:Yubico and Microsoft Introduce Passwordless Login by zaarn on Wednesday May 09, 2018 @02:50AM (#17027860)
I don't see that as a flaw really. It's not different to having a password manager, with proper WebAuthn atleast.

What you do is you take this key that unlocks the kingdom.

And then you keep it safe.

Unlike before there isn't 20 keys that unlock parts of the kingdom that might lead to unlocking other kingdoms via roundabout ways. Your attention for security can be focused on a single key.

The average users will be much safer if we force them to only have to remember one single password that can be securely used for everything without the usual drawbacks (that's why security people recommend password managers)

Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @03:32AM (#17028018)
The flaw stems from the fact that an attacker can thru social engineeung acquire that root crendential (password or biometric or token). Once they have it, they can clean out all your banking, stock and home equity line accounts in one sweep. You as a user may not know that credential is compromised - maybe it was a key logger, maybe it was social engineering the cell phone provider to port your number and then qualify their phone with an sms token. You don’t know when that happened - you just see empty accounts.

With personal password managers, no third party is issuing tokens for access - just you. So it’s unlikley to be chosen for an attack - because it’s too hard for the attacker to acquire the credentials for access without detection.

Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @02:49PM (#17032675)
I think you misunderstand how WebAuthn works - there's no "root credential". See my other reply https://news.ycombinator.com/item?id=17032637

No third party issues tokens in WebAuthn either - you have your one or a couple of authenticators you use everywhere, and those authenticators create their credential keypairs locally on the device (and a separate keypair is created for each site - they're not shared between sites).

Re:Yubico and Microsoft Introduce Passwordless Login by zaarn on Wednesday May 09, 2018 @04:36AM (#17028255)
Social Engineering is difficult problem with a solution quite simple; make the hardware resistant to replay attacks and don't give the user anything they can leak.

Password managers don't protect against this. People have given attackers their entire password vault, all you need is a convincing story about some security audit and you needing to review all their passwords. Users believe this.

The solution there is to take away the things a user can leak (passwords) and replace them with things that can only be stolen (tokens). We can train users to never give away their yubikey. Of course some will still fall for social engineering but for a yubikey/equivalent it's fully acceptable to say "never ever never give to anyone, no matter what they say".

Re:Yubico and Microsoft Introduce Passwordless Login by Freak_NL on Wednesday May 09, 2018 @04:05AM (#17028135)
Whether you use a hardware key, or a password manager, in both cases the attacker needs both authentication factors: your password, and the hardware key or password manager.

With a hardware key you gain the advantage of the attackers having to physically gain access to that key.

Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @09:34AM (#17029640)
This is the misunderstanding attackers can exploit. Credentials need to be reissued because people lose them ocassionally. So that process now becomes a pathway for exploits.
Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @03:06PM (#17032852)
No - that process _remains_ a pathway for exploits against the particular website being targeted. The process does not open new pathways for transferring exploits from one site to another - on the contrary, such exploits are made more difficult by the separation of credentials.
Re:Yubico and Microsoft Introduce Passwordless Login by not_that_noob on Wednesday May 09, 2018 @03:47PM (#17033290)
See my reply to your other comment and review CTAP in the spec.
Re:Yubico and Microsoft Introduce Passwordless Login by emlun on Wednesday May 09, 2018 @02:59PM (#17032781)
To be more precise, the PIN is the key that unlocks the keyring (the hardware token) that contains the keys (asymmetic keypairs) to the various kingdoms (websites). WebAuthn is not a single sign-on framework, and there's no "root credential" that's used everywhere.