macOS
TMA-MACOS-2.3.2.2
Ensure the Time Service Is Enabled
MoyenneNiveau 1Automatiséemacos
Description
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.
Méthode de vérification
Méthode d'audit: Commande shell
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'com.apple.timed' || true- Sortie attendue
1
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
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.
Propriétés
- Systèmes d'exploitation
- macos-26
- Étiquettes
- macossystem-settings
- Référence
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.2.2 Ensure the Time Service Is Enabled
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target macos