TMAegisBeta
Weitere Regeln für defender

Microsoft Defender Antivirus

TMA-DEFENDER-1.6.1.16

Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '92e97fa1-2edf-4476-bdd6- 9dd0b4dddc7b:1'

HochStufe 1Automatisiertdefender

Beschreibung

This rule prevents VBA macros from calling Win32 APIs. Office VBA enables Win32 API calls. Rule ID and name: - 92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b (Block Win32 API calls from Office macros) The recommended state for this setting is: 92e97fa1-2edf-4476-bdd6- 9dd0b4dddc7b:1 (Block). Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect machines. Malware can abuse VBA macro calls with various methods, such as calling Win32 APIs to launch malicious shellcode without writing anything directly to disk. 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:92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b (REG_SZ); compliant when it is 1.

So wird geprüft

Prüfmethode: Windows-Registrierung

registry
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name '92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b' -ErrorAction SilentlyContinue).'92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('1') -contains "$v")) { 'compliant' } else { "non-compliant: $v" }
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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 = 92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b 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 92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b -AttackSurfaceReductionRules_Actions 1

Eigenschaften

Betriebssysteme
Beliebig
Tags
defenderantiviruscis-l1
Referenz
CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.16 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '92e97fa1-2edf-4476-bdd6- 9dd0b4dddc7b:1'

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target defender