macOS
TMA-MACOS15-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
修正方法
修正方法: ガイダンスまたは IaC パッチ
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-15
- タグ
- macoslogging-auditing
- 参照
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 3.1 Ensure Security Auditing Is Enabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target macos