macOS
TMA-MACOS14-6.3.3
Ensure Warn When Visiting A Fraudulent Website in Safari Is Enabled
中等級 1自動化macos
說明
Apple uses the Google Safe Browsing API to check for fraudulent websites and report them to the user attempting to visit one. Attackers use crafted web pages to social engineer users to load unwanted content. Warning users prior to loading the content enables better security.
檢查方式
稽核方法: Shell 指令
shell
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -E 'WarnAboutFraudulentWebsites' | /usr/bin/tr -d ' '- 預期輸出
WarnAboutFraudulentWebsites=1;
修補方式
修補方法: 操作指南或基礎設施修補檔
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 WarnAboutFraudulentWebsites 3. The key must be set to: <true/>
屬性
- 作業系統
- macos-14
- 標籤
- macossonoma
- 參考資料
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 6.3.3 Ensure Warn When Visiting A Fraudulent Website in Safari Is Enabled
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target macos