macOS
TMA-MACOS-6.3.1
Ensure Automatic Opening of Safe Files in Safari Is Disabled
SedangLevel 1Otomatismacos
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah 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 ' '- Output yang diharapkan
AutoOpenSafeDownloads=0;
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Profile (preferred): com.apple.Safari AutoOpenSafeDownloads = <false/>.
Properti
- Sistem operasi
- macos-26
- Tag
- macosapplications
- Referensi
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target macos