#asahi-dev · 2026-06-09 06:30
StanfordAppliedCyber[m]oh for fucks sake i may just be a fucking idiot#asahi-dev · 2026-06-09 06:23
StanfordAppliedCyber[m]idk, tbh i havent' really looked at the txm firmware, i've mostly just looked at the xnu source and gone "how can i make this take the right code path"#asahi-dev · 2026-06-09 06:22
StanfordAppliedCyber[m]i thought there was some apple custom wrinkle to it, not just standard vhe#asahi-dev · 2026-06-09 06:22
StanfordAppliedCyber[m]as a bonus all the shared mappings are really easy because we know exactly what they are by the emulator#asahi-dev · 2026-06-09 06:21
StanfordAppliedCyber[m]i'd probably just run the whole thing in el1 and patch svc --> hvc#asahi-dev · 2026-06-09 06:21
StanfordAppliedCyber[m]but it does some weird stuff involving svc being turned into an hvc effectively by some weird mechanism#asahi-dev · 2026-06-09 06:21
StanfordAppliedCyber[m]yeah i'm familiar#asahi-dev · 2026-06-09 06:18
StanfordAppliedCyber[m]that's not a terrible idea, if i run out of ideas i'll look into it#asahi-dev · 2026-06-09 06:18
StanfordAppliedCyber[m]txm is currently the most BS emulator endpoint by far, dart/sart/nvme/uat are all pretty legit, xnu_bootstrap i had to slave over but i'm very confident works#asahi-dev · 2026-06-09 06:15
StanfordAppliedCyber[m]i'll see if i can rule txm out next#asahi-dev · 2026-06-09 06:15
StanfordAppliedCyber[m]wow we had the same thought at the same time#asahi-dev · 2026-06-09 06:15
StanfordAppliedCyber[m]the only "obvious" thing is that a bunch of TXM is currently stubbed out to either return success or not supported#asahi-dev · 2026-06-09 06:08
StanfordAppliedCyber[m]i can verify that the txm-dart secure channel is both totally fine and not used for this cmd, that the SEP has successfully written to the OOL pages for different cmds in the same endpoint, and that the sep firmware is definitely alive#asahi-dev · 2026-06-09 05:50
StanfordAppliedCyber[m]yeah im really not sure how to debug this-- i just don't get a reply to the stac command#asahi-dev · 2026-06-09 05:35
StanfordAppliedCyber[m]none of the gigalocker endpoints are touched before we panic#asahi-dev · 2026-06-09 05:34
StanfordAppliedCyber[m]okay it's definitely not gigalocker#asahi-dev · 2026-06-09 05:07
StanfordAppliedCyber[m]then again we'd never get a clear Y/N, it'd just be "the sep black box won't work with us and we dont know why"#asahi-dev · 2026-06-09 05:06
StanfordAppliedCyber[m]i suppose that in itself is a finding-- "m1n1 hypervisor will never work on raw boot mode", but that would be a sad discovery#asahi-dev · 2026-06-09 05:06
StanfordAppliedCyber[m]ack, i'm really hoping this is just something i'm doing wrong because if it's not then we have problems#asahi-dev · 2026-06-09 05:03
StanfordAppliedCyber[m]also, when is it configured in regular macos boot? is it before or after decryption of user data (and thus the publishing of the sks service)?#asahi-dev · 2026-06-09 05:03
StanfordAppliedCyber[m]dart-txm is totally silent, the firmware is definitely loaded#asahi-dev · 2026-06-09 05:02
StanfordAppliedCyber[m]i'm running out of ideas on what we could possibly be breaking that's causing sep xart to be unhappy#asahi-dev · 2026-06-09 05:02
StanfordAppliedCyber[m]chaos_princess: what do we know about gigalocker? like, what sets it up and how does sep talk to it?#asahi-dev · 2026-06-09 04:58
StanfordAppliedCyber[m]this was never an issue with previous hypervisors?#asahi-dev · 2026-06-09 04:44
StanfordAppliedCyber[m]this does make me feel slightly better though, because it likely means it's something I'M doing wrong as opposed to this just being impossible in raw boot mode#asahi-dev · 2026-06-09 04:43
StanfordAppliedCyber[m]okay this is very fun#asahi-dev · 2026-06-09 04:43
StanfordAppliedCyber[m]but xart does work?#asahi-dev · 2026-06-09 04:43
StanfordAppliedCyber[m]well i suppose i get to get xart working then#asahi-dev · 2026-06-09 04:42
StanfordAppliedCyber[m]ah yes this does appear to be a problem, it takes the real aes key, encrypts it with some ephmeral key generated from TRNG, then xnu just takes the encrypted key and passes it to ANS#asahi-dev · 2026-06-09 04:11
StanfordAppliedCyber[m]if it doesn't then it's time to bash my head against a wall hoping SEP works#asahi-dev · 2026-06-09 04:10
StanfordAppliedCyber[m]i have a script that successfully decrypted some files on some other volume on the local machine so i'll see if it works#asahi-dev · 2026-06-09 04:09
StanfordAppliedCyber[m]well, xart (the endpoint) responds, it's stac that's having issues#asahi-dev · 2026-06-09 04:08
StanfordAppliedCyber[m]this is the user data key, the thing that encrypts /Users#asahi-dev · 2026-06-09 04:08
StanfordAppliedCyber[m]possibly? i thought about that, it's definitely possible#asahi-dev · 2026-06-09 03:36
StanfordAppliedCyber[m]specifically it never publishes sep-endpoint,sks#asahi-dev · 2026-06-09 03:36
StanfordAppliedCyber[m]like, run a real macho payload in that container, custom kext, dump the key, profit#asahi-dev · 2026-06-09 03:36
StanfordAppliedCyber[m]i may have to dump this from a running macos installation#asahi-dev · 2026-06-09 03:35
StanfordAppliedCyber[m]it's not advertising the media key i need to decrypt user data#asahi-dev · 2026-06-09 03:35
StanfordAppliedCyber[m]it's possible apple has massively reduced the capabilities of the SEP in raw boot mode#asahi-dev · 2026-06-09 03:28
StanfordAppliedCyber[m]well, i just tossed the xart device tree node from the ADT and those problems magically went away#asahi-dev · 2026-06-09 01:05
StanfordAppliedCyber[m]xart and xarm can all send and receive messages which is strange#asahi-dev · 2026-06-09 01:05
StanfordAppliedCyber[m]@ chaos princess it does appear that my problem is related to gigalocker#asahi-dev · 2026-06-09 00:48
StanfordAppliedCyber[m]fuck#asahi-dev · 2026-06-09 00:48
StanfordAppliedCyber[m]AppleSEP:WARNING: timeout/error waiting for reply to lo: 0x170600. endpoint is enabled#asahi-dev · 2026-06-09 00:42
StanfordAppliedCyber[m]bad news: more SEP issues, idk if i can just ignore these#asahi-dev · 2026-06-09 00:41
StanfordAppliedCyber[m]i just ended up disabling trusted accessory, it's not like we'll ever support those anyways#asahi-dev · 2026-06-08 20:32
StanfordAppliedCyber[m]that's probably marcan, but appreciate the kind words#asahi-dev · 2026-06-08 20:29
StanfordAppliedCyber[m]this isn't a sptm issue, it's a general HV issue#asahi-dev · 2026-06-08 20:29
StanfordAppliedCyber[m]freetolga: trying to get the m1n1 hypervisor working on m4+ by emuating sptm#asahi-dev · 2026-06-08 09:58
StanfordAppliedCyber[m]obviously fairplay being disabled makes sense, but attestation? feels incorrect to me