TMAegisBeta
更多 macos 规则

macOS

TMA-MACOS15-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-15
标签
macossystem-access
参考
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.1.2 Ensure System Integrity Protection Status (SIP) Is Enabled

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target macos