Intune: Microsoft Defender
TMA-INTUNE-DEFENDER-1.8.1
Ensure 'Turn on process scanning whenever real-time protection is enabled' is set to 'Enabled'
Descripción
This policy setting configures process scanning when real-time protection is turned on. This helps to catch malware which could start when real-time protection is turned off. The recommended state for this setting is: Enabled. Audit: reads the registry value(s) behind this Defender policy (HKLM\SOFTWARE\Policies\Microsoft\Windows Defender) and prints compliant only when each satisfies the benchmark value. Policy delivered by Intune only appears here once it has been applied to the device.
Cómo se verifica
Método de auditoría: Registro de Windows
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-TimeProtection' -Name 'DisableScanOnRealtimeEnable' -ErrorAction SilentlyContinue).'DisableScanOnRealtimeEnable'; if (-not ($null -ne $v -and @(0) -contains [int64]$v)) { $bad += 'DisableScanOnRealtimeEnable=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }- Salida esperada
compliant
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Enabled: Administrative Templates\Microsoft Defender Antivirus\Real-Time Protection\Turn on process scanning whenever real-time protection is enabled
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- intune-defenderintuneregistry
- Referencia
- CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 1.8.1 Ensure 'Turn on process scanning whenever real-time protection is enabled' is set to 'Enabled'
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target intune-defender