TMAegisBeta
更多 macos 规则

macOS

TMA-MACOS14-6.3.7

Ensure Show Full Website Address in Safari Is Enabled

低级别 1自动化macos

说明

Attackers use websites with malicious or unwanted content to exploit the user or the computer. Part of the attack chain is to lure someone to load their content rather than the desired content. In order to reduce the risk in interacting with unwanted content, the full website address should always be displayed in Safari. Full visibility into what site is being visited is important for privacy and security.

检查方式

审计方法: Shell 命令

shell
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -E 'ShowFullURLInSmartSearchField' | /usr/bin/tr -d ' '
预期输出
ShowFullURLInSmartSearchField=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 ShowFullURLInSmartSearchField 3. The key must be set to: <true/>

属性

操作系统
macos-14
标签
macossonoma
参考
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 6.3.7 Ensure Show Full Website Address in Safari Is Enabled

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target macos