TMA-MACOS-3.1
Ensure Security Auditing Is Enabled
Opis
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.
Kako se proverava
Metod provere: Komanda ljuske
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -qi com.apple.auditd && echo compliant- Očekivani izlaz
compliant
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
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.
Svojstva
- Operativni sistemi
- macos-26
- Oznake
- macoslogging-auditing
- Referenca
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 3.1 Ensure Security Auditing Is Enabled
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
tmaegis scan --target macos