Information
Ensure that system and security updates are installed after they are available from Apple. This setting enables definition updates for XProtect and Gatekeeper. With this setting in place, new malware and adware that Apple has added to the list of malware or untrusted software will not execute. These updates do not require reboots or end user admin rights.
Silently updated security data files in Monterey
https://support.apple.com/en-us/HT202491
XProtect is Apple's built-in, signature-based security tool for detection and removal of malware.
Protecting against malware in macOS
Patches need to be applied in a timely manner to reduce the risk of vulnerabilities being exploited.
Solution
Graphical Method:
Perform the following steps to enable system data files and security updates to install automatically:
- Open System Preferences
- Select Software Updates
- Select Advanced
- Set Install system data files and security updates to enabled
Terminal Method:
Run the following commands to enable automatic checking of system data files and security updates:
$ /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool true
$ /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool true
Note: This remediation requires a log out and log in to show in the GUI.
Profile Method:
Create or edit a configuration profile with the following information:
- The PayloadType string is com.apple.SoftwareUpdate
- The key to include is ConfigDataInstall
- The key must be set to <true/>
- The key to also include is CriticalUpdateInstall
- The key must be set to <true/>
Impact:
Unpatched software may be exploited.