os_sip_enable Ensure System Integrity Protection is Enabled
All changes in this version
Title
Ensure System Integrity Protection is Enabled
Control
/usr/bin/csrutil status | /usr/bin/grep -c 'System Integrity Protection status: enabled.'
Discussion
System Integrity Protection (SIP) _MUST_ be enabled.
SIP is vital to protecting the integrity of the system as it prevents malicious users and software from making unauthorized and/or unintended modifications to protected files and folders; ensures the presence of an audit record generation capability for defined auditable events for all operating system components; protects audit tools from unauthorized access, modification, and deletion; restricts the root user account and limits the actions that the root user can perform on protected parts of the macOS; and prevents non-privileged users from granting other users direct access to the contents of their home directories and folders.
NOTE: SIP is enabled by default in macOS.
Related controls
ac-3, au-9, au-9.3, cm-5, cm-5.6, sc-4, si-2, si-7
Fix
[source,bash]
----
/usr/bin/csrutil enable
----
NOTE: To re-enable "System Integrity Protection", boot the affected system into "Recovery" mode, launch "Terminal" from the "Utilities" menu, and run the command.