6 ms·
How might Ventura’s rapid security response work?
- bombcar 4y agoI suspect it's something like "apply the changes to the SSV in the background, and meanwhile apply the mitigations to the running system" - and after a reboot they're in place.
- gjsman-1000 4y agoRight. The OS is a read-only volume, but that's only for when it's being read off the disk into system memory. No reason a patch could not be loaded into both disk (SSV requiring reboot) and RAM (actively loaded) simultaneously. The kernel would need to approve, but if the kernel approved it could change any memory address it wants. In theory, a Rapid Security Response is not necessarily only an update. It's a Response. It could contain instructions saying, hey, update this file here, and then patch in memory these particular address to specific new values.
- Animats 4y agoSounds like a great attack vector. Exactly what keys are needed to force a patch?
- gjsman-1000 4y agoMost likely the patches will require digital signatures by Apple and the kernel will verify the signatures before allowing itself to be patched. Most likely the signatures will be compiled into the kernel itself and not be part of any external configuration file. Not a great vector.
- saagarjha 4y agoSounds like the same, or similar, keys that would give you the ability to push a full update.
- sharikous 4y agoYes but a "rapid" security update that doesn't force a reboot is more likely to get under the radar
- saagarjha 4y agoI did a ⌘F of “cryptex” and didn’t find anything so I feel like the author might’ve missed that Apple pulled the shared cache out of the normal SSV and loads it separately, which might make it easier to update. On iOS there’s a separate cryptex containing just WebKit and associated frameworks so it seems pretty clear that this is to be the mechanism for rapid security updates, especially if you’ve been listening in to what the team has been talking about during WWDC. But you’d have to know the right people and questions to ask for that ;)
- Shank 4y ago> especially if you’ve been listening in to what the team has been talking about during WWDC Do you have specific talk links? I'd love to dive in more but I don't know which sessions contain the most useful details.
- saagarjha 4y agoThis isn't part of a talk. That said, a lot of this stuff ends up on Twitter, e.g. https://twitter.com/never_released/status/1533976829228367872 https://twitter.com/never_released/status/153397682922836787...
- Shank 4y ago@never_released is exactly where I ended up, but I was hoping there was more information available. Sadly, it looks like researchers on Twitter and `man cryptex` are the only sources of information floating around for this stuff.
- musicale 4y agoLeveraging snapshots seems like a good one, especially if you can pick which snapshot of the system volume a process is running against. Then you could create the new snapshot and do a live update by rolling over one process at a time.