TMAegisБета
Другие правила для intune-office

Intune: Microsoft Office

TMA-INTUNE-OFFICE-2.3.27.17

Ensure 'Protect document metadata for password protected files' is set to 'Enabled'

ВысокийУровень 1Автоматическаяintune-office

Описание

This policy setting determines whether metadata is encrypted when an Office Open XML file is password protected. The recommended state for this setting is: Enabled. Audit: reads the registry value(s) openxmlencryptproperty that the Intune policy writes for every loaded user profile (HKEY_USERS) and prints compliant only when each satisfies the benchmark value.

Как проверяется

Метод проверки: Реестр Windows

registry
$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\common\security') -Name 'openxmlencryptproperty' -ErrorAction SilentlyContinue).'openxmlencryptproperty'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $_.PSChildName + ':openxmlencryptproperty=' + $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: Microsoft Office 2016\Security Settings\Protect document metadata for password protected files

Свойства

Операционные системы
Любая
Теги
intune-officeintuneregistry
Источник
CIS Microsoft Intune for Office Benchmark v1.1.0 - 2.3.27.17 Ensure 'Protect document metadata for password protected files' is set to 'Enabled'

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target intune-office