TMAegisBeta
更多 macos 規則

macOS

TMA-MACOS-5.1.2

Ensure System Integrity Protection Status (SIP) Is Enabled

高等級 1自動化macos

說明

System Integrity Protection is a security feature introduced in OS X 10.11 El Capitan. System Integrity Protection restricts access to System domain locations and restricts runtime attachment to system processes. Any attempt to inspect or attach to a system process will fail. Kernel Extensions are now restricted to /Library/Extensions and are required to be signed with a Developer ID.

檢查方式

稽核方法: Shell 指令

shell
out=$(/usr/bin/csrutil status 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -q "System Integrity Protection status: enabled" && echo compliant
預期輸出
compliant

修補方式

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

Boot into macOS Recovery (Apple silicon: hold the power button at startup; Intel: hold Command-R), open Utilities > Terminal and run /usr/bin/csrutil enable, then restart the Mac. SIP cannot be re-enabled from the running OS.

屬性

作業系統
macos-26
標籤
macossystem-access
參考資料
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.1.2 Ensure System Integrity Protection Status (SIP) Is Enabled

檢查此主機

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

shell
tmaegis scan --target macos