#asahi-re · 2023-01-14 02:16
nicolas17turns out it generates a SEP-backed key, and uses server-side attestation that it's SEP-backed#asahi-re · 2023-01-14 02:15
nicolas17but there's now a CarPlay Simulator app in Xcode, you plug an iPhone to a Mac and it shows the car UI on the Mac... so how does *that* work? can you just grab the simulator's key and make uncertified hardware?#asahi-re · 2023-01-14 02:15
nicolas17amarioguy: interesting thing we found recently... CarPlay requires the car to authenticate itself as a certified accessory, using an Apple-provided auth chip, same as any other MFi accessory#asahi-re · 2022-12-02 23:33
nicolas17still laughing at his recent over-confident statements in a live stream about how few people are needed to run Twitter, immediately followed by him reading a basic GraphQL tutorial#asahi-re · 2022-12-02 23:30
nicolas17I missed who we're talking about *checks IRC log* OH yeah that makes sense#asahi-re · 2022-12-02 23:29
nicolas17today I found there's 4 different C tools to decompress Apple "pbzx" compressed streams and they *all* misinterpret what the fields actually mean, probably because they copied code off each other#asahi-re · 2022-12-02 23:28
nicolas17eiln: ah overconfident misinterpretations...#asahi-re · 2022-10-06 11:50
nicolas17oh right, it's 8 bytes#asahi-re · 2022-10-06 11:48
nicolas17(also I think it's actually more than 16 bits, I don't remember exactly)#asahi-re · 2022-10-06 11:48
nicolas17I don't know why they went for sha512 instead of 256 and why they didn't just truncate it instead of xoring pieces of it to make it fit in the BTLE packet#asahi-re · 2022-10-06 11:48
nicolas17sven: there's a Continuity protocol that uses something like "s=sha512(payload); hash = s[0..15] xor s[16..31] xor ..."#asahi-re · 2022-10-06 11:42
nicolas17oh like a packet checksum?#asahi-re · 2022-10-06 11:42
nicolas17hash? :|#asahi-re · 2022-10-04 13:24
nicolas17oof matrix bridge fell over#asahi-re · 2022-10-04 13:08
nicolas17why can't apple use a sandboxed userspace daemon for this? :/#asahi-re · 2022-10-04 13:05
nicolas17seems not#asahi-re · 2022-10-04 13:03
nicolas17IIRC there was a recent vulnerability in macOS's kernel-mode parsing of h264 x_x#asahi-re · 2022-07-17 06:30
nicolas17I'll go back to my userland comfort zone :p#asahi-re · 2022-07-17 06:28
nicolas17oh, tracer enabled but throwing the traced data away?#asahi-re · 2022-07-17 06:27
nicolas17producing how many gigabytes of log until login screen? :D#asahi-re · 2022-07-17 06:25
nicolas17bleh how is it so timing sensitive?#asahi-re · 2022-07-17 06:25
nicolas17oh I missed that#asahi-re · 2022-07-17 06:21
nicolas17so yeah I think if you're not seeing encrypted data coming from mesa and then immediately the *same* encrypted data going to the SEP, then the SEP trace is incomplete :)#asahi-re · 2022-07-17 06:10
nicolas17so in hardware/wiring it's not AP <-> SEP <-> mesa as I said earlier, rather it's SEP <-> AP <-> mesa; *but* it's encrypted end-to-end#asahi-re · 2022-07-17 06:07
nicolas17but yeah I believe the AP can't see raw fingerprint data by design#asahi-re · 2022-07-17 06:06
nicolas17take none of this as fact, I'm joining the speculation :)#asahi-re · 2022-07-17 06:05
nicolas17and maybe you don't see that because the SEP tracer isn't catching it#asahi-re · 2022-07-17 06:04
nicolas17if that's right, then you should see the encrypted garbage being sent to mesa actually came verbatim from the SEP, and viceversa, and the AP is just forwarding ciphertext back and forth#asahi-re · 2022-07-17 06:02
nicolas17I'm not entirely sure, there's some ambiguity in the way this is written, or I'm too tired to read it confidently#asahi-re · 2022-07-17 06:01
nicolas17https://support.apple.com/guide/security/face-id-and-touch-id-security-sec067eb0c9e/web#asahi-re · 2022-07-17 06:01
nicolas17rather the AP has to forward the data between them, but it's encrypted and the AP can't see what it is#asahi-re · 2022-07-17 06:00
nicolas17hm, I think there isn't a direct SEP-Mesa hardware connection#asahi-re · 2022-07-17 05:55
nicolas17I thought you had to do that anyway#asahi-re · 2022-07-17 05:54
nicolas17SEP for older iPhones can be decrypted, but I'm not sure how useful it would be#asahi-re · 2022-07-17 05:53
nicolas17the Mac SEP FW is encrypted#asahi-re · 2022-07-17 05:47
nicolas17ah, need better SEP tracing first, I see#asahi-re · 2022-07-17 05:46
nicolas17could it be doing the "negotiation" via the SEP?#asahi-re · 2022-07-17 05:44
nicolas17can m1n1 set a breakpoint on that code, so you know which one is running?#asahi-re · 2022-07-17 05:42
nicolas17well how does the AP come up with that encrypted buffer? either it has some plaintext and encrypts it, or it gets encrypted data from (say) the SEP and forwards it#asahi-re · 2022-07-17 05:40
nicolas17but that would need code-level RE#asahi-re · 2022-07-17 05:40
nicolas17if it's the AP encrypting it, it should be possible to intercept...#asahi-re · 2022-07-17 05:38
nicolas17interesting#asahi-re · 2022-07-17 05:38
nicolas17I always thought it was AP <-> SEP <-> mesa sensor, and no AP <-> mesa connection at all#asahi-re · 2022-07-17 05:37
nicolas17oh what? I thought the touchid sensor was connected to the SEP *only*#asahi-re · 2022-07-16 23:58
nicolas17goes back under his rock#asahi-re · 2022-07-16 23:58
nicolas17oh you said "other than ANE", I misread as AVE#asahi-re · 2022-07-16 23:54
nicolas17rqou_: there seems to be zero done about ANE, if that interests you?#asahi-re · 2022-07-16 23:53
nicolas17I don't think anyone is actively looking into AOP, that file has 2 commits, you can talk to it via the usual ASC mailbox but there's no info on *what* to send in there, so there's plenty to do#asahi-re · 2022-07-16 23:49
nicolas17ah you mean something nobody even started with? :)#asahi-re · 2022-07-16 23:43
nicolas17AOP?