TMAegisBêta
Plus de règles pour macos

macOS

TMA-MACOS15-6.3.1

Ensure Automatic Opening of Safe Files in Safari Is Disabled

MoyenneNiveau 1Automatiséemacos

Description

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.

Méthode de vérification

Méthode d'audit: Commande 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 ' '
Sortie attendue
AutoOpenSafeDownloads=0;

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

Profile (preferred): com.apple.Safari AutoOpenSafeDownloads = <false/>.

Propriétés

Systèmes d'exploitation
macos-15
Étiquettes
macosapplications
Référence
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target macos