TMAegisBeta
Mais regras para defender

Microsoft Defender Antivirus

TMA-DEFENDER-1.6.1.2

Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '56a863a9-875e-4185-98a7- b882c64b5ce5:1'

AltaNível 1Automatizadadefender

Descrição

This rule prevents an application from writing a vulnerable signed driver to disk. Rule ID and name: - 56a863a9-875e-4185-98a7-b882c64b5ce5 (Block abuse of exploited vulnerable signed drivers) The recommended state for this setting is: 56a863a9-875e-4185-98a7- b882c64b5ce5:1 (Block). Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect systems. Vulnerable signed drivers can be exploited by local applications that have sufficient privileges to gain access to the kernel. 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:56a863a9-875e-4185-98a7-b882c64b5ce5 (REG_SZ); compliant when it is 1.

Como é verificado

Método de auditoria: Registro do Windows

registry
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name '56a863a9-875e-4185-98a7-b882c64b5ce5' -ErrorAction SilentlyContinue).'56a863a9-875e-4185-98a7-b882c64b5ce5'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('1') -contains "$v")) { 'compliant' } else { "non-compliant: $v" }
Saída esperada
compliant

Como é corrigido

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

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 = 56a863a9-875e-4185-98a7-b882c64b5ce5 with a value of 1. Test in audit mode (2) first. Local alternative (writes Defender preferences, not the Group Policy value this audit reads): Add-MpPreference -AttackSurfaceReductionRules_Ids 56a863a9-875e-4185-98a7-b882c64b5ce5 -AttackSurfaceReductionRules_Actions 1

Propriedades

Sistemas operacionais
Qualquer
Tags
defenderantiviruscis-l1
Referência
CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.2 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '56a863a9-875e-4185-98a7- b882c64b5ce5:1'

Verificar este host

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

shell
tmaegis scan --target defender