Intune: Microsoft Office
TMA-INTUNE-OFFICE-2.11.8.7.2.8
Ensure 'Scan encrypted macros in Word Open XML Documents' to 'Enabled: Scan encrypted macros (default)'
설명
This policy setting controls whether encrypted macros in Open XML documents are required to be scanned with antivirus software before being opened. The recommended state for this setting is: Enabled: Scan encrypted macros (default). Audit: reads the registry value(s) wordbypassencryptedmacroscan that the Intune policy writes for every loaded user profile (HKEY_USERS) and prints compliant only when each satisfies the benchmark value.
점검 방법
감사 방식: Windows 레지스트리
$bad = @(); $bad += @(Get-ChildItem Registry::HKEY_USERS | Where-Object { $_.PSChildName -match '^S-1-5-21-\d+-\d+-\d+-\d+$' } | ForEach-Object { $v = (Get-ItemProperty -Path ('Registry::HKEY_USERS\' + $_.PSChildName + '\SOFTWARE\Policies\Microsoft\office\16.0\word\security') -Name 'wordbypassencryptedmacroscan' -ErrorAction SilentlyContinue).'wordbypassencryptedmacroscan'; if (-not ($null -ne $v -and @(0) -contains [int64]$v)) { $_.PSChildName + ':wordbypassencryptedmacroscan=' + $v } }); if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
To establish the recommended state via configuration profiles, set the following Settings Catalog path to Enabled: Scan encrypted macros (default). Microsoft Word 2016\Word Options\Security\Trust Center\Scan encrypted macros in Word Open XML Documents
속성
- 운영 체제
- 모두
- 태그
- intune-officeintuneregistry
- 참고 자료
- CIS Microsoft Intune for Office Benchmark v1.1.0 - 2.11.8.7.2.8 Ensure 'Scan encrypted macros in Word Open XML Documents' to 'Enabled: Scan encrypted macros (default)'
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target intune-office