TMAegis
macos 관련 규칙 더 보기

macOS

TMA-MACOS14-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. Running without System Integrity Protection on a production system runs the risk of the modification of system binaries or code injection of system processes that would otherwise be protected by SIP.

점검 방법

감사 방식: 셸 명령

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

조치 방법

조치 방식: 가이드 또는 인프라 패치

Terminal Method: Perform the following steps to enable System Integrity Protection: 1. Reboot into the Recovery Partition (system-reboot and hold down Command (⌘) + R) 2. Select Utilities 3. Select Terminal 4. Run the following command: # /usr/bin/sudo /usr/bin/csrutil enable Successfully enabled System Integrity Protection. Please restart the machine for the changes to take effect. 5. Reboot the computer Note: You should research why the system had SIP disabled. It might be a better option to erase the Mac and reinstall the operating system. That is at your discretion. Note: You cannot enable System Integrity Protection from the booted operating system. If the remediation is attempted in the booted OS and not the Recovery Partition the output will give the error csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.

속성

운영 체제
macos-14
태그
macossonoma
참고 자료
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 5.1.2 Ensure System Integrity Protection Status (SIP) Is Enabled

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target macos