News for hackers. Stuff that matters.
Re:Apple Disables FaceID if you change the screen yourself [... by marcan_42 on Monday September 27, 2021 @03:00AM (#28667878)
The NSA doesn't have Apple's private keys. They aren't a magical organization that can crack all modern crypto either.
Re:Apple Disables FaceID if you change the screen yourself [... by captainmuon on Monday September 27, 2021 @04:29AM (#28668372)
Have you heard about FISA courts? They can issue warrants for surveillance and the affected company is not allowed to disclose this. As a HN reader, it is likely you know about it but most people probably don't. Still, if a federal agent comes along with a warrant, they'll have to comply.

My point is, I personally can't be sure there is no mechanism, legal or illegal, via which the NSA can just compel them to hand over the keys. Who knows, maybe there exists a FOOBAR law that compells them to build backdoors into their products. Maybe they're doing it voluntarily outside of the law. I would assume everything can be trivially hacked nowadays, and a large portion of intelligence analysts spend their time on parallel construction (i.e. creating alternative stories about how they gatheried their evidence, without giving away their abilities).

Re:Apple Disables FaceID if you change the screen yourself [... by gmueckl on Monday September 27, 2021 @06:01AM (#28668896)
Hypothetical: what good is a court order if the only copy of the key is in a HSM with tamper protection?

I'm not saying that Apple does this. I simply don't know.

Re:Apple Disables FaceID if you change the screen yourself [... by rndgermandude on Monday September 27, 2021 @03:59AM (#28668204)
>The NSA doesn't have Apple's private keys.

Are you sure? Last I heard the NSA is in the intelligence gathering business... I absolutely would not put it past them that they acquired those keys somehow.

Even if they do not have the keys, bribing an employee and/or installing your own NSA person as an employee in an Apple-authorized repair shop seems like a rather easy thing to do. Or just backdoor the computer that is used to communicate with apple to perform the re-signing stuff. There are thousands of authorized repair shops around the world and you only need to compromise one (or compromise a few so that any "abnormal patterns of repairs" cannot be easily detected by Apple, if it even audits repair logs for suspicious activity at all).

I am sure the NSA has something figured out by now. And not just them.

Re:Apple Disables FaceID if you change the screen yourself [... by marcan_42 on Monday September 27, 2021 @06:23AM (#28669031)
> Are you sure? Last I heard the NSA is in the intelligence gathering business...

Are you sure there isn't a teapot in orbit around Mars?

The NSA can't magically break into people's HSMs and steal the keys. We have a pretty good idea of what the NSA's capabilities are. If Apple's system is correctly designed, it will only allow components with certificates installed at manufacturing time to be paired together, and the pairing server will use a HSM to hold the private key to do so.

Can the NSA still backdoor your phone? Sure, that's possible by physical definition. They could extract a specific camera unit's private key via FIB analysis, then manufacture a backdoored replacement, insert that key into it, then bribe or otherwise backdoor themselves into some Apple authorized repair shop and run through a re-pairing with it when they swap it into your phone. But that's a lot harder and less likely to happen (i.e. only in extremely high-value cases, if at all) than the silly "oh it's the NSA, they definitely have the keys" nonsense that people throw around here without any supporting evidence.

Re:Apple Disables FaceID if you change the screen yourself [... by leereeves on Monday September 27, 2021 @07:22AM (#28669360)
Yes, I'm sure there isn't a teapot in orbit around Mars. Not because it's impossible (it isn't, we've put other things in orbit around Mars) but because no one has a motive to put a teapot there.

On the other hand, the NSA certainly has a motive to obtain Apple's keys. And while I doubt we really have a good idea of what the NSA's capabilities are, the capabilities we do know about are sufficient.

Re:Apple Disables FaceID if you change the screen yourself [... by marcan_42 on Monday September 27, 2021 @10:05PM (#28678497)
No, they aren't. The NSA can't just waltz into Apple and break into their HSM to steal their keys. These systems are designed to be robust even against physical access attacks. Even if the NSA had a backdoor in commercial HSMs, they'd have to get to them physically, as these things aren't on the internet directly.

The Snowden leaks gave us a very good idea about what the NSA does. Tap fibre. Backdoor products in transit. Develop and use remote exploits (nothing particularly amazing about them, it's on the same level of RE/exploitation/polishing work as what I've done for game console homebrew in the past). That one time they actually did something novel with modern crypto and figured out how to efficiently break 1024-bit DH for fixed parameter sets. These are all practical, reasonable things that are a far cry from the magical abilities people like to ascribe to them.

Re:Apple Disables FaceID if you change the screen yourself [... by rndgermandude on Wednesday September 29, 2021 @03:03AM (#28691015)
>No, they aren't. The NSA can't just waltz into Apple and break into their HSM to steal their keys

The NSA could waltz into the plant manufacturing the HSM. Or they could waltz into Apple and make sure Apple uses the right HSM with keys already known to the NSA, e.g. by replacing the shipment of the HSMs Apple ordered. (This would require the NSA knowing in advance when Apple buys HSMs for what purpose and from what vendor, but again, intelligence gathering business).

>These systems are designed to be robust even against physical access attacks.

They are designed by humans trying to make those things "robust" against attacks. "Robust" is a "best effort" word.

Assuming that the thing that got shipped to you actually is the thing you think and not just some nice NSA chip with the name of a popular HSM vendor printed on top. You cannot really open up the chip and look inside as, if this is a properly designed HSM, this it is supposed to be destro if you tamper with the enclosure or any other vital parts of it.

I'd be surprised if the NSA does not spend resources on research into breaking HSMs, and if it do esnot spend resources on designing "fakes". The level of their success is unknown until the next Snowden shows up. But if they did break some HSMs, they wouldn't be alone [0].

So, there is a chance the NSA can waltz into Apple and break into their HSM and steal their keys.

This assumes Apple uses HSMs for this kind of stuff and uses them correctly.

Since authorized third-party repair shops can replace components and repair the hardware with some help from Apple, as I said before, it's not even necessary to compromise Apple or their HSMs, it's sufficient to compromise those repair shops, whether third party of have a few NSA Geniuses around.

But either swapping out HSMs pre-installation or breaking ones with design flaws is certainly in the realm of possibility too.

>The Snowden leaks gave us a very good idea about what the NSA does.

No, Snowden showed what they did in 2013 and before, because that's when he went public.

Snowden does not know what they did 2014, let alone what they are doing now in 2021. That's about 8 years of most recent NSA R&D that we do not know about.

>Backdoor products in transit.

HSM is a "product", last I heard ;)

>These are all practical, reasonable things that are a far cry from the magical abilities people like to ascribe to them.

Magical? Nothing magical in what I said I believe the NSA could reasonably achieve.

We're talking about abusing design flaws in HSMs and/or supply chain attacks not creating "a GUI interface using VisualBasic to track the killers IP address".

[0] https://cryptosense.com/blog/how-ledger-hacked-an-hsm

Re:Apple Disables FaceID if you change the screen yourself [... by simonh on Monday September 27, 2021 @04:27AM (#28668364)
So is your position on security that Apple should just give up? I'm not really clear what you're advocating.
Re:Apple Disables FaceID if you change the screen yourself [... by makeitdouble on Monday September 27, 2021 @05:33AM (#28668742)
As for everything related to security granted by US companies, there is the elephant in the room that apparently needs to be restated regularity, and further discussions can come with that in mind.

I don't think the parent was advocating for anything related to the NSA, just reminding us of the current state.

Re:Apple Disables FaceID if you change the screen yourself [... by leereeves on Monday September 27, 2021 @03:10AM (#28667940)
Are you certain they don't have Apple's private keys? They have many ways to compel or persuade someone who does have access to those keys to give the keys to the NSA, or to infiltrate Apple with their own agents.
Re:Apple Disables FaceID if you change the screen yourself [... by threeseed on Monday September 27, 2021 @03:59AM (#28668202)
Apple is going to be far more concerned about countries like China, Saudi Arabia etc than the US.

The rule of law is significantly weaker and they have already shown that they will go after even mild dissidents e.g. journalists not just mass-terrorists or other more serious threats.

So sure US may have the keys. But unlikely every country does.

Re:Apple Disables FaceID if you change the screen yourself [... by simonh on Monday September 27, 2021 @04:31AM (#28668382)
It seems unlikely that Apple and the US government would litigate so aggressively against each other, over hacking or forcing back doors into Apple systems, if Apple had already been forced to hand over the keys to the government.
Re:Apple Disables FaceID if you change the screen yourself [... by leereeves on Monday September 27, 2021 @07:24AM (#28669380)
We're talking about two different systems: the criminal justice system and the national security apparatus. The first system rarely gets help from the second, and the second may even be happy to see such litigation misleading adversaries about the government's real capabilities.