Microsoft Defender Antivirus
TMA-DEFENDER-1.6.1.7
Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '01443614-cd74-433a-b99e- 2ecdc07bfc25:2' or higher
Descripción
This rule blocks executable files, such as .exe, .dll, or .scr, from launching. Rule ID and name: - 01443614-cd74-433a-b99e-2ecdc07bfc25 (Block executable files from running unless they meet a prevalence, age, or trusted list criterion) The recommended state for this setting is: 01443614-cd74-433a-b99e- 2ecdc07bfc25:2 (Audit) or higher. Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect machines. Launching untrusted or unknown executable files can be risky, as it might not be initially clear if the files are malicious. Audit reads the Group Policy registry value and prints 'compliant', 'unset' (policy not configured, reported as FAIL) or the non-compliant value. Registry value: HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules:01443614-cd74-433a-b99e-2ecdc07bfc25 (REG_SZ); compliant when it is 2 or 1.
Cómo se verifica
Método de auditoría: Registro de Windows
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name '01443614-cd74-433a-b99e-2ecdc07bfc25' -ErrorAction SilentlyContinue).'01443614-cd74-433a-b99e-2ecdc07bfc25'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('2','1') -contains "$v")) { 'compliant' } else { "non-compliant: $v" }- Salida esperada
compliant
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Windows Components\Microsoft Defender Antivirus\Microsoft Defender Exploit Guard\Attack Surface Reduction\Configure Attack Surface Reduction rules: Set the state for each ASR rule = 01443614-cd74-433a-b99e-2ecdc07bfc25 with a value of 2 or 1. Test in audit mode (2) first. Local alternative (writes Defender preferences, not the Group Policy value this audit reads): Add-MpPreference -AttackSurfaceReductionRules_Ids 01443614-cd74-433a-b99e-2ecdc07bfc25 -AttackSurfaceReductionRules_Actions 2
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- defenderantiviruscis-l1
- Referencia
- CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.7 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '01443614-cd74-433a-b99e- 2ecdc07bfc25:2' or higher
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target defender