TMA-MACOS-2.13.2
Ensure Guest Access to Shared Folders Is Disabled
高レベル 1自動macos
説明
Allowing guests to connect to shared folders enables users to access selected shared folders and their contents from different computers on a network.
チェック方法
監査方法: シェルコマンド
shell
out=$(/usr/sbin/sysadminctl -smbGuestAccess status 2>&1) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -q "SMB guest access disabled" && echo compliant- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Terminal: sudo /usr/sbin/sysadminctl -smbGuestAccess off. GUI: System Settings > Users & Groups > i next to the Guest User > Set Allow guests to connect to shared folders to disabled.
プロパティ
- オペレーティングシステム
- macos-26
- タグ
- macossystem-settings
- 参照
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.13.2 Ensure Guest Access to Shared Folders Is Disabled
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target macos