TMAegis베타
macos 관련 규칙 더 보기

macOS

TMA-MACOS14-6.3.1

Ensure Automatic Opening of Safe Files in Safari Is Disabled

보통레벨 1자동macos

설명

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. Hackers have taken advantage of this setting via drive-by attacks. These attacks occur when a user visits a legitimate website that has been corrupted. The user unknowingly downloads a malicious file either by closing an infected pop-up or hovering over a malicious banner. An attacker can create a malicious file that will fall within Safari's safe file list that will download and execute without user input.

점검 방법

감사 방식: 셸 명령

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 ' '
예상 출력
AutoOpenSafeDownloads=0;

조치 방법

조치 방식: 가이드 또는 인프라 패치

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 AutoOpenSafeDownloads 3. The key must be set to: <false/>

속성

운영 체제
macos-14
태그
macossonoma
참고 자료
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 6.3.1 Ensure Automatic Opening of Safe Files in Safari Is Disabled

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target macos