Intune: Microsoft Office
TMA-INTUNE-OFFICE-2.6.6.6.5
Ensure 'Scan encrypted macros in PowerPoint Open XML presentations' is set to 'Enabled: Scan encrypted macros'
Beschreibung
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. Audit: reads the registry value(s) powerpointbypassencryptedmacroscan that the Intune policy writes for every loaded user profile (HKEY_USERS) and prints compliant only when each satisfies the benchmark value.
So wird geprüft
Prüfmethode: Windows-Registrierung
$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\powerpoint\security') -Name 'powerpointbypassencryptedmacroscan' -ErrorAction SilentlyContinue).'powerpointbypassencryptedmacroscan'; if (-not ($null -ne $v -and @(0) -contains [int64]$v)) { $_.PSChildName + ':powerpointbypassencryptedmacroscan=' + $v } }); if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- Erwartete Ausgabe
compliant
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
To establish the recommended state via configuration profiles, set the following Settings Catalog path to Enabled: Scan encrypted macros. Microsoft PowerPoint 2016\PowerPoint Options\Security\Scan encrypted macros in PowerPoint Open XML presentations
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- intune-officeintuneregistry
- Referenz
- CIS Microsoft Intune for Office Benchmark v1.1.0 - 2.6.6.6.5 Ensure 'Scan encrypted macros in PowerPoint Open XML presentations' is set to 'Enabled: Scan encrypted macros'
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
tmaegis scan --target intune-office