Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpf: Add patch to disable Protobox on iOS 16+ #182

Open
wants to merge 1 commit into
base: iOS15
Choose a base branch
from

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.

None yet

2 participants