TMAegis
Más reglas para defender

TMA-DEFENDER-1.6.1.5

Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '9e6c4e1f-7d60-472f-ba1a- a39ef669e4b2:1'

AltaNivel 1Automatizadadefender

Descripción

This rule helps prevent credential stealing by locking down Local Security Authority Subsystem Service (LSASS). Rule ID and name: - 9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 (Block credential stealing from the Windows local security authority subsystem (lsass.exe)) The recommended state for this setting is: 9e6c4e1f-7d60-472f-ba1a- a39ef669e4b2:1 (Block). Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect machines. LSASS authenticates users who sign in on a Windows computer. Microsoft Defender Credential Guard in Windows normally prevents attempts to extract credentials from LSASS. 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:9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 (REG_SZ); compliant when it is 1.

Cómo se verifica

Método de auditoría: Registro de Windows

registry
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name '9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2' -ErrorAction SilentlyContinue).'9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('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 = 9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 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 9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 -AttackSurfaceReductionRules_Actions 1

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
defenderantiviruscis-l1
Referencia
CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.5 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '9e6c4e1f-7d60-472f-ba1a- a39ef669e4b2:1'

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target defender