TMAegisBeta
Mais regras para intune-defender

Intune: Microsoft Defender

TMA-INTUNE-DEFENDER-2.31

Ensure 'Enable Convert Warn To Block' is set to 'Warn verdicts are converted to block'

BaixaNível 2Automatizadaintune-defender

Descrição

This policy setting controls whether Microsoft Defender Antivirus network protection will display a warning, or block network traffic. The recommended state for this setting is: Warn verdicts are converted to block. 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.

Como é verificado

Método de auditoria: Registro do Windows

registry
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\PolicyManager' -Name 'EnableConvertWarnToBlock' -ErrorAction SilentlyContinue).'EnableConvertWarnToBlock'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'EnableConvertWarnToBlock=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }
Saída esperada
compliant

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Warn verdicts are converted to block. Defender\Enable Convert Warn To Block

Propriedades

Sistemas operacionais
Qualquer
Tags
intune-defenderintuneregistry
Referência
CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.31 Ensure 'Enable Convert Warn To Block' is set to 'Warn verdicts are converted to block'

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target intune-defender --level 2