Live data from Hacker News

Getting the most out of YubiKeys for your business

blog.congruentlabs.co

71–77 of 77 posts

Re: Getting the most out of YubiKeys for your business

#71

Earlier quoted context omitted.

You can MITM OTP, but you can't MITM U2F. You can copy/steal the OTP secret from a phone app, but you can't copy/steal the U2F private key from a Yubikey (easily).

With Push MFA it's even easier, the sequence goes like this: Crooks know Barry's password but Push MFA is needed to sign into his account and conduct some crime Crooks somehow get Barry to go to a site they control believing it is for Work [there are a lot of ways to do this step, links in email, hijacking forgotten subdomains, typo squatting, the list goes on] The site says "Hi Barry, we need to do Push MFA" Crooks…

Oh crap, thanks for the heads up!

Re: Getting the most out of YubiKeys for your business

#72
post #68
post #34

YubiKeys are absolutely fantastic, and under-rated, too. I used this guide: https://github.com/drduh/YubiKey-Guide to set up my YubiKeys with GPG keys that are also used as SSH keys. This gives me, in a single setup: * secure 2FA for sites with WebAuthN * ability to encrypt backups and other information using GPG, with decryption only possible with a physical device * ability to securely log in via SSH to all my infr…

What kind of baackup do you have in case the yubikey is borked/lost/stolen?

Another YubiKey that's been prepped in advance and kept in a safe place.

Re: Getting the most out of YubiKeys for your business

#73
post #23

Earlier quoted context omitted.

That makes sense, and initially that is how I treated it, but essentially everyone I work with keeps theirs plugged in to their laptops 24/7. In fact, the keys we get as backups/replacements are the low profile ones designed to be plugged in and not removed without significant difficulty.

The effect this has is to make the laptop a "Something you have" factor. This works fine so long as the business is strict about ensuring people treat laptops appropriately and report losses quickly. e.g. my last big corporate employer would sometimes randomly take any laptops that had not been properly physically secured during a meeting or over lunch. You'd come back and somebody groans "Oh no, we were only gone a…

That’s why I love my 17 inch Alienware gaming laptop. If it is missing, I can usually spot the thief straining under the load of trying to carry it, and it is too bulky to fit in a normal backpack.

Re: Getting the most out of YubiKeys for your business

#74

Earlier quoted context omitted.

Same use case here. While setting up the yubikey with the gpgkeys is a long process it's totally worth it in my opinion.

I went through this as well, and it was a really fun task. Then I realized that I do not use GPG nearly as often as I thought I would. I ordered some CDs online once in the late 90s from CDNow, and they let you email them credit card information in a PGP encrypted message. How times have changed, eh?

Eh we enforce GPG signing of all commits at my shop and I use the gpg/SSH key magic so end up leaning over to touch my yubikey a lot! Large rebases are particularly gun, lots of touching there.

Re: Getting the most out of YubiKeys for your business

#75

Virtually every u2f implementation I've ever seen allows otp as a backup, reducing the security of one to the other. U2f is so much nicer than otp but hardware keys have devolved to being convenient not more secure than otp.

The major advantage of u2f is phishing resistance.

If you always use u2f for auth, you can be sure that you are not fooled by fake login pages. It ain't just matter whether secondary otp is available. (it's just a backup for when you lost a hardware token!)

Re: Getting the most out of YubiKeys for your business

#76
post #71

Earlier quoted context omitted.

With Push MFA it's even easier, the sequence goes like this: Crooks know Barry's password but Push MFA is needed to sign into his account and conduct some crime Crooks somehow get Barry to go to a site they control believing it is for Work [there are a lot of ways to do this step, links in email, hijacking forgotten subdomains, typo squatting, the list goes on] The site says "Hi Barry, we need to do Push MFA" Crooks…

Oh crap, thanks for the heads up!

Sorry man, I wasn't sure how to tell you :D

Re: Getting the most out of YubiKeys for your business

#77

Earlier quoted context omitted.

I want to get some sort of retractable lead for mine. My keys are heavy-ish and sometimes it can be difficult to get the key in a usb port without tension.

When I had more keys on my keyring I used something like this https://www.amazon.com/Lucky-Line-Keychain-Nickel-Plated-707... (not this particular one, which is just the top result that looked similar). It worked pretty well for a single key, but if you want to use more than one it adds a lot of extra bulk so your keychain gets even bigger. I also tried something like this https://www.amazon.com/Spider-Accessory-Spli…

Hi! Just wanted to let you know that I ended up getting a 5-pack of the detachable keyring and, so far, it is working great with my yubikey.
Post reply on HN