mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-04 09:13:19 +00:00
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
id: os_gatekeeper_enable
|
|
title: "Enable Gatekeeper"
|
|
discussion: |
|
|
Gatekeeper _MUST_ be enabled.
|
|
|
|
Gatekeeper is a security feature that ensures that applications are digitally signed by an Apple-issued certificate before they are permitted to run. Digital signatures allow the macOS host to verify that the application has not been modified by a malicious third party.
|
|
|
|
Administrator users will still have the option to override these settings on a case-by-case basis.
|
|
check: |
|
|
/usr/sbin/spctl --status | /usr/bin/grep -c "assessments enabled"
|
|
result:
|
|
integer: 1
|
|
fix: |
|
|
[source,bash]
|
|
----
|
|
/usr/sbin/spctl --master-enable
|
|
----
|
|
references:
|
|
cce:
|
|
- CCE-84759-0
|
|
cci:
|
|
- CCI-001749
|
|
800-53r4:
|
|
- CM-5(3)
|
|
- CM-5
|
|
- SI-7(15)
|
|
srg:
|
|
- SRG-OS-000366-GPOS-00153
|
|
disa_stig:
|
|
- AOSX-14-002064
|
|
800-171r2:
|
|
- 3.4.5
|
|
macOS:
|
|
- "10.15"
|
|
tags:
|
|
- 800-171
|
|
- cnssi-1253
|
|
- fisma-moderate
|
|
- fisma-high
|
|
- STIG
|
|
mobileconfig: true
|
|
mobileconfig_info:
|
|
com.apple.systempolicy.control:
|
|
EnableAssessment: true
|