TMA-INTUNE-DEFENDER-2.7
Ensure 'Allow Realtime Monitoring' is set to 'Allowed'
Descripción
This policy setting configures real-time protection prompts for known malware detection. Microsoft Defender Antivirus generates alerts when malware or potentially unwanted software attempts to install or execute on a system. The recommended state for this setting is: Allowed. Turns on and runs the real- time monitoring service.. 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\PolicyManager' -Name 'AllowRealtimeMonitoring' -ErrorAction SilentlyContinue).'AllowRealtimeMonitoring'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'AllowRealtimeMonitoring=' + $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 Allowed. Turns on and runs the real-time monitoring service.. Defender\Allow Realtime Monitoring To establish the recommended configuration via Endpoint Security Blade: 1. Navigate to Endpoint Security 2. Click Antivirus 3. Click Create Profile 4. Select Windows for the Platform and Microsoft Defender Antivirus for Profile 5. Name the profile 6. Configure Allow Realtime Monitoring to Allowed. Turns on and runs the real-time monitoring service.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- intune-defenderintuneregistry
- Referencia
- CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.7 Ensure 'Allow Realtime Monitoring' is set to 'Allowed'
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target intune-defender