TMAegisBeta
更多 macos 规则

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