TMAegisБета
Више правила за macos

macOS

TMA-MACOS15-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-15
Ознаке
macossystem-settings
Референца
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.3.2 Ensure File Sharing Is Disabled

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target macos