TMAegisBeta
Thêm quy tắc cho macos

macOS

TMA-MACOS15-5.1.2

Ensure System Integrity Protection Status (SIP) Is Enabled

CaoCấp 1Tự độngmacos

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh 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
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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.

Thuộc tính

Hệ điều hành
macos-15
Thẻ
macossystem-access
Tham chiếu
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.1.2 Ensure System Integrity Protection Status (SIP) Is Enabled

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target macos