macOS
TMA-MACOS-6.3.1
Ensure Automatic Opening of Safe Files in Safari Is Disabled
MediaNivel 1Automatizadamacos
Descripción
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ómo se verifica
Método de auditoría: Comando de 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 ' '- Salida esperada
AutoOpenSafeDownloads=0;
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Profile (preferred): com.apple.Safari AutoOpenSafeDownloads = <false/>.
Propiedades
- Sistemas operativos
- macos-26
- Etiquetas
- macosapplications
- Referencia
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target macos