macEnhance and System Integrity Protection

by Wolfgang Bairdnov 23rd, 2020

 System Integrity Protection and MacEnhance

Some MacEnhance applications cannot fully function, on a normally configured machine due to System Integrity Protection (SIP).

MacEnhance apps that require SIP to be disabled work by altering pre-existing code. In order to change some features of other apps, we use a technique called code injection. This means we add some additional code to an app whilst it is running to do what we need. This is relatively safe - in fact we do not change any part of macOS on the disk.

If you decide to modify the settings, you will be able to install all MacEnhance apps. Just to be clear… Your machine may be less secure when you disable extra security features. It is entirely your decision to modify the settings.

What is System Integrity Protection?

System Integrity Protection is a security technology in OS X El Capitan and later that's designed to help prevent potentially malicious software from modifying protected files and folders on your Mac. System Integrity Protection restricts the root user account and limits the actions that the root user can perform on protected parts of the Mac operating system.

Before System Integrity Protection, the root user had no permission restrictions, so it could access any system folder or app on your Mac. Software obtained root-level access when you entered your administrator name and password to install the software. That allowed the software to modify or overwrite any system file or app.

System Integrity Protection includes protection for these parts of the system:

  • /System
  • /usr
  • /bin
  • /sbin
  • /var
  • Apps that are pre-installed with macOS

Paths and apps that third-party apps and installers can continue to write to include:

  • /Applications
  • /Library
  • /usr
  • /local

System Integrity Protection is designed to allow modification of these protected parts only by processes that are signed by Apple and have special entitlements to write to system files, such as Apple software updates and Apple installers. Apps that you download from the Mac App Store already work with System Integrity Protection. Other third-party software, if it conflicts with System Integrity Protection, might be set aside when you upgrade to OS X El Capitan or later.

System Integrity Protection also helps prevent software from selecting a startup disk. To select a startup disk, choose System Preferences from the Apple menu, then click Startup Disk. Or hold down the Option key while you restart, then choose from the list of startup disks.