mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
SIP protected services #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nihil-admirari on GitHub.
Originally assigned to: @robertgendler on GitHub.
os_anti_virus_installed and os_time_server_enabled are trying to configure services that are SIP protected, i.e. these services cannot be loaded or unloaded, and their disablement status is always ignored.
Since SIP is enforced by os_sip_enable, it may be better to check that these services were not added to
/System/Library/Sandbox/com.apple.xpc.launchd.rootless.plist, rather than trying tolaunchctl load -wthem (which errors anyway)?@robertgendler commented on GitHub:
We're going to make some changes to the rules that check SIP protected services. It's important to check the status since someone could disable SIP, disable the service, enable SIP.
@robertgendler commented on GitHub:
@nihil-admirari check out
dev_sonoma_issue345