macOS
TMA-MACOS-3.1
Ensure Security Auditing Is Enabled
높음레벨 1자동macos
설명
macOS's audit facility, auditd, receives notifications from the kernel when certain system calls, such as open, fork, and exit, are made. These notifications are captured and written to an audit log. Apple has deprecated auditd as of macOS 11.0 Big Sur. In macOS 14.0 Sonoma it is no longer enabled by default and it is suggested to use an application that integrates with the EndpointSecurity API.
점검 방법
감사 방식: 셸 명령
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -qi com.apple.auditd && echo compliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Terminal: sudo /bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.auditd.plist ; sudo /bin/cp /etc/security/audit_control.example /etc/security/audit_control.
속성
- 운영 체제
- macos-26
- 태그
- macoslogging-auditing
- 참고 자료
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 3.1 Ensure Security Auditing Is Enabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos