macOS
TMA-MACOS-6.3.1
Ensure Automatic Opening of Safe Files in Safari Is Disabled
Trung bìnhCấp 1Tự độngmacos
Mô tả
Safari will automatically run or execute what it considers safe files. This can include installers and other files that execute on the operating system. Safari evaluates file safety by using a list of filetypes maintained by Apple. The list of files include text, image, video and archive formats that would be run in the context of the OS rather than the browser.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -E 'AutoOpenSafeDownloads' | /usr/bin/tr -d ' '- Đầu ra mong đợi
AutoOpenSafeDownloads=0;
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
Profile (preferred): com.apple.Safari AutoOpenSafeDownloads = <false/>.
Thuộc tính
- Hệ điều hành
- macos-26
- Thẻ
- macosapplications
- Tham chiếu
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target macos