TMAegisBeta
Thêm quy tắc cho defender

Microsoft Defender Antivirus

TMA-DEFENDER-1.6.1.11

Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '75668c1f-73b5-4cf0-bb93- 3ecf5cb7cc84:1'

CaoCấp 1Tự độngdefender

Mô tả

This rule blocks Office apps from injecting code into other processes. Office apps included in this setting are Word, Excel, PowerPoint, and OneNote. Rule ID and name: - 75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 (Block Office applications from injecting code into other processes) The recommended state for this setting is: 75668c1f-73b5-4cf0-bb93- 3ecf5cb7cc84:1 (Block). Rationale: Attack surface reduction helps prevent actions and apps that are typically used by exploit-seeking malware to infect machines. Attackers might attempt to use Office apps to migrate malicious code into other processes through code injection, so the code can masquerade as a clean process. 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:75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 (REG_SZ); compliant when it is 1.

Cách kiểm tra

Phương pháp kiểm tra: Windows Registry

registry
$v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules' -Name '75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84' -ErrorAction SilentlyContinue).'75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84'; if ($null -eq $v) { 'unset' } elseif (($null -ne $v -and @('1') -contains "$v")) { 'compliant' } else { "non-compliant: $v" }
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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 = 75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 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 75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 -AttackSurfaceReductionRules_Actions 1

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
defenderantiviruscis-l1
Tham chiếu
CIS Microsoft Defender Antivirus Benchmark v1.0.0 - 1.6.1.11 Ensure 'Configure Attack Surface Reduction rules: Set the state for each ASR rule' is set to '75668c1f-73b5-4cf0-bb93- 3ecf5cb7cc84:1'

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target defender