WNDF-AV-000037 - Microsoft Defender AV must be configured to block execution of potentially obfuscated scripts.

Information

Malware and other threats can attempt to obfuscate or hide their malicious code in some script files. This rule prevents scripts that appear to be obfuscated from running. It uses the AntiMalwareScanInterface (AMSI) to determine if a script is potentially obfuscated and then blocks such a script or blocks scripts when an attempt is made to access them.

Solution

Set the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> Microsoft Defender Antivirus >> Windows Defender Exploit Guard >> Attack Surface Reduction >> 'Configure Attack Surface Reduction rules' to 'Enabled'.

Click 'Show...'. Set the Value name to '5BEB7EFE-FD9A-4556-801D-275E5FFC04CC' and the Value to '1'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_Defender_Antivirus_V2R4_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-18(4), CAT|II, CCI|CCI-001170, Rule-ID|SV-213461r823091_rule, STIG-ID|WNDF-AV-000037, STIG-Legacy|SV-92671, STIG-Legacy|V-77975, Vuln-ID|V-213461

Plugin: Windows

Control ID: 69bca5c3cc1b9a946be65a60710d1a262029f61733793ac92683e495c0b04bb4