macOS
TMA-MACOS14-2.12.2
Ensure Guest Access to Shared Folders Is Disabled
Mô tả
Allowing guests to connect to shared folders enables users to access selected shared folders and their contents from different computers on a network. Not allowing guests to connect to shared folders mitigates the risk of an untrusted user doing basic reconnaissance and possibly using privilege escalation attacks to take control of the system.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Graphical Method: Perform the following steps to ensure that guests cannot connect to shared folders: 1. Open System Settings 2. Select Users & Groups 3. Select the i next to the Guest User 4. Verify that Allow guests to connect to shared folders is disabled Terminal Method: Run the following commands to verify that shared folders are not accessible to guest users: % /usr/bin/sudo /usr/sbin/sysadminctl -smbGuestAccess status The output should include SMB guest access disabled.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Graphical Method: Perform the following steps to no longer allow guest user access to shared folders: 1. Open System Settings 2. Select Users & Groups 3. Select the i next to the Guest User 4. Set Allow guests to connect to shared folders to disabled Terminal Method: Run the following commands to ensure that shared folders are not accessible to guest users: % /usr/bin/sudo /usr/sbin/sysadminctl -smbGuestAccess off
Thuộc tính
- Hệ điều hành
- macos-14
- Thẻ
- access-controlmacossonoma
- Tham chiếu
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.12.2 Ensure Guest Access to Shared Folders Is Disabled