News for hackers. Stuff that matters.
Re:Apple’s T2 security chip jailbreak by dividedbyzero on Wednesday September 30, 2020 @05:45AM (#24637009)
I'm torn on this; on the one hand, the prospect of being able to circumvent things like unauthorized repair prevention down the line is neat, and who knows what people may be able to tease out of this (apparently quite powerful chip). So that's neat.

But it also breaks Apple's security platform in a big way, since this should make Apple's biometry scheme in their Macbooks much weaker and FileVault a lot easier to crack. That's a shame, because it's a very neat and cohesive security platform that gets out of one's way and works really well even for highly non-technical people. Their security stance is one of the things that keep me in Apple's ecosystem and I know a number of people and companies who feel alike. So, coming from that point of view, I do hope they fix this in time for their first round of ARM Macs.

Re:Apple’s T2 security chip jailbreak by vslira on Wednesday September 30, 2020 @08:43AM (#24638168)
As an Apple customer I'm 100% happy with public developments like this. I really believe Apple tries to take hardware security seriously and an exploit it the open like this is surely to be addressed in the next generation of devices.

Apple consumer devices have been shown to resist state-level actor threats in the past and even if current devices won't be 100% resistant forever I trust Apple to be a couple of steps ahead every gen.

Of course, I'm jumping ship as soon as 100% open-source and verifiably secure HW+OS stack is available. But until then, it's Apple :P

Re:Apple’s T2 security chip jailbreak by Tsarbomb on Wednesday September 30, 2020 @10:13AM (#24638907)
How did you get the information that apple devices resist state-level actor threats?

Repeatedly state actors have broken into iphones and icloud accounts, and apple laptops are frequently the first devices to fall in the Pwn2Own contests.

Re:Apple’s T2 security chip jailbreak by devenblake on Wednesday September 30, 2020 @11:21AM (#24639665)
Don't know why you were downvoted, it's common knowledge that state actors can break Apple's encryption. Apple makes a huge show of refusing to break their own encryption but with a subpoena they legally have to provide the encrypted data and then state actors just go elsewhere for cracking.
Re:Apple’s T2 security chip jailbreak by s0ss on Wednesday September 30, 2020 @01:19PM (#24641132)
citation needed
Re:Apple’s T2 security chip jailbreak by callalex on Wednesday September 30, 2020 @04:56PM (#24643742)
These discussions always conflate iCloud data, including device backups, with on-device access. It is possible to use iOS without iCloud.
Re:Apple’s T2 security chip jailbreak by 542458 on Wednesday September 30, 2020 @11:58AM (#24640132)
On the flip side, the FBI had to (probably) decap chips to get into that one shooter’s iPhone, which is pretty good security IMO.
Re:Apple’s T2 security chip jailbreak by stjohnswarts on Wednesday September 30, 2020 @08:54PM (#24646036)
Did they actually get in to it?
Re:Apple’s T2 security chip jailbreak by MartinNobel on Thursday October 01, 2020 @07:59AM (#24649898)
It was an iPhone 5c, a pre secure-enclave iPhone so they were able to break in at the end. Apparently Cellebrite were the ones who cracked it.
Re:Apple’s T2 security chip jailbreak by Benjamin_Dobell on Wednesday September 30, 2020 @06:44AM (#24637300)
Apple did actually screw the pooch on this one.

Typically, it's criminally illegal to circumvent DRM in the US (and 99% of the rest of the world). However, there are also certain exemptions that have been granted, within the US only (other countries are not so lucky). The right to repair is one such exemption[1].

If Apple had separated security from first-party repair enforcement, then anyone found even attempting to break the T2 chip might have been up for jail time. However, the right to repair is a valid defense.

Of course, making circumvention criminally illegal doesn't make the chip itself any more technically secure; say against criminals. It is a pretty solid deterrent though.

[1] https://www.copyright.gov/1201/2018/

Re:Apple’s T2 security chip jailbreak by Daniel_sk on Wednesday September 30, 2020 @06:52AM (#24637350)
I bet breaking DRM is legal in most parts of the world. Good luck to any company trying to sue an individual for breaking DRM. "Article 6.4 of the European Directive mandates Member States to ensure users can benefit from the copyright exceptions. This means that countries must have some kind of process in place to allow citizens to make copies of DRMed works." (https://fsfe.org/news/2019/news-20191113-01.en.html) Unfortunately in US the corporate has lobbied so hard to make EULA, DRM and others enforceable by law.
Re:Apple’s T2 security chip jailbreak by Benjamin_Dobell on Wednesday September 30, 2020 @07:27AM (#24637594)
This is the first time I've heard about this, and quite interesting to me as Article 12 of WIPO Copyright Treaty specifically requires signatories make circumvention of DRM protection devices illegal. This would seemingly be in contradiction to that. However, seems as the US, who were the driving behind this treaty, also provide exceptions/exemptions, I can see how the EU were able to justify any such contradiction.

That said, from the EU directive:

> Member States shall take appropriate measures to ensure that rightholders make available to the beneficiary of an exception or limitation provided for in national law in accordance with Article 5(2)(a), (2)(c), (2)(d), (2)(e), (3)(a), (3)(b) or (3)(e) the means of benefiting from that exception or limitation, to the extent necessary to benefit from that exception or limitation and where that beneficiary has legal access to the protected work or subject-matter concerned.

There are certain exceptions, in articles 1, 2, 3 and 4, which can be read at https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL.... So there's not a blanket right to circumvent DRM; and nothing is spelt out that clearly.

Additionally, not a lawyer or in Government, however, in my lay-mans reading of this directive, I'm seeing a lot of usages of the word "may". I'm (possibly incorrectly) interpreting this as meaning a Member State can introduce these copyright exceptions, not that it's mandated as the FSFE article states.

Re:Apple’s T2 security chip jailbreak by dathinab on Wednesday September 30, 2020 @08:24AM (#24638028)
Yes but well at least a view (not many) years ago braking DRM for research purpose was fully legal in Germany as well as publishing the findings, through publishing tools which brake DRM was fully illegal.

At least that is what I remember.

Re:Apple’s T2 security chip jailbreak by parliament32 on Wednesday September 30, 2020 @12:36PM (#24640606)
The US is effectively the only place in the world where circumventing DRM is actually illegal and prosecute-able, every other country has various exemptions and bypasses that remove its teeth. Here in Canada for example, you can happily argue "I was doing it to learn how it worked" and fall under the education exemption, unless you're stripping DRM and actively selling the content or something similar.

You should have a skim through https://en.wikipedia.org/wiki/Digital_rights_management#Laws

Re:Apple’s T2 security chip jailbreak by dathinab on Wednesday September 30, 2020 @08:21AM (#24638000)
> the US (and 99% of the rest of the world)

No, that is a pretty US specific mess up.

At least in the EU braking DRM for thinks like research purpose is fully legal as far as I know.

It's a bit more complicated if it's a but distributing tools which can brake DRM.

It's no as complicated if it's about publishing a (somewhat) scientific document explaining the general concept about how to brake it.

Re:Apple’s T2 security chip jailbreak by chungus_khan on Wednesday September 30, 2020 @03:47PM (#24642949)
> It is a pretty solid deterrent though.

It absolutely is not. It is completely unenforceable, especially in the case of criminal circumvention, and serves no realistic or practical purpose. Anyone who commits said "crime" in any meaningfully damaging sense and is caught will already be committing the actual crime of infringement, and so tacking circumvention on is largely pointless. It only serves to deter legitimate public research.

Also, the T2 isn't in any way classifiable as "technological measures used to prevent unauthorized access to copyrighted works". This law is meant to apply to copyright-protection DRM and has nothing to do with software security measures designed to prevent unauthorized access to computer systems. Circumventing the protection of those measures is only legal to do on systems on which you are authorized to do so, and is otherwise illegal under separate law.

Re:Apple’s T2 security chip jailbreak by npongratz on Wednesday September 30, 2020 @09:24AM (#24638453)
> But it also breaks Apple's security platform in a big way, since this should make Apple's biometry scheme in their Macbooks much weaker and FileVault a lot easier to crack.

Perhaps this unsurprising, nearly predestined exploit can convince people that they should not completely rely on biometrics for security.

Re:Apple’s T2 security chip jailbreak by deepstack on Wednesday September 30, 2020 @08:16AM (#24637953)
More and more after over 10 years working in tech I'm convinced that there is no digital system is a secure system. Hardware and Software.
Re:Apple’s T2 security chip jailbreak by deepstack on Wednesday September 30, 2020 @08:18AM (#24637963)
what I mean by that is it really more about one's threat model. Give enough time and capable people, any system can be broken into.
Re:Apple’s T2 security chip jailbreak by saurik on Wednesday September 30, 2020 @05:54AM (#24637050)
So, if only Apple didn't tie the ability to repair and extend the device you purchased from them to the security of your own data, you would be able to feel a more consistent emotion with regards to interest in a fix; that seems all on Apple being a bit evil :/.
Re:Apple’s T2 security chip jailbreak by floatingatoll on Wednesday September 30, 2020 @06:14AM (#24637151)
Can you describe a scenario where Touch ID is safe against evil maid attacks (say, a chip is installed allowing anyone to transmit a certain signal that spoofs Touch ID) while also allowing unrestricted modifications by someone with physical possession of the device (as this T2 rooting post celebrates)?

Right now, that security is provided by Apple crypto-locking the Touch ID sensor to the T2 chip so that it cannot be modified to allow unauthorized access without being disabled altogether.

With the ability to bypass the restrictions of the T2 OS, that protection is stripped away, and replaced by .. nothing, as far as I can determine.

This is akin to removing your car’s electronic anti-theft system because it requires OEM keys. Sure, you can do so, but your car is a lot easier to steal, too. Only it’s not your car here, it’s your computer and all personal data on it, and all SSH keys you use to access remote servers, too.

I’m all for repairability but it’s worrying that the tech community is so invested in removing a padlock that offends them that they set aside security and risk issues in favor of rooting without addressing it at all. If this complete lack of interest in device security is the best we can do, we don’t deserve repairability, and we don’t deserve root.

Re:Apple’s T2 security chip jailbreak by alexvoda on Wednesday September 30, 2020 @07:26AM (#24637584)
I do not understand why you find it worrying that the tech community is invested in removing a restriction IN THE OPEN. If it can be removed for nefarious purposes, eventually, someone will do so and sell the exploit on the zero-day market (probably to a state actor). The existence of the vulnerability is just a fact, it is reality. Why do you feel safer not knowing about it? Whether you know about it or not the vulnerability is still there.
Re:Apple’s T2 security chip jailbreak by floatingatoll on Wednesday September 30, 2020 @08:26AM (#24638035)
I do not ‘feel safer not knowing about it’. I feel safer knowing how to DFU a T2 Mac, though. It’s turning out to be very useful knowledge over time. I encourage you to learn how too.
Re:Apple’s T2 security chip jailbreak by the8472 on Wednesday September 30, 2020 @06:31AM (#24637243)
Allow the users to install their own keys. Changing keys invalidates all encrypted/secured data. Which means you have to export the data if you do hardware changes and reimport it after supplying your own. Once you have your own keys installed you could sign additional hardware with them.

If apple is a viable root of trust then you yourself should be too. There's nothing magical that only apple can do.

Re:Apple’s T2 security chip jailbreak by floatingatoll on Wednesday September 30, 2020 @04:16PM (#24643295)
I believe that Apple is burning their cryptographic key into readonly memory, so they would need to build out a readwrite pipeline and provide a secondary keystore option for "non-default" users that is writable by the hardware itself. That's a tall ask, but it's feasible, so we're good so far. The benefit to expert users with crypto competence is clear.

How would this benefit third-party repair shops, though?

Re:Apple’s T2 security chip jailbreak by Nextgrid on Thursday October 01, 2020 @07:25AM (#24649659)
The point is that you'd backup the keys in advance (when you initially set up the machine) and when the machine dies and your T2 is fried the repair shop can just replace it with a new T2, load the backed-up keys into it and give you back your machine with the data intact.
Re:Apple’s T2 security chip jailbreak by fastball on Wednesday September 30, 2020 @06:29AM (#24637228)
AFAIK, it's not just about the security of your data (you don't need a T2 chip to encrypt data), but also about discouraging theft of the hardware itself.

In light of that, how do you allow for components to be swapped out wholesale without breaking the security model?

Isn't the entire point that you can't just steal a Macbook, swap out the SSD, and now you have a functioning (stolen) laptop?

Re:Apple’s T2 security chip jailbreak by dividedbyzero on Wednesday September 30, 2020 @08:11AM (#24637914)
You can also get away with a much weaker passphrase if you can somehow rate-limit brute force attacks. As I understand it that's one of the things the T2 does, you can't authenticate except through the T2, and the T2 will slow you down and lock you out after n tries.

And I think that's actually incredibly underappreciated feature, most people are both bad at memorizing long, complex passwords/passphrases and not all that motivated since the threat is quite abstract. I've had a hard time convincing some people to have any sort of password at all on their laptop (that they travel with, work in all sorts of places and are overall pretty careless with), as it carries the risk of forgetting the password and it's cumbersome and inconvenient compared to being able to simply open the computer to a logged-in desktop.

Making security less of a hassle really does help with adoption. Having a short, relatively weak, but not trivial password is way way better than having none at all, and realistically that's all most people are ever going to have, so making those passwords hold up better is a really smart move that instantly ups the security of lots and lots of people out there.

But that's not something I believe you could do without a scheme like tieing the encrypted data to a complex secret inside a specific T2 that is uncracked, otherwise you could simply put the SSD in another computer and brute-force it there.

Re:Apple’s T2 security chip jailbreak by the8472 on Wednesday September 30, 2020 @06:35AM (#24637258)
The initial transition from the apple root of trust to your own root (which you would then use to install new hardware) could require being authenticated, this way a thief couldn't do it while the legitimate owner could.
Re:Apple’s T2 security chip jailbreak by fastball on Wednesday September 30, 2020 @06:41AM (#24637285)
That's a route I hadn't thought of.

Seems like a great idea!

Re:Apple’s T2 security chip jailbreak by dathinab on Wednesday September 30, 2020 @08:33AM (#24638091)
Trying to prevent theft that way is a fundamentally flawed approach. It's in the end all about controlling the phone you brought to prevent you from using it in any way they don't like or using it longer then they like (by repairing it).

Theft will happen anyway. You can even sell permanently-locked/bricked devices to people which doesn't look to closely at the sellers description. Sure you will need to sell them for cheap, but that's all.

That idea is like saying all cars must be always tracked, always link up with the drivers phone and be remote-controllable by there manufacturer to prevent theft.

Sure it would prevent theft, maybe, until people find ways to brake it. But it's still totally unreasonable with a lot of hidden cost to it.

E.g. in case of apple laptops the cost is losing a lot of small independent companies as well as any way to properly repair an Apple laptop. (Apple doe NOT provide proper repairs they at best replace whole components often the whole main board because it's one component when many damages tend to be similar because people use their devices similar and often are reasonable fixable with a bit of not-easy-but-not-very-hard-either soldering).

EDIT: And most important! The theft constraint can be archived to a reasonable degree WITHOUT locking out third party repair. A example (through not applicable to mac in this case) is how I setup my laptop with a custom EFI platform key/certificate and a BIOS password so to reuse it after theft people have to replace the BIOS chip soldered onto the motherboard (it has no publicly known master key or reset pin). Apple can archive similar things so that theft is more costy but third party repairs are still mostly unconstrained.

Re:Apple’s T2 security chip jailbreak by shawnz on Wednesday September 30, 2020 @09:06AM (#24638328)
In general I agree with your points. But reducing the profit achievable on stolen devices can reduce the motivation to steal them. Whereas there are already big risks involved in stealing a car so adding DRM wouldn't be that much of an impediment in that case. (And cars already do use DRM in various ways.)
Re:Apple’s T2 security chip jailbreak by stjohnswarts on Wednesday September 30, 2020 @08:53PM (#24646028)
I think it's always best for these things to come out if there's a flaw. You can bet if these guys found it that China, the US government, and 11 eyes by extension all knew about it before that. It's best to know the truth, that the security is broken, rather than crossing your fingers and hoping the security works.
Re:Apple’s T2 security chip jailbreak by tinus_hn on Wednesday September 30, 2020 @06:40AM (#24637278)
If it really matters, Apple can bring an update that blocks these attacks. If the system depends on security through obscurity, sorry, that never lasts.
Re:Apple’s T2 security chip jailbreak by saagarjha on Wednesday September 30, 2020 @07:06AM (#24637458)
Apple cannot update this away; the vulnerability goes down to the very lowest levels of the software to the code burned into ROM.
Re:Apple’s T2 security chip jailbreak by selectodude on Wednesday September 30, 2020 @08:11AM (#24637916)
They were able to update it away on the iPhone X. Checkrain doesn’t work on iOS 14 anymore.
Re:Apple’s T2 security chip jailbreak by saagarjha on Wednesday September 30, 2020 @08:26AM (#24638038)
Well, somewhat. They’re doing a clever side channel based on the SEP’s RNG to panic the device when booting from DFU, but this has already been bypassed on older devices via a bug in SEPROM. I believe they already have code execution in the A11’s enclave as well, but that one has some sort of replay protection that complicates matters.