#
✕ nick:chadmed[m]
#asahi-dev · 2022-10-14 00:34
chadmed[m]Yeah what im saying is you might be able to grab the 12.3 ipsw and pass it in via apple configurator without destroying the data on the disk, ignoring the update pkg entirely which i didnt even realise they still ship
#asahi-dev · 2022-10-14 00:23
chadmed[m]You used to be able to do that for ios devices if you had the shsh blobs for the version you were going to
#asahi-dev · 2022-10-14 00:23
chadmed[m]Oh yeah right right not sure about that, you might be able to nondestructively provide an IPSW to apple configurator or something
#asahi-dev · 2022-10-14 00:21
chadmed[m]Then downgrade the security and put m1n1 back
#asahi-dev · 2022-10-14 00:20
chadmed[m]If its a standard macos install just set it as the boot disk, put it back into full security then update it
#asahi-dev · 2022-10-08 11:25
chadmed[m]It happened to me while I was playing around with the power monitoring registers in the core clusters if I sent bad floating point instructions to the APs.
#asahi-dev · 2022-10-06 11:43
chadmed[m]ive been trying to maintain the wiki but theres too many things in flight so i just add stuff ot feature support when i see stuff get merged
#asahi-dev · 2022-10-06 05:29
chadmed[m]yeah it describes the design perfectly. its a common term in aviation safety
#asahi-dev · 2022-10-06 05:27
chadmed[m]exactly, swiss cheese model
#asahi-dev · 2022-10-06 05:24
chadmed[m]exactly, which is why you should still be using LUKS and FileVault if you care about that sort of thing. it will prevent them from exfiltrating data from other installs if they pwn one
#asahi-dev · 2022-10-06 05:23
chadmed[m]like if you havent blessed them from userspace they wont show up in the boot picker
#asahi-dev · 2022-10-06 05:23
chadmed[m]so again useless if theyve already captured your username and password
#asahi-dev · 2022-10-06 05:23
chadmed[m]im actually not sure on how that works but i think you can only select external disks for booting from Startup Disk, which requires either presence via touchid or a password
#asahi-dev · 2022-10-06 05:21
chadmed[m]we've had a tonne of similar questions lately, maybe a wiki page with a diagram and a plain english explanation is warranted now
#asahi-dev · 2022-10-06 05:20
chadmed[m]only the APFS container with FV enabled
#asahi-dev · 2022-10-06 05:18
chadmed[m]which thankfully already works fine by itself
#asahi-dev · 2022-10-06 05:17
chadmed[m]so yes if your goal is a full chain of trust to linux userspace/FDE you are going to need LUKS
#asahi-dev · 2022-10-06 05:17
chadmed[m]not that it matters becuase unless you have FV enabled then the entire disk is transparent at runtime
#asahi-dev · 2022-10-06 05:17
chadmed[m]hell you can pick a different install from userspace if youve already captured that
#asahi-dev · 2022-10-06 05:17
chadmed[m]the boot menu is not guarded by 1TR, you can just hold the button down and boot a different install
#asahi-dev · 2022-10-06 05:16
chadmed[m]if you enable FV, that process is guarded by authentication
#asahi-dev · 2022-10-06 05:15
chadmed[m]in a normal, non-FV boot, the disk is unlocked by the SEP/ANE and everything past that point should be assumed to be in the clear
#asahi-dev · 2022-10-06 05:15
chadmed[m]yes, of 1TR
#asahi-dev · 2022-10-06 05:12
chadmed[m]If you turn on filevault then you have authentication at the machine level before the SEP will let you use the disk
#asahi-dev · 2022-10-06 05:10
chadmed[m]Non-FV disks are transparently encrypted so that once youve logged in to the machine the data is no longer garbled. You could gain access to a macos partition and exfil data from an ext4 root if that ext4 root is not itself encrypted on top of whatever the machine “automatically” does
#asahi-dev · 2022-10-06 05:09
chadmed[m]Apple explain this all rather succinctly
#asahi-dev · 2022-10-06 05:08
chadmed[m]Please just read the docs
#asahi-dev · 2022-10-06 05:08
chadmed[m]Filevault requires auth
#asahi-dev · 2022-10-06 05:08
chadmed[m]The disk encryption the SEP/ANE do is transparent once the machine is running
#asahi-dev · 2022-10-06 05:07
chadmed[m]Physical presence assertion etc is just to boot 1TR
#asahi-dev · 2022-10-06 05:07
chadmed[m]You could still gain access to a different OS on the disk and exfiltrate data
#asahi-dev · 2022-10-06 05:07
chadmed[m]No?
#asahi-dev · 2022-10-06 05:06
chadmed[m]For macos/apfs volumes at least
#asahi-dev · 2022-10-06 05:05
chadmed[m]Yes the disk is encrypted at rest
#asahi-dev · 2022-10-06 05:03
chadmed[m]yeah i misspoke
#asahi-dev · 2022-10-06 05:03
chadmed[m]or rather, doesnt do the checks
#asahi-dev · 2022-10-06 05:03
chadmed[m](i mean you can mess with stage2 right now but thats because stage1 cant talk to the SEP yet)
#asahi-dev · 2022-10-06 05:02
chadmed[m]so you cant really tamper with the MachO or stage2 and just expect to get around it
#asahi-dev · 2022-10-06 05:02
chadmed[m]is there a real problem with that though? like i said the SEP wont even let you boot m1n1 unless it matches the one you installed via 1TR
#asahi-dev · 2022-10-06 05:01
chadmed[m]yeah i cant see how we would implement measured boot in the way the PC does without some weird m1n1 runtime services that pretend to be a TPM which doesnt sound pleasant to me
#asahi-dev · 2022-10-06 04:55
chadmed[m]m1n1 will have payload checking etc eventually i believe, its one of the reasons the fat32 code was written in rust
#asahi-dev · 2022-10-06 04:54
chadmed[m]so not only is it signed by the hardware, you are also implicitly signing it as the user/owner of the machine
#asahi-dev · 2022-10-06 04:54
chadmed[m]and to enable sepOS's signing, you need to assert physical presence AND authenticate with machine owner credentials
#asahi-dev · 2022-10-06 04:54
chadmed[m]its not self signed by any one developer, its signed by the machine and sepOS which has a trust direct from apple
#asahi-dev · 2022-10-06 04:54
chadmed[m]the SEP still signs the resultant MachO built from the raw m1n1 binary
#asahi-dev · 2022-10-06 04:53
chadmed[m]"reduced securitly" literally just means apple doesnt do the signing
#asahi-dev · 2022-10-06 04:53
chadmed[m]well yes like i said peruse the apple docs
#asahi-dev · 2022-10-06 04:52
chadmed[m]but i do see what youre saying about u-boot and beyond
#asahi-dev · 2022-10-06 04:51
chadmed[m]but we do have implicit trust of it via the SEP and Apple signing it all
#asahi-dev · 2022-10-06 04:51
chadmed[m]yeah right well we will never be able to emulate that 1:1 because we dont have control over anything before m1n1

plus ›