News for hackers. Stuff that matters.
Re:Google: Security Keys Neutralized Employee Phishing by decasia on Monday July 23, 2018 @09:31AM (#17592571)
I guess this is a dumb question, but is it still "multi factor authentication" if you only use a single physical device to complete the login process?

The way the article is written, it makes it sound like the physical key is a replacement for 2FA instead of just a hardware device that handles the second factor (while leaving the password component in place).

Re:Google: Security Keys Neutralized Employee Phishing by izacus on Monday July 23, 2018 @09:34AM (#17592584)
The key replaces the keycode of 2FA auth - password still has to be used.

You can already use the same process on your GMail if you have a compatible U2F key.

Re:Google: Security Keys Neutralized Employee Phishing by decasia on Monday July 23, 2018 @09:36AM (#17592609)
OK thanks, this clarifies the part that says "it began requiring all employees to use physical Security Keys in place of passwords and one-time codes," which I found super confusing.
Re:Google: Security Keys Neutralized Employee Phishing by ehsankia on Monday July 23, 2018 @01:27PM (#17594254)
Strange sentence, but I believe they mean replcaing "password + one time code" with "password + U2F"
Re:Google: Security Keys Neutralized Employee Phishing by Boulth on Monday July 23, 2018 @01:41PM (#17594356)
Actually U2F can be used to devise several different schemes, either token+password, or token alone, even just token without username. Of course each of these has various advantages and disadvantages.
Re:Google: Security Keys Neutralized Employee Phishing by cbhl on Monday July 23, 2018 @06:29PM (#17596548)
Some logins are cookie + security key (basically if I've already logged in today) which basically feels like "tap my security key and I'm logged in".

Of course, more sensitive stuff (access to production, access to pay stubs, access to $cloud_erp) requires re-entering password plus the security key.

Re:Google: Security Keys Neutralized Employee Phishing by Freak_NL on Monday July 23, 2018 @10:41AM (#17593073)
The password can be replaced by something simpler like a PIN, which is why you'll read about U2F replacing passwords and one-time codes.

Sometimes 'replacing passwords' is used to mean 'replacing the traditional username and password login' as well.

Re:Google: Security Keys Neutralized Employee Phishing by chimeracoder on Monday July 23, 2018 @09:40AM (#17592629)
> I guess this is a dumb question, but is it still "multi factor authentication" if you only use a single physical device to complete the login process?

This is a common misconception. The threat model of 2FA is not "I lost my device, and it is now in the hands of someone who knows the password".

The threat model of 2FA is one of:

1) "An attacker has gained remote access to my computer, but not physical access"

2) "I have been targeted by a sophisticated phishing attack, and I trust the machine that I am currently using"

TOTP (and even SMS) protects against (1) in most cases, though U2F is still preferable. U2F is the only method that protects against (2).

Re:Google: Security Keys Neutralized Employee Phishing by kibwen on Monday July 23, 2018 @11:25AM (#17593358)
> U2F is the only method that protects against (2)

A bit of clarification: U2F protects against phishing attacks by automatically detecting the domain mismatch when a link from a phishing email sends you to g00gle.com rather than google.com, which is something that a human might overlook while they're typing in both their password and the second factor they've been sent via SMS. However, if someone were to use a password manager and exclusively rely on autocomplete to fill in their passwords, then that would also alert them to the fact that something was fishy when their browser/password manager refuses to autocomplete their Google password on g00gle.com. So this isn't exactly the only method that protects against the second scenario above... though I will concede that using a password manager in this way sort would sort of change 2FA from "something you know and something you have" to "these two somethings you have" (your PC with your saved passwords and your USB authenticator), which is something that might be worth considering.

Regardless, these physical authenticators are a huge step up from SMS and I'm very happy that an open standard for them is being popularized and implemented in both sites and browsers.

Re:Google: Security Keys Neutralized Employee Phishing by chimeracoder on Monday July 23, 2018 @11:41AM (#17593488)
> However, if someone were to use a password manager and exclusively rely on autocomplete to fill in their passwords, then that would also alert them to the fact that something was fishy when their browser/password manager refuses to autocomplete their Google password on g00gle.com.

Lots of websites do weird modal overlays, domain changes and redirects, redesigns, or other tricks that break password autocompletion. I've never seen a secure password manager that's robust enough against all of these that it would eliminate the human factors causing the phishing opportunity here.

Apparently Google hasn't either, because that was their motivation behind developing these schemes.

Re:Google: Security Keys Neutralized Employee Phishing by wool_gather on Monday July 23, 2018 @09:53AM (#17592742)
> U2F is the only method that protects against (2)

Would you be able to elaborate on this? I'm not understanding the difference between TOTP and the physical key from the article for this scenario.

Re:Google: Security Keys Neutralized Employee Phishing by toast0 on Monday July 23, 2018 @10:13AM (#17592887)
With TOTP, a sufficiently clever phish may convince you to enter the one time code.

With U2F, there is communication between the browser and the device, requesting authentication for a specific origin hostname -- that can't (shouldn't) be fooled by a phish hosted at Google.com-super-secure-phishing.net

Re:Google: Security Keys Neutralized Employee Phishing by tzs on Monday July 23, 2018 @11:39AM (#17593466)
Where do password managers fit in here? If a phisher convinces me to try to login to google.com-super-secure-phishing.net using my google account I'm going to notice something is wrong when my password manager refuses to fill in the login form.
Re:Google: Security Keys Neutralized Employee Phishing by SpaethCo on Monday July 23, 2018 @12:59PM (#17594026)
This is where it comes down to user behavior. One of the security engineers from Stripe gave a talk about this at Blackhat last year -- she had phishing campaigns that had users ignore that autofill didn't work and manually copied/pasted their password manager credentials into the phishing sites.

https://www.youtube.com/watch?v=Z20XNp-luNA

Re:Google: Security Keys Neutralized Employee Phishing by chimeracoder on Monday July 23, 2018 @01:35PM (#17594306)
> If a phisher convinces me to try to login to google.com-super-secure-phishing.net using my google account I'm going to notice something is wrong when my password manager refuses to fill in the login form.

You say that, but the overwhelming body of evidence from real-life phishing attacks and red-team exercises demonstrates that even very technologically-literate engineers will not consistently notice.

Re:Google: Security Keys Neutralized Employee Phishing by agildehaus on Monday July 23, 2018 @08:32PM (#17597200)
Google and Apple both have mobile (non-SMS) based two factor prompts that seem equally immune to phishing?
Re:Google: Security Keys Neutralized Employee Phishing by SpaethCo on Monday July 23, 2018 @10:02PM (#17597572)
> Google and Apple both have mobile (non-SMS) based two factor prompts that seem equally immune to phishing?

Any "type in a code" or "approve this login (yes/no)?" authentication factor is technically vulnerable. All the phishing site needs to do is proxy the authentication to the actual site in real time.

These guys put together a great overview of the approach: https://www.wandera.com/bypassing-2fa/

Re:Google: Security Keys Neutralized Employee Phishing by SmellyGeekBoy on Monday July 23, 2018 @10:13AM (#17592891)
The current domain is sent to the device and used to generate a private key that is used to authenticate. If it's a phishing domain, the device will return a private key that won't work on the real domain.
Re:Google: Security Keys Neutralized Employee Phishing by decasia on Monday July 23, 2018 @09:43AM (#17592653)
That's interesting, thanks.

I always thought the 2FA threat model was "Someone acquired my password" or else "someone has access to my email account and may try to do password resets by email."

Re:Google: Security Keys Neutralized Employee Phishing by giancarlostoro on Monday July 23, 2018 @09:34AM (#17592588)
First paragraph answers it:

> Google has not had any of its 85,000+ employees successfully phished on their work-related accounts since early 2017, when it began requiring all employees to use physical Security Keys in place of passwords and one-time codes, the company told KrebsOnSecurity.

Re:Google: Security Keys Neutralized Employee Phishing by akerl_ on Monday July 23, 2018 @09:48AM (#17592695)
If they "use (physical security keys) in place of (passwords and one-time codes)", that would no longer be MFA: they're authing strictly with "something they have".

A more in-depth quote is later in the article: "Once a device is enrolled for a specific Web site that supports Security Keys, the user no longer needs to enter their password at that site (unless they try to access the same account from a different device, in which case it will ask the user to insert their key)."

The parenthetical seems to imply that they're doing initial auth (and thus cookie generation) with password + U2F, and then re-validating U2F for specific actions / periodically without re-prompting for the password, similarly to how GitHub prompts for "sudo mode" when you do specific account actions.

Re:Google: Security Keys Neutralized Employee Phishing by jpdb on Monday July 23, 2018 @10:00AM (#17592790)
Correct me if I am wrong, but I think the YubiKeys are PIN based. So in order to use it to authenticate you have to enter a PIN and three wrong attempts results in it locking. The PIN itself would be the, "something you know," and the YubiKey is the, "something you have."
Re:Google: Security Keys Neutralized Employee Phishing by akerl_ on Monday July 23, 2018 @11:08AM (#17593258)
Depends how you use the yubikeys.

They support x509 certs, which use PINs. Whether it needs the PIN once-per-session, once-per-15seconds, or once-per-use is configurable. The number of failures before it locks is also configurable. More details can be found here: https://developers.yubico.com/PIV/Introduction/

They also support TOTP/HOTP, where the computer asks the device for a code based on a secret key that the device knows. This can require a touch of the button.

EDIT: TOTP/HOTP modes do support a password, as cimnine pointed out. I'd forgotten about that setting.

Yubico OTP is similar to TOTP/HOTP, and is the mode where the yubikey emits a gibberish string when pressed. The string gets validated by the server against Yubico's servers. This does not require a PIN.

The U2F mode does challenge/response via integration with Chrome and other apps. The app provides info to the USB device about the site that's requesting auth, then you press the device and it sends a token back. This is critical to the phishing protection: barring any vulns in the local app (which have happened before), you can't create a phishing site that will ask my Yubikey for a challenge that you can then replay against the real site. This mode requires physical touch but no PIN.

Re:Google: Security Keys Neutralized Employee Phishing by cimnine on Monday July 23, 2018 @12:17PM (#17593713)
YubiKeys support PINs for protecting TOTP/HOTP.
Re:Google: Security Keys Neutralized Employee Phishing by akerl_ on Monday July 23, 2018 @01:05PM (#17594070)
Right you are, my mistake. I've added an edit to my comment correcting that.

Thanks!

Re:Google: Security Keys Neutralized Employee Phishing by chaosite on Monday July 23, 2018 @10:28AM (#17592993)
They do have a PIN but you don't enter it every time you authenticate.

The PIN is used to configure the YubiKey itself.

Re:Google: Security Keys Neutralized Employee Phishing by tempay on Monday July 23, 2018 @10:05AM (#17592827)
This isn't correct, they only have a single small button.
Re:Google: Security Keys Neutralized Employee Phishing by kps on Monday July 23, 2018 @10:11AM (#17592869)
Poorly worded (or possibly misunderstood) — it was password + OTP → password + U2F. (In practice the OTP was also usually supplied by a dedicated USB stick, so the change was mostly transparent.)
Re:Google: Security Keys Neutralized Employee Phishing by puzzle on Monday July 23, 2018 @09:46AM (#17592682)
Now the real question becomes: how often were they getting phished before the new policies? Knowing Google, there's no way they will answer THAT before another decade.
Re:Google: Security Keys Neutralized Employee Phishing by SmellyGeekBoy on Monday July 23, 2018 @10:10AM (#17592867)
Why? What does it matter? Presumably it must have happened at least once for them to bring in this policy.
Re:Google: Security Keys Neutralized Employee Phishing by puzzle on Monday July 23, 2018 @10:47AM (#17593113)
Well, for one, it would put the non negligible costs in perspective. Second, it would be an additional data point. More data is usually better than less of it. In this case, though, it's sensitive data, for a number of reasons, which is why I don't see it happening for years.
Re:Google: Security Keys Neutralized Employee Phishing by dboreham on Monday July 23, 2018 @09:40AM (#17592634)
Huh? The article literally is about 2FA, as originally conceived. It isn't replacement for 2FA -- it is 2FA.

The key (sic) thing about U2F isn't that it is new and special (it isn't -- it's plain old 2FA as used for more than a decade) but rather that it is practical to deploy for smaller organizations. You don't need to buy large quantities of keys. You don't need a special server. You don't need staff with special skills to deploy it. It works with "cloud" providers like Google and Facebook, out the box (same key as you use for your internal services).

Re:Google: Security Keys Neutralized Employee Phishing by resonanttoe on Monday July 23, 2018 @01:17PM (#17594166)
Not quite. A 6 digit code can be phished out from users pretty easily. They'll enter it anywhere its asked, similar to a password.

However the U2F and Fido spec requires a Cryptographic assertion (with all that replay attack mitigation stuff like Nonces) that makes it so that an attacker can reuse a Token touch. I'd probably encourage a glance over this https://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/fid...

Sadly the Wikipedia article doesn't have a good layman's explanation yet, but I'm sure it'll will soon.

Yes at a high level, its still 2FA but like most options in any factor of Auth. It can be improved upon. (For a simple case, take Fingerprint readers and look at the advances of liveliness checks and how many unique points it requires.)

Re:Google: Security Keys Neutralized Employee Phishing by dboreham on Friday July 27, 2018 @10:22AM (#17626155)
When I say "2FA" I mean proper 2FA with a hard token. As used for 20 years or so in government, large companies.
Re:Google: Security Keys Neutralized Employee Phishing by lima on Monday July 23, 2018 @09:59AM (#17592774)
No, the key thing about U2F is that it can't be phished.

Any other 2FA method can.

Re:Google: Security Keys Neutralized Employee Phishing by dboreham on Friday July 27, 2018 @10:21AM (#17626147)
How do you phish a smart card?
Re:Google: Security Keys Neutralized Employee Phishing by brightball on Monday July 23, 2018 @09:35AM (#17592603)
The best explanation is really: https://fidoalliance.org/

Short version: the keys are matched directly from the device to the site making it virtually impossible to phish unless you control the site itself.