TMAegisBeta
更多 macos 規則

macOS

TMA-MACOS14-2.6.5

Ensure Gatekeeper Is Enabled

高等級 1自動化macos

說明

Gatekeeper is Apple’s application that utilizes allowlisting to restrict downloaded applications from launching. It functions as a control to limit applications from unverified sources from running without authorization. In an update to Gatekeeper in macOS 13 Ventura, Gatekeeper checks every application on every launch, not just quarantined apps. Disallowing unsigned software will reduce the risk of unauthorized or malicious applications from running on the system.

檢查方式

稽核方法: Shell 指令

shell
/usr/sbin/spctl --status 2>&1
預期輸出
assessments enabled

修補方式

修補方法: 操作指南或基礎設施修補檔

Graphical Method: Perform the following steps to enable Gatekeeper: 1. Open System Settings 2. Select Privacy & Security 3. Set 'Allow apps downloaded from' to 'App Store and identified developers' Terminal Method: Run the following command to enable Gatekeeper to allow applications from App Store and identified developers: % /usr/bin/sudo /usr/sbin/spctl --global-enable Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.systempolicy.control 2. The key to include is AllowIdentifiedDevelopers 3. The key must be set to <true/> 4. The key to also include is EnableAssessment 5. The key must be set to <true/>

屬性

作業系統
macos-14
標籤
macossonoma
參考資料
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.6.5 Ensure Gatekeeper Is Enabled

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target macos