Microsoft Defender Antivirus
TMA-DEFENDER-1.6.1.6
Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to 'be9ba2d9-53ea-4cdc-84e5- 9b1eeee46550:1'
Описание
This rule blocks email opened within the Microsoft Outlook application, or Outlook.com and other popular webmail providers from propagating the following file types: - Executable files (such as .exe, .dll, or .scr) - Script files (such as a PowerShell .ps1, Visual Basic .vbs, or JavaScript .js file) Rule ID and name: - be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 (Block executable content from email client and webmail) The r... Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect machines. 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:be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 (REG_SZ); compliant when it is 1.
Как проверяется
Метод проверки: Реестр Windows
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name 'be9ba2d9-53ea-4cdc-84e5-9b1eeee46550' -ErrorAction SilentlyContinue).'be9ba2d9-53ea-4cdc-84e5-9b1eeee46550'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('1') -contains "$v")) { 'compliant' } else { "non-compliant: $v" }- Ожидаемый вывод
compliant
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
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 = be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 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 be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 -AttackSurfaceReductionRules_Actions 1
Свойства
- Операционные системы
- Любая
- Теги
- defenderantiviruscis-l1
- Источник
- CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.6 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to 'be9ba2d9-53ea-4cdc-84e5- 9b1eeee46550:1'
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
tmaegis scan --target defender