TMAegis
Другие правила для macos

TMA-MACOS-2.3.3.2

Ensure File Sharing Is Disabled

ВысокийУровень 1Автоматическаяmacos

Описание

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...

Как проверяется

Метод проверки: Команда оболочки

shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'com.apple.smbd' || true
Ожидаемый вывод
0

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

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.

Свойства

Операционные системы
macos-26
Теги
macossystem-settings
Источник
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.2 Ensure File Sharing Is Disabled

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target macos