News for hackers. Stuff that matters.
Re:Uber investigating breach of its computer systems by acdha on Thursday September 15, 2022 @11:50PM (#32861839)
> I wonder when I can just get a virtual yubikey built into my phone. No extra device. My phone is my device.

Last year, Apple shipped the first version of this: you can enroll your phone (or TouchID-equipped Mac) on sites like GitHub.com and it’ll use the Secure Enclave for WebAuthn secrets. I’ve been doing this since 15.4 came out and it’s great. Prior to that, I used a Yubikey 5 with USB and NFC, which is still handy since that’s where I store TOTP seeds for less secure sites.

Passkeys extend that idea further by allowing you to register once and have it synced rather than having to register every device on every site[1].

That last part is important because AWS has a huge barrier: the number of MFA devices you get is one, which means you either need insecure things like synced TOTP seeds or you have to be comfortable never losing your Yubikey. I have been asking our TAM to prioritize fixing that for years so backups can be a real thing.

1. Over simplified a little - hear Adam Langley at https://securitycryptographywhatever.buzzsprout.com/1822302/... for the right version

Re:Uber investigating breach of its computer systems by zinekeller on Friday September 16, 2022 @04:05AM (#32863435)
> That last part is important because AWS has a huge barrier: the number of MFA devices you get is one, which means you either need insecure things like synced TOTP seeds or you have to be comfortable never losing your Yubikey. I have been asking our TAM to prioritize fixing that for years so backups can be a real thing.

Actually, can we mark AWS as insecure? Seriously, it was a bother at the time it was rolled out but now I could say that Amazon is insecure. If they could not bother with this, there are definitely more security holes intentionally hidden from the general public.

Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @07:10AM (#32864571)
No – the problem here is really the reverse: they limit the number of devices which can gate access to your account, on the theory that you'll handle a breach by contacting them. That's theoretically more secure but slower.

(Non-root MFA can be reset by another admin or root so this is most of a concern for the root account)

Re:Uber investigating breach of its computer systems by marcosdumay on Friday September 16, 2022 @11:57AM (#32867950)
> That's theoretically more secure

I fail to see how that can be true. How will they validate that it is you on the phone?

Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @01:22PM (#32869231)
If you haven't dealt with this before, it's not calling support and social-engineering someone into hitting the reset button. The last time I knew someone who had to reset an AWS root account password (broken Yubikey), it required multiple phone calls AWS initiated to the billing & technical contacts (which can only be set by root so an attacker can't easily change them) to confirm intention and then they had to sign a form in front of a notary who checked photo ID.

I classed that as more secure since you can't do it remotely and the in-person portion further increases the difficulty.

Re:Uber investigating breach of its computer systems by breser on Friday September 16, 2022 @03:26PM (#32870871)
You do not have to even talk to AWS to remove the MFA from the root account. You simply need access to the phone number on the account (though there are ways around the phone number, see below) and the email address for the root account.

It's been a little over a year since I've done it but as I recall this is how it goes. You receive an email with a link that takes you to a site that starts a verification process via the phone. You get a number from the site that you are prompted to enter when they call you on the phone. Once that's done you can log into the account with the MFA device and then even remove the MFA device entirely.

The email address I believe can only be changed by AWS (and at least the last time this was an issue for me can't ever be reused for a new AWS account).

The phone number can be changed by anyone with aws-portal:ModifyAccount, which probably means someone with admin access. It is NOT restricted to being modified by the root account.

So if you have a working access to an account with that permission and access to the email you can change the phone number to one you have access to and go through the whole process. Meaning if you have the above permission you really only need access to the email.

Link to the documentation for this flow: https://aws.amazon.com/blogs/security/reset-your-aws-root-ac...

Re:Uber investigating breach of its computer systems by marcosdumay on Friday September 16, 2022 @04:00PM (#32871271)
Ok, that's not trivial to hack, but it's in no way more secure than accepting a few more backup tokens.

Both email and phone numbers have widely known and exploited vulnerabilities that won't ever be fixed (worse if the phone part is only SMS). Requiring both at the same time is OKish, but not any exemplary security.

Re:Uber investigating breach of its computer systems by breser on Friday September 16, 2022 @04:25PM (#32871585)
For what it's worth the phone portion is a voice call where you have to enter a number with touchtone.
Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @06:05PM (#32872601)
It's possible that even though we are not using GovCloud they had additional precautions enabled for us (this was a few years back). My coworker vividly remembers having to wait for the notary to show up.
Re:Uber investigating breach of its computer systems by vinay_ys on Friday September 16, 2022 @09:47AM (#32865984)
Slowing things down is the right approach when resetting/reissuing/rebinding auth devices.
Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @11:51AM (#32867823)
When removing MFA, yes. What I'd like would be changing n=1 to n=2 so you could have a backup against a single failure.
Re:Uber investigating breach of its computer systems by staticassertion on Friday September 16, 2022 @12:41AM (#32862164)
Regarding AWS, it's truly insane that they only support 1 device (breaking from the FIDO2 recommendation) but you can also put AWS behind SSO, and then have 2FA on the SSO.
Re:Uber investigating breach of its computer systems by Semaphor on Friday September 16, 2022 @01:37AM (#32862493)
> it's truly insane that they only support 1 device

I recently got a notification to create a separate AWS account (I don’t use it), and thought might as well enable 2FA. Added the first key. Looked for a way to add the backup key. Was confused, removed 2FA. What is that, lockout Russian roulette?

Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @07:13AM (#32864594)
This predates FIDO2 by at least a decade. SSO works great for everything except the root account, where you really do just need to lock it up tightly and make sure you know how to authenticate to support in a disaster.
Re:Uber investigating breach of its computer systems by dx034 on Friday September 16, 2022 @04:05AM (#32863437)
Recently my phone broke and it took a day to get a new one. I was so glad to have my 2fa codes somewhere else as well. I'd never want to rely solely on one device for access to everything.

Apples plan is that I need to own several Apple devices for that, this is a non-starter for me.

Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @07:08AM (#32864557)
Your backup plan currently can be hardware devices (a $20 Yubikey works great) or printed codes. When vendors other than Apple ship passkeys, that should extend to include other devices.
Re:Uber investigating breach of its computer systems by reissbaker on Friday September 16, 2022 @04:47AM (#32863747)
The backup option can be a Yubikey rather than another Apple device.
Re:Uber investigating breach of its computer systems by judge2020 on Friday September 16, 2022 @12:18AM (#32862016)
To add, Chrome currently supports webauthn using your phone via BLE. When you try to enroll/sign in, if you click 'add an android device', that QR code will also work in the iOS camera app and allow you to use icloud to store & log in with that security key. The only real requirement here is a browser support and a desktop with bluetooth, something not super common on gaming / custom built PCs until a few years ago.
Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @07:05AM (#32864536)
Apple did something similar: you can login using your phone’s WebAuthn credentials if you’re in BLE range. The main problem is that it’s Safari-only but the passkey spec should allow Firefox to implement it.
Re:Uber investigating breach of its computer systems by mdeeks on Friday September 16, 2022 @12:19AM (#32862022)
TouchID unfortunately does not work with Firefox. Making it non viable for a large rollout.

Yubikeys have the advantage of working with all browsers

Re:Uber investigating breach of its computer systems by reissbaker on Friday September 16, 2022 @04:48AM (#32863757)
Corporate environments usually have no problem mandating a specific browser be used.
Re:Uber investigating breach of its computer systems by saagarjha on Friday September 16, 2022 @08:34AM (#32865269)
Right, that's how we got IE6 :)
Re:Uber investigating breach of its computer systems by chinathrow on Friday September 16, 2022 @02:56AM (#32862969)
How do you recover if you lose access to your device?
Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @07:14AM (#32864599)
Currently: use a hardware key or printed backup codes.

Passkeys: same, or one of the other participating devices.

Re:Uber investigating breach of its computer systems by tylerhou on Friday September 16, 2022 @03:01AM (#32863000)
Backup key on your keychain.
Re:Uber investigating breach of its computer systems by chinathrow on Friday September 16, 2022 @08:30AM (#32865227)
Do you mean a physical key?
Re:Uber investigating breach of its computer systems by acdha on Friday September 16, 2022 @09:00AM (#32865502)
I can't speak for them but that's exactly what I do with a Yubikey on my personal keys & work badgecard lanyard. My rationale is that the physical key prevents remote attacks since they can't use the token and anyone who finds/steals my keys won't have the password. Scenarios where the attacker has both aren't on my personal radar — that's the kind of situation where you're looking at things like duress codes.
Re:Uber investigating breach of its computer systems by aeyes on Friday September 16, 2022 @06:40AM (#32864403)
create a second account or use the root account?