Skip to main content
Version: 3.0.0-preview

MT.1152 - Script Scanning should be enabled.

Overview​

Verify that script scanning is enabled to block malicious scripts.

Disabled script scanning allows malicious PowerShell, JavaScript, and VBScript execution.

Remediation action:​

  1. Open Microsoft Endpoint Manager > Endpoint Security > Antivirus
  2. Edit the relevant Microsoft Defender Antivirus policy
  3. 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.

Test Metadata​

FieldValue
Test IDMT.1152
SeverityHigh
SuiteMaester
ProductDefender
Related productsIntune
FeatureEndpoint antivirus
AreaDevices and endpoints
Resource typePolicy
User impactLow
Implementation costLow
MITRE ATT&CKT1059 Command and Scripting Interpreter
Supports controlsnist-800-53-r5:SI-3
PowerShell testTest-MtMdeScriptScanning
ServicesGraph

Source​