TMA-MACOS-2.3.3.2
Ensure File Sharing Is Disabled
Description
File sharing from a user workstation creates additional risks, such as: • Open ports are created that can be probed and attacked • Passwords are attached to user accounts for access that may be exposed and endanger other parts of the organizational environment, including directory accounts • Increased complexity makes security more difficult and may expose additional attack vectors Apple's File Sharing uses the...
Méthode de vérification
Méthode d'audit: Commande shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'com.apple.smbd' || true- Sortie attendue
0
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Terminal: sudo /bin/launchctl disable system/com.apple.smbd ; sudo /bin/launchctl bootout system/com.apple.smbd. GUI: System Settings > General > Sharing > Set File Sharing to disabled.
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.3.2 Ensure File Sharing Is Disabled
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
tmaegis scan --target macos