Script Scanning should be enabled
MT.1152HighDefenderEndpoint antivirus
Part of Maester · Defender · Endpoint antivirus · All checks
Invoke-Maester -TestId MT.1152Overview
Section titled “Overview”Verify that script scanning is enabled to block malicious scripts.
Disabled script scanning allows malicious PowerShell, JavaScript, and VBScript execution.
Remediation action:
Section titled “Remediation action:”- Open Microsoft Endpoint Manager > Endpoint Security > Antivirus
- Edit the relevant Microsoft Defender Antivirus policy
- Enable Allow Script Scanning
If your antivirus settings are split across several policies, this setting only needs to be set in one of them, as long as that policy is assigned to every device that needs it. No other assigned policy should set a different value: Intune does not merge this setting, so a device that receives both values may end up with either one, or none.
Related links
Section titled “Related links”- Policy merge and conflicts for Antivirus policy settings
- Configure Microsoft Defender Antivirus
- Microsoft Endpoint Manager
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | MT.1152 |
| Severity | High |
| Suite | Maester |
| Product | Defender |
| Related products | Intune |
| Feature | Endpoint antivirus |
| Area | Devices and endpoints |
| Resource type | Policy |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1059 Command and Scripting Interpreter |
| Supports controls | nist-800-53-r5:SI-3 |
| PowerShell test | Test-MtMdeScriptScanning |
| Services | Graph |
Source
Section titled “Source”- Test:
tests/maester/defender/Test.MT.1152.ps1 - Documentation:
tests/maester/defender/Test.MT.1152.md
About this check
- Severity
- High
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Defender
- Feature
- Endpoint antivirus
- Area
- Devices and endpoints
- Suite
- Maester