macOS
TMA-MACOS15-2.3.3.2
Ensure File Sharing Is Disabled
높음레벨 1자동macos
설명
File sharing from a user workstation creates additional risks, such as: • Open ports are created that can be probed and attacked • Passwords are attached to user accounts for access that may be exposed and endanger other parts of the organizational environment, including directory accounts • Increased complexity makes security more difficult and may expose additional attack vectors Apple's File Sharing uses the...
점검 방법
감사 방식: 셸 명령
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'com.apple.smbd' || true- 예상 출력
0
조치 방법
조치 방식: 가이드 또는 인프라 패치
Terminal: sudo /bin/launchctl disable system/com.apple.smbd ; sudo /bin/launchctl bootout system/com.apple.smbd. GUI: System Settings > General > Sharing > Set File Sharing to disabled.
속성
- 운영 체제
- macos-15
- 태그
- macossystem-settings
- 참고 자료
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.3.2 Ensure File Sharing Is Disabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos