News for hackers. Stuff that matters.
Re:The Threat on Your Desk: Building an Evil USB-C Dock by metadat on Saturday March 11, 2023 @09:19PM (#35115683)
Do ARM processors have a similar mechanism?

Edit: Yes, it's called TrustZone.

https://en.wikipedia.org/wiki/ARM_architecture_family#Securi...

Re:The Threat on Your Desk: Building an Evil USB-C Dock by dmitrygr on Saturday March 11, 2023 @09:42PM (#35115876)
not the same at all. Trustzone is a special mode of the very same main CPU (more like intel's SMM), whereas PSP and ME are a separate core
Re:The Threat on Your Desk: Building an Evil USB-C Dock by elromulous on Sunday March 12, 2023 @03:06AM (#35117569)
More specifically, trustzone is the arm equivalent of Intel's (mostly deprecated) sgx.

https://en.m.wikipedia.org/wiki/Software_Guard_Extensions

Re:The Threat on Your Desk: Building an Evil USB-C Dock by qbasic_forever on Saturday March 11, 2023 @09:54PM (#35115956)
ARM doesn't have a concept of anything like the management engine, but remember it's just an ISA and actual SoC implementations like from Qualcomm, Samsung, Apple, Amazon, etc. are free to add their own logic and side controllers.
Re:The Threat on Your Desk: Building an Evil USB-C Dock by ace2358 on Saturday March 11, 2023 @10:06PM (#35116033)
Which I feel like Apple does do? When I turn my iPhone off, it says it’ll still be able to be found using find my phone…
Re:The Threat on Your Desk: Building an Evil USB-C Dock by concinds on Sunday March 12, 2023 @12:07AM (#35116882)
That's different. It's a feature where Apple deliberately keeps some components running after shutdown, in a very low-power way, and provides an option to turn that off. Those components (the Bluetooth chip, for example) are all strictly separated from each other by IOMMUs.

Intel Management Engine is very different. It's basically another CPU within your real CPU, running its own software with no visibility to the main OS, and it has (AFAIK) full access to other components. If it's compromised, or has a factory backdoor, you're 0wned.

The closest thing to Intel IME that the iPhone has, is the baseband, which can run its own code. But if I'm reading marcan correctly (https://news.ycombinator.com/item?id=30393283), modern iPhones/Android phones all use IOMMUs to isolate that (with the exception of a few so-called "free/libre" phones). The IOMMUs can be easily inspected from the OS to make sure they're correct, so it's just not a concern, unlike IME.

Re:The Threat on Your Desk: Building an Evil USB-C Dock by ace2358 on Sunday March 12, 2023 @03:40AM (#35117755)
Thank you for this break down. I appreciate the distinction.
Re:The Threat on Your Desk: Building an Evil USB-C Dock by fmajid on Sunday March 12, 2023 @05:03PM (#35126254)
The baseband doesn't have control over the application (main) processor the way IME does, however, and Apple is rightfully distrustful of Qualcomm's security and the two are fairly stringently separated. What a baseband (or WiFi controller) rootkit can do, however, is intercept all your network traffic, and inject exploits for software bugs in the main OS.
Re:The Threat on Your Desk: Building an Evil USB-C Dock by concinds on Sunday March 12, 2023 @12:17AM (#35116929)
Note that Apple M-chips don't have TrustZone or anything equivalent.
Re:The Threat on Your Desk: Building an Evil USB-C Dock by squarefoot on Sunday March 12, 2023 @05:17AM (#35118217)
Are those CPUs documented enough so that we can be 100% sure of that?
Re:The Threat on Your Desk: Building an Evil USB-C Dock by amelius on Sunday March 12, 2023 @05:36AM (#35118288)
How do we know that the foundry didn't insert anything Apple doesn't know about?
Re:The Threat on Your Desk: Building an Evil USB-C Dock by tempay on Sunday March 12, 2023 @06:21AM (#35118481)
I would expect apples quality control processes to pick this up. They’re so closely involved in the chip design process that it’s hard to imagine Apple’s engineers are debugging wouldn’t notice something was amass.

Not to mention the technical challenge of quickly understanding and editing Apple’s designs from the limited information that is shared with the foundry.

Re:The Threat on Your Desk: Building an Evil USB-C Dock by amelius on Sunday March 12, 2023 @07:05AM (#35118722)
The device could be dormant until it gets a signal, meaning Apple won't find it unless they cut up the die. And they could attach it to anything that looks like a bus, then figure out how to exploit it later.