Skip to content

Conversation

opa334
Copy link

@opa334 opa334 commented Feb 15, 2024

This patch disables Protobox, which was introduced in iOS 16 and adds syscall masks (whitelists) to certain system daemons. It also includes a mechanism that makes certain processes crash on sandbox violations, amongst other things.

This PR disables Protobox globally, which fixes several issues with dylib injection and Frida in these processes.

The patchfinding metric is verified working on 16.0 - 17.4b1.

@asdfugil
Copy link

asdfugil commented Feb 15, 2024

This patch appears to be broken on bridgeOS kernels.
bridgeOS probably doesn't have protobox

@opa334
Copy link
Author

opa334 commented Feb 16, 2024

Just check if there is a string with "Protobox" in it in the sandbox kext, if there is not, then it indeed does not have Protobox.

@asdfugil
Copy link

Protobox string exists since bridgeOS 8. The patch still fails on those kernels though.

@opa334
Copy link
Author

opa334 commented Feb 16, 2024

hm idk then, maybe the string exists but the feature is still unused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants