macOS
TMA-MACOS15-2.3.2.2
Ensure the Time Service Is Enabled
中等級 1自動化macos
說明
In macOS 10.14, Apple replace ntp with timed for time services, and is used to ensure correct time is kept. Correct date and time settings are required for authentication protocols, file creation, modification dates, and log entries.
檢查方式
稽核方法: Shell 指令
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'com.apple.timed' || true- 預期輸出
1
修補方式
修補方法: 操作指南或基礎設施修補檔
If the timed service has been disabled, assume that the operating system has been compromised. Back up any files, and do a clean install to a known good Operating System.
屬性
- 作業系統
- macos-15
- 標籤
- macossystem-settings
- 參考資料
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.2.2 Ensure the Time Service Is Enabled
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target macos