macOS
TMA-MACOS14-6.3.1
Ensure Automatic Opening of Safe Files in Safari Is Disabled
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. Hackers have taken advantage of this setting via drive-by attacks. These attacks occur when a user visits a legitimate website that has been corrupted. The user unknowingly downloads a malicious file either by closing an infected pop-up or hovering over a malicious banner. An attacker can create a malicious file that will fall within Safari's safe file list that will download and execute without user input.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh 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 Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.Safari 2. The key to include is AutoOpenSafeDownloads 3. The key must be set to: <false/>
Thuộc tính
- Hệ điều hành
- macos-14
- Thẻ
- macossonoma
- Tham chiếu
- CIS Apple macOS 14.0 Sonoma Benchmark v3.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.
tmaegis scan --target macos