News for hackers. Stuff that matters.
Re:X wants permission to start collecting your bio data and ... by andsoitis on Thursday August 31, 2023 @12:17PM (#37339616)
> No, in both android and ios biometric data is never given to the app for touchid/faceid.

…Controlled by Apple and Google.

Re:X wants permission to start collecting your bio data and ... by traceroute66 on Thursday August 31, 2023 @12:24PM (#37339729)
> …Controlled by Apple and Google.

FFS ! Pure FUD and you know it.

I don't know about Google, but with Apple, the data necessary to validate the fingerprint is stored on the device's secure enclave[1].

Its not readable by apps on the device, let alone Apple !

(I imagine Google devices are the same, I just said "don't know" because I don't have the first-hand knowldege).

[1] https://support.apple.com/en-us/HT204587

Re:X wants permission to start collecting your bio data and ... by Nullabillity on Thursday August 31, 2023 @12:36PM (#37339891)
> I don't know about Google, but with Apple, the data necessary to validate the fingerprint is stored on the device's secure enclave[1].

According to Apple, anyway.

Re:X wants permission to start collecting your bio data and ... by umanghere on Thursday August 31, 2023 @12:44PM (#37340023)
I don’t mean to sound argumentative, but that’s a knee jerk response.

It’s possible to reverse engineer the OS code to verify that the biometrics indeed end up on the SEP’s encrypted storage, and several people have done this in the past.

Here’s an excellent presentation on the SEP, found by just a simple Google search. [0]

[0]: https://www.blackhat.com/docs/us-16/materials/us-16-Mandt-De...

Re:X wants permission to start collecting your bio data and ... by croes on Thursday August 31, 2023 @01:00PM (#37340323)
But couldn't Apple release an update at any time that would allow access to the data?
Re:X wants permission to start collecting your bio data and ... by HPsquared on Thursday August 31, 2023 @01:42PM (#37340946)
In that case, biometric data is probably the least of your worries.
Re:X wants permission to start collecting your bio data and ... by stevehawk on Thursday August 31, 2023 @01:30PM (#37340769)
an apple nerd will come along with a real answer but i believe the answer is no. that even if they patched software.. the chip involved is not going to (or physixally can't) cooperate
Re:X wants permission to start collecting your bio data and ... by smoldesu on Thursday August 31, 2023 @01:37PM (#37340872)
Even if the chip didn't cooperate, Apple has the key derivation function and presumably everything used to generate your key. While we're on the topic of unlikely first-party attacks, it would be interesting to hear (or see) how Apple limits their ability to create duplicate keys.
Re:X wants permission to start collecting your bio data and ... by Kirby64 on Thursday August 31, 2023 @01:43PM (#37340981)
Unlikely. Having the key generation function is worthless, as you also would need the truly randomized nonce and salt used in any modern cryptographic function. There are plenty of methods to have truly unknowable functions even knowing exactly how the function is generated. That's the whole point of trustless security.
Re:X wants permission to start collecting your bio data and ... by numpad0 on Thursday August 31, 2023 @01:57PM (#37341193)
Anyone's free to brute force encrypted data?
Re:X wants permission to start collecting your bio data and ... by croes on Thursday August 31, 2023 @02:49PM (#37341987)
Do you need to brute force the data, can't you simply intercept the data from the finger print sensor?
Re:X wants permission to start collecting your bio data and ... by numpad0 on Thursday August 31, 2023 @02:56PM (#37342069)
Do they go through internal bus unencrypted?
Re:X wants permission to start collecting your bio data and ... by traceroute66 on Friday September 01, 2023 @06:11AM (#37348826)
> Do they go through internal bus unencrypted?

Of course not.

"The sensor captures the biometric image and securely transmits it to the Secure Enclave"[1]

IIRC the implementation detail is AES-GCM-256 with ECDH P-256, i.e. the biometric sensor and the secure enclave derive a unique session key via ECDH each and every time.

[1]https://support.apple.com/guide/security/face-id-and-touch-i...

Re:X wants permission to start collecting your bio data and ... by traceroute66 on Friday September 01, 2023 @06:10AM (#37348820)
> Apple has the key derivation function and presumably everything used to generate your key.

Nope.

The Secure Enclave still contains things like UID and GID which are fused into hardware at manufacturing and are not externally accessible, not even through debugging interfaces such as JTAG.

So Apple will never have all the input parameters for the key derivation functions.

And please, lets not go into tin-foil hat territory where you somehow think Apple logs all keys ever fused during manufacturing and then somehow ties these to you personally.

Re:X wants permission to start collecting your bio data and ... by croes on Thursday August 31, 2023 @02:48PM (#37341978)
But what transfers the data from the finger print scanner to the chip?

Software?

Re:X wants permission to start collecting your bio data and ... by traceroute66 on Friday September 01, 2023 @05:43AM (#37348656)
> Software?

Clearly some software layer is required to interface with the secure enclave but its not the app.

The app opens an authentication context through the API and asks the API to perform the authentication. It is the API (through a standardised GUI interface) not the App that collects the biometrics. The API then returns yes/no to the app.

There is further a strict seperation of duties between biometric sensor and secure enclave.

Apple puts a significant amount of effort into making that software layer secure, and as this document[1] shows as time progresses the amount of security has only increased with the various chipset revisions.

The thing I say to all the Apple bashers is this. Sure you might not trust Apple (or Google), but even if you go buy the latest $Cool_Sounding_Open_Phone, you still need to trust someone and trust the supply chain.

Sure $Cool_Sounding_Open_Phone might have open-source firmware, but have you actually read every single line of code AND do you have the knowledge to do a security review of the code ? Not many people do. And if you are truly security conscious, you cannot possibly trust "the community" to review it for you.

Unless you're going to start from scratch, build your own PCB, your own firmware etc. But even then, you still need to trust the chip manufacturers, unless you open up your own foundry. So let's put our tin foil hats to one side shall we ?

[1] https://help.apple.com/pdf/security/en_US/apple-platform-sec...

Re:X wants permission to start collecting your bio data and ... by traceroute66 on Friday September 01, 2023 @06:00AM (#37348760)
> i believe the answer is no. that even if they patched software.. the chip involved is not going to (or physixally can't) cooperate

Indeed.

The whole point of the Secure Enclave is that it is the hardware root of trust. See the Apple Platform Security Guide[1].

The Secure Enclave also contains things like a UID (unique root cryptographic key) and GID (Device Group ID), both of which are fused at time of manufacturing and are not externally readable, not even through debugging interfaces such as JTAG.

As hardware root of trust the Secure Enclave is fundamental to all parts of device security, including secure boot and verifying that system software (sepOS) is verified and signed by Apple.

Apple put a lot of effort into Secure Enclave and hardware revisions have brought improvements as you might expect, so always be weary if you come across old presentations !

[1] https://help.apple.com/pdf/security/en_US/apple-platform-sec...

Re:X wants permission to start collecting your bio data and ... by infotogivenm on Thursday August 31, 2023 @01:05PM (#37340411)
Yes. And if your threat model really includes distrusting the manufacturer of your phone and its software after a specific point in time at which you have reversed all of its internals, you should have disabled software auto updates.

But that is not how most people use a phone.

Re:X wants permission to start collecting your bio data and ... by pohl on Thursday August 31, 2023 @12:45PM (#37340041)
Shouldn't it be more like "according to the ARM TrustZone specification"?
Re:X wants permission to start collecting your bio data and ... by theshrike79 on Thursday August 31, 2023 @12:59PM (#37340298)
It's not cool to hate ARM or industry standards, but it's cool to hate on Apple
Re:X wants permission to start collecting your bio data and ... by bee_rider on Thursday August 31, 2023 @12:50PM (#37340120)
Why would they need to lie about that? They control the entire OS and all of the applications, including the app that their users use to access Twitter.
Re:X wants permission to start collecting your bio data and ... by Arrath on Thursday August 31, 2023 @12:59PM (#37340297)
There's healthy skepticism and then there's tin-foil hattery.

Have there been any third party teardowns, reverse engineering efforts, or other investigations to determine that apple's claim is a bald faced lie?

Re:X wants permission to start collecting your bio data and ... by andsoitis on Thursday August 31, 2023 @09:21PM (#37345659)
>> …Controlled by Apple and Google.

> FFS ! Pure FUD and you know it.

I did not say, or mean, “access to the data”, which is why I used the word “control”. Apple designed a system that runs on their devices and are the ones steering its evolution.

Re:X wants permission to start collecting your bio data and ... by tsimionescu on Thursday August 31, 2023 @12:41PM (#37339974)
It's more like Apple or Samsung or Sony or Nokia or Google or One or whatever your phone manufacturer is. There's no way around trusting your phone manufacturer with your biometrics.

Even phones that don't offer biometric devices officially need to be trusted not to have hidden fingerprint sensors or iris scanners or whatnot.

Re:X wants permission to start collecting your bio data and ... by circuit on Thursday August 31, 2023 @12:25PM (#37339757)
> …Controlled by Apple and Google.

...Both of whom manufacture hardware/phones where the local processing of biometric data takes place.

Re:X wants permission to start collecting your bio data and ... by ericmay on Thursday August 31, 2023 @12:23PM (#37339721)
Don't enable it then?
Re:X wants permission to start collecting your bio data and ... by intrasight on Thursday August 31, 2023 @12:58PM (#37340277)
For sure don't enable. For many reasons but primarily because doing do grants the authorities the right to unlock your phone.
Re:X wants permission to start collecting your bio data and ... by bee_rider on Thursday August 31, 2023 @12:54PM (#37340205)
Twitter is some sort of weird ad and social influencing company.

Apple’s whole business model requires people placing an immense amount of trust in them.

But sure maybe they’ll burn down their trillion dollar company so that they can steal peoples biometric data and get into their twitters.