News for hackers. Stuff that matters.
Re:Face ID and Touch ID for the Web by Zaheer on Monday October 19, 2020 @04:24PM (#24830569)
You can change a password but you can't change your fingerprint / palm / etc. Am I missing something? How is Face / Touch ID more secure that user + pass? What happens when biometric data is leaked?
Re:Face ID and Touch ID for the Web by notatoad on Monday October 19, 2020 @06:19PM (#24831655)
you're right that using biometric data for authentication is bad, but that's not what's happening here. faceid/touchid stores a private key on your device, and uses your biometrics to unlock that private key. it's the same idea as using a yubikey or something where you have to press the button on the 2fa dongle to prove it's physically in your posession and unlock the private key stored within it, but it goes beyond just pressing a button by doing some biometric identification.

the concern isn't what if the biometric data is leaked, because the biometrics are only used to allow local access to your phone. the concern is what if the private keys stored in your phone are leaked. and the secure enclave makes that as close to impossible as any other existing solution.

Re:Face ID and Touch ID for the Web by mrwnmonm on Monday October 19, 2020 @08:36PM (#24832740)
I know very little about security. Could you please explain it in simpler way?

So, does my iPhone create a private key (which my Face ID data) on the phone itself, then the browser ask the phone to do something to authenticate the user? I am lost here.

Re:Face ID and Touch ID for the Web by notatoad on Monday October 19, 2020 @08:50PM (#24832871)
You can think of a private key like a really long, complicated password. Like, thousands of characters. But you don't have to type it in every time, you just let your phone store it for you and fill it in for you in apps (and now, websites).

To log into a website, your iPhone checks to see if your face is your face, and if it is then unlocks your private key to send it to the website. If it can't identify your face, then it won't enter your password.

Sending your actual facial data to a website would be bad because you can't change your face, so if you give your face to one site, then that site could use it to log in as you to other sites. But by just using it to unlock a private key, you (or apple on your behalf) can still change or de-authorize your private key, and use a unique one for each sites. Basically all the good practices you're supposed to follow when you use a password, and they aren't giving any site any special data that they could use anywhere other than their own site.

Re:Face ID and Touch ID for the Web by mrwnmonm on Monday October 19, 2020 @08:55PM (#24832920)
So does my phone has a different private key for every website?
Re:Face ID and Touch ID for the Web by tialaramex on Monday October 19, 2020 @10:37PM (#24833446)
Yes. In WebAuthn every single time you enroll on some web site with this system, a completely random new private key will be generated and the site will be given the corresponding public key and a fresh magic "cookie" identifier that serves no other purpose.

Your Apple device remembers the association between this particular web site, any user ID the site said is relevant (e.g. maybe the username mrwnmonm and friendly name "Shiny Steve") the cookie, and the private key.

On subsequent visits either of two things can happen:

1. You tap some sort of easy-one-touch login button. The Apple device says "Hey, sign in here as mrwnmonm / Shiny Steve?" and you use your touch ID to prove you are still you, this unlocks the private key, Safari uses the private key to create a proof that you still know that key, attaches the proof, and the cookie. The site recognises you must be Shiny Steve and you're in.

2. You sign in "normally" (e.g. with a username and password) but then as a Second Factor the site shows the Apple Device the cookie it remembers, your device recognises this cookie and prompts you for a touch to prove you are still Shiny Steve, whereupon it uses the private key to sign a proof and send it back to the site.

Because the keys are different on every site even if two web sites deliberately work together to try to figure out if a user on one site is the same person as a user on another site, WebAuthn doesn't help them do that at all.

Also unlike passwords or most other schemes, there's no risk from mass data loss because the web site is storing public information. If a "dump" of every Facebook WebAuthn public key was made, that's essentially useless to everybody except Facebook anyway, whereas obviously a password dump or a dump of all the TOTP secrets would be a huge security problem.

Re:Face ID and Touch ID for the Web by mrwnmonm on Tuesday October 20, 2020 @04:11AM (#24834961)
Oh man, couldn't they write it this way?

This comment summarizes it all. Thanks very much.

Re:Face ID and Touch ID for the Web by theluketaylor on Monday October 19, 2020 @09:38PM (#24833185)
Yes, it’s a unique for each site which makes webauthn extremely phishing resistant. Even on look alike domains the origin doesn’t match and your phone has nothing to send.
Re:Face ID and Touch ID for the Web by Polylactic_acid on Monday October 19, 2020 @08:47PM (#24832845)
Your phone holds the passwords for the websites but they passwords never get presented to the user. FaceID is just used to unlock the password store. You would have to steal a phone and trick faceid on the phone to gain access to someones account.
Re:Face ID and Touch ID for the Web by mrwnmonm on Monday October 19, 2020 @08:52PM (#24832891)
Sorry, I still don't see the improvement here, doesn't that already happen using chrome for example, or Touch ID with 1password? (I think IOS has that too)
Re:Face ID and Touch ID for the Web by Rafert on Monday October 19, 2020 @09:33PM (#24833163)
That's correct, but 1Password stores a static secret (the password) and this may be re-used by less security-minded folks as you probably know. WebAuthn servers only store a public key which is useless in case the server gets compromised. WebAuthn also is phsihing proof by having browsers verify the domain the credentials are used for.

See more at https://webauthn.guide/

Re:Face ID and Touch ID for the Web by mrwnmonm on Monday October 19, 2020 @09:37PM (#24833179)
Thanks for the link <3
Re:Face ID and Touch ID for the Web by atty on Monday October 19, 2020 @04:32PM (#24830671)
As far as Apple devices are concerned, biometric data never leaves the Secure Enclave, so risk of data leak is non-zero, but sufficiently low for everyday life. Compare that to the massive number of people who use password123 as their password for every account across the web, and yes, biometrics are far more secure. :) More secure than a random 30 character string? Probably not.

And if you’re targeted by individuals who are sufficiently motivated to steal your biometrics and the physical device, then neither the password nor the biometrics will be enough to protect you.

Re:Face ID and Touch ID for the Web by kalleboo on Monday October 19, 2020 @11:07PM (#24833576)
> How is Face / Touch ID more secure that user + pass

Because the password that the average user is using is shared among 100 sites and has been leaked 10 times over, and meanwhile there is nobody dusting their leftover coke can for prints.

Re:Face ID and Touch ID for the Web by wmf on Monday October 19, 2020 @04:33PM (#24830680)
Biometric data is never leaked because it never leaves the secure enclave in the device.
Re:Face ID and Touch ID for the Web by swebs on Monday October 19, 2020 @06:54PM (#24831940)
Biometric data is leaked whenever you touch a doorknob.
Re:Face ID and Touch ID for the Web by zeepzeep on Tuesday October 20, 2020 @06:20AM (#24835723)
This. Biometrics are perfect for tracking but sh*t for security!
Re:Face ID and Touch ID for the Web by henryfjordan on Monday October 19, 2020 @06:40PM (#24831820)
Your face can easily be mimicked. Biometric data is not stored in the phone, it is stored in you.

See: https://www.macrumors.com/2018/12/16/3d-printed-head-android...

Re:Face ID and Touch ID for the Web by Anechoic on Monday October 19, 2020 @07:22PM (#24832186)
Your face can easily be mimicked.

Article: "I was ushered into a dome-like studio containing 50 cameras [...] The final model took a few days to generate at the cost of just over £300."

I don't how that can be characterized as "easily." Possible, yes, but not easy. And it still didn't fool FaceID.

Re:Face ID and Touch ID for the Web by shakna on Monday October 19, 2020 @07:33PM (#24832279)
Maybe not easily in 2017, though there were other successful attempts to fool FaceID at the time [1], there are also successful and easier attempts to fool FaceID today [0] that can successfully bypass it.

[0] https://www.technologyreview.com/2020/02/29/905599/how-coron...

[1] https://www.forbes.com/sites/daveywinder/2019/08/10/apples-i...

Re:Face ID and Touch ID for the Web by minikites on Monday October 19, 2020 @07:39PM (#24832327)
Torture can extract an alphanumeric password.
Re:Face ID and Touch ID for the Web by userbinator on Monday October 19, 2020 @08:05PM (#24832487)
But is it the right password, or the duress one?
Re:Face ID and Touch ID for the Web by syspec on Monday October 19, 2020 @07:44PM (#24832363)
This thread is about Apple. From the link:

> 3D Printed Head Fools Android Face Recognition, iPhone X 'Impenetrable'

Re:Face ID and Touch ID for the Web by kryptozinc on Monday October 19, 2020 @06:54PM (#24831934)
> The final model took a few days to generate at the cost of just over £300. "easily"
Re:Face ID and Touch ID for the Web by 10000truths on Monday October 19, 2020 @07:05PM (#24832031)
£300 is chump change in most any organization's budget.
Re:Face ID and Touch ID for the Web by acdha on Monday October 19, 2020 @11:22PM (#24833654)
This is why real security starts with a threat model.

If you are worried that someone will kidnap you, take you to a 3-D imaging system, hit you with an amnesiac so you forget that happened, build a mask realistic enough to unlock your iPhone – which that article noted could NOT be done for £300 — and then use that to unlock your devices you have to start by asking why they wouldn’t simply unlock the device when they had enough control over you to run an invasive scan. That’s a movie-plot threat, not something anyone reading this needs to worry about and if they did they should be investing in bodyguards.

Similarly, in the real world you have to make trade-offs. In this case, the alternative is using a password. Those are not only much, much easier to observe with a camera but also open rich new areas for an attacker to try: passwords are generated by normal people so they’re often weak, notoriously reused across multiple sites, and people are convinced by phishers to enter their passwords on the wrong site. Trying to protect against the Hollywood threats makes you more vulnerable to the kinds of things which befall many people on a daily basis.

Re:Face ID and Touch ID for the Web by zeepzeep on Tuesday October 20, 2020 @06:19AM (#24835721)
It's not.
Re:Face ID and Touch ID for the Web by saagarjha on Monday October 19, 2020 @04:33PM (#24830700)
> What happens when biometric data is leaked?

Like when someone takes your picture? Nothing.