4 ms·
Most challenge response systems don't help either, the attacker gets to forward the challenge to you, and then your response back to the real site. It's some ex
by tialaramex 7y ago
Most challenge response systems don't help either, the attacker gets to forward the challenge to you, and then your response back to the real site. It's some extra work but you can get ready-made software to help perform this attack.
WebAuthn (and the older U2F) works, because it's recruiting the browser (which knows perfectly well which site this is) to mint site-specific credentials every time.
An attacker with a phishing site https://fake-gitlab.example/ https://fake-gitlab.example/ has a few options, none of which work out for them:
* Just don't do WebAuthn, now they don't have a second factor and can't get in
* Ask the browser for legitimate WebAuthn credentials for fake-gitlab.example. But, of course GitLab won't accept those credentials, any more than it'd accept a made-up username so they're useless.
* Show the browser the "cookie" GitLab offered for GitLab WebAuthn credentials, the browser will cheerfully give a user's FIDO dongle this cookie and the fake-gitlab.example name, and the dongle will explain that it doesn't recognise the combination, maybe use a different dongle? No joy.
* Show the browser that cookie and tell it this is gitlab.com. But this is fake-gitlab.example not gitlab.com, so the browser will just raise a DOMException SecurityError in the fake site's JS code. The code can hide that easily, but it doesn't get any credentials.
- usr1106 7y agoThanks for mentioning https://en.m.wikipedia.org/wiki/WebAuthn https://en.m.wikipedia.org/wiki/WebAuthn According to Wikipedia Dropbox supports it. Any other widely used adopters? Need to check whether gitlab supports when I am at my computer. So it might well be that they even mandate it for their employees. But the statement or at least the part of the statement that made it to the article was not that specific.
- Nullabillity 7y agoGoogle, GitHub, GitLab all support it, at least. Azure AD, notably, does not.
- madjam002 7y agoAzure AD does, and was one of the first to adopt the new WebAuthN standard. https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-authentication-passwordless-deployment#plan-passwordless-authentication-with-fido2-security-keys https://docs.microsoft.com/en-us/azure/active-directory/auth... You can also use it on a personal Microsoft account.
- Nullabillity 6y agoI guess it might be a premium feature then? It certainly doesn't show up as an option for me..
- tialaramex 7y agoMy understanding is that Google mandates U2F (the de facto predecessor to WebAuthn) for employee systems, certainly the Google employees I know have FIDO keys. One interesting thing is that some of them don't really understand how those keys work - and the U2F/WebAuthn design means that doesn't matter at all. I believe way more firms should do this and I've tried to gently encourage it at places I've worked. Older sites tend to support U2F rather than WebAuthn. If you're on a greenfield install, you should just do WebAuthn, but it can be complicated in some scenarios to migrate from U2F especially if you're huge so it's understandable that not all have. In at least Chrome and Firefox the UX is identical anyway. So, not differentiating them: Facebook, GitHub and Google are three popular examples You can also authenticate for some US Federal Government business on Login.gov (even if you aren't a US citizen) And the UK's "Gov.uk verify" authentication can use Digidentity's offering which in turn relies on WebAuthn or U2F. Edited to add: AWS can do it, but, for some crazy reason they won't let you register more than one FIDO dongle. So I would not advise securing an "admin" AWS account this way, only users who can go to someone with admin privs to reset if they lose the dongle, but it's good for a team of developers I guess. Not allowing multiple dongles goes against the intended security design, ignores a SHOULD in the WebAuthn standard, and also makes a bunch of the fairly complicated design pointless, I can't tell if Amazon are incompetent or had some particular weird reason to do it.
- usr1106 7y ago> Need to check whether gitlab supports when I am at my computer. They support U2F, of course completely opt-in for users/customers. The question that remains is do they mandate it for employees.