FIELD GUIDE / RULES

Every rule.
Every detail that matters.

19 attack surface reduction rules, sourced from Microsoft Learn: what each one blocks, whether it supports warn and exclusions, its GUID, and the advanced hunting ActionTypes you'll query.

01 / MODES

Five states, four values.

Defender stores a numeric action per rule GUID. The builder's segmented control maps directly to these.

ModeValueMeaning
Not configured—The rule isn't in the policy. ASR Rules Builder leaves the device's existing setting alone.
Off0Disabled. The rule doesn't run and logs nothing.
Block1Enforced. The operation is stopped and event 1121 is logged.
Audit2Evaluated but not enforced. Event 1122 shows what would have been blocked.
Warn6Blocked with a toast the user can bypass for 24 hours. Bypasses log event 1129. Not every rule supports it.

02 / THE RULES

The catalog.

DriversStandard protection

Block abuse of exploited vulnerable signed drivers (Device)

Stops applications from writing known-vulnerable signed drivers to disk, a common way for attackers to reach the kernel and disable security tools. Drivers already present can still load.

GUID
Hunting ActionTypeAsrVulnerableSignedDriverBlockedAsrVulnerableSignedDriverAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 1803 (SAC) / 2019; Server 2012 R2 (unified agent)

Dependencies

None listed

Intune name

Block abuse of exploited vulnerable signed drivers (Device)

  • Microsoft Learn lists dependencies as "None"; like every ASR rule it still needs Microsoft Defender Antivirus in active mode.
  • Doesn't block loading of drivers that are already on the device. Pair with the Microsoft vulnerable driver blocklist or App Control for Business.
  • Not available in Configuration Manager.
  • No EDR alert is generated; user notifications are shown.
CredentialsStandard protection

Block credential stealing from the Windows local security authority subsystem

Denies untrusted processes read access to LSASS memory so tools like Mimikatz can't dump credentials. It blocks the memory access, not the process itself.

GUID
Hunting ActionTypeAsrLsassCredentialTheftBlockedAsrLsassCredentialTheftAudited
Support

Warn: no · Exclusions: yes

Minimum OS: Windows 10 1803; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block credential stealing from the Windows local security authority subsystem

  • Not needed when LSA protection (RunAsPPL) and/or Credential Guard is enabled; it adds no protection and the portal marks it not applicable.
  • Doesn't support Warn mode.
  • Very noisy in Audit mode; Microsoft says you can skip audit and roll out Block to a small ring first.
  • No EDR alerts or user notifications; suppresses alerts for friendly processes.
  • Known issue with Quest Dirsync Password Sync.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Doesn't honor file or certificate indicators (IoCs).
PersistenceStandard protection

Block persistence through WMI event subscription

Prevents malware from creating WMI event subscriptions to survive reboots without leaving files on disk.

GUID
Hunting ActionTypeAsrPersistenceThroughWmiBlockedAsrPersistenceThroughWmiAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1903; Windows Server 1903 (SAC) / 2022

Dependencies

Microsoft Defender Antivirus · RPC

Intune name

Block persistence through WMI event subscription

  • Configuration Manager relies heavily on WMI: test extensively in Audit mode before Block on ConfigMgr-managed devices.
  • Not supported when deployed via Intune to Windows Server 2012 R2/2016 with the modern unified solution.
  • Not supported on Windows Server 2016 or 2012 R2.
  • Not available in Configuration Manager.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Doesn't honor file or certificate indicators (IoCs).
Office

Block Adobe Reader from creating child processes

Stops Adobe Reader from launching other processes, cutting off payloads delivered through malicious PDFs or Reader exploits.

GUID
Hunting ActionTypeAsrAdobeReaderChildProcessBlockedAsrAdobeReaderChildProcessAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1809; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block Adobe Reader from creating child processes

  • In Block/Warn mode, EDR alerts need cloud protection level High plus or Zero tolerance; user pop-ups need High or above.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Not available in Configuration Manager.
Office

Block all Office applications from creating child processes

Stops Word, Excel, PowerPoint, OneNote and Access from spawning child processes such as cmd or PowerShell, a classic macro-malware pattern.

GUID
Hunting ActionTypeAsrOfficeChildProcessBlockedAsrOfficeChildProcessAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block all Office applications from creating child processes

  • Only enforced when Office is installed under %ProgramFiles% or %ProgramFiles(x86)%.
  • Some line-of-business add-ins legitimately spawn processes; audit first.
  • Configuration Manager name: "Block Office application from creating child processes".
Email

Block executable content from email client and webmail

Blocks executables, scripts and archives that arrive through Outlook, Outlook.com or popular webmail from being launched.

GUID
Hunting ActionTypeAsrExecutableEmailContentBlockedAsrExecutableEmailContentAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block executable content from email client and webmail

  • In Block/Warn mode, EDR alerts need cloud protection level High plus or Zero tolerance; user pop-ups need High or above.
  • Older Intune configuration profile name: "Execution of executable content (exe, dll, ps, js, vbs, etc.) dropped from email (webmail/mail client) (no exceptions)".
Execution

Block executable files from running unless they meet a prevalence, age, or trusted list criterion

Blocks executables that aren't common enough, old enough or on a trusted list, as judged by Microsoft cloud reputation.

GUID
Hunting ActionTypeAsrUntrustedExecutableBlockedAsrUntrustedExecutableAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1803; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus · Cloud Protection

Intune name

Block executable files from running unless they meet a prevalence, age, or trusted list criterion

  • Requires cloud-delivered protection.
  • Can be noisy for in-house tools and developer builds; audit first and add exclusions.
  • Microsoft Learn flags limited exclusion support for this rule.
  • No EDR alert is generated; user notifications are shown.
Scripts

Block execution of potentially obfuscated scripts

Detects scripts with signs of obfuscation and blocks them, since malware often hides its logic this way.

GUID
Hunting ActionTypeAsrObfuscatedScriptBlockedAsrObfuscatedScriptAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus · Antimalware Scan Interface (AMSI) · Cloud Protection

Intune name

Block execution of potentially obfuscated scripts

  • Requires cloud-delivered protection.
  • Covers PowerShell scripts; some legitimate tools minify or obfuscate scripts, so audit first.
Scripts

Block JavaScript or VBScript from launching downloaded executable content

Stops JavaScript and VBScript from running executables they just downloaded, the typical behavior of script-based downloaders.

GUID
Hunting ActionTypeAsrScriptExecutableDownloadBlockedAsrScriptExecutableDownloadAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2019 or later

Dependencies

Microsoft Defender Antivirus · Antimalware Scan Interface (AMSI)

Intune name

Block JavaScript or VBScript from launching downloaded executable content

  • In Block/Warn mode, EDR alerts need cloud protection level High plus or Zero tolerance; user pop-ups need High or above.
  • Not supported on Windows Server 2016 or 2012 R2.
  • Not supported when deployed via Intune to Windows Server 2012 R2/2016 with the modern unified solution.
Office

Block Office applications from creating executable content

Prevents Office apps and their macros from writing executable files to disk and blocks those files from running.

GUID
Hunting ActionTypeAsrExecutableOfficeContentBlockedAsrExecutableOfficeContentAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus · RPC

Intune name

Block Office applications from creating executable content

  • Enforced regardless of where Office is installed.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • No EDR alert is generated; user notifications are shown.
Office

Block Office applications from injecting code into other processes

Blocks Office apps from injecting code into other processes, which attackers use to hide malicious code inside a clean process.

GUID
Hunting ActionTypeAsrOfficeProcessInjectionBlockedAsrOfficeProcessInjectionAudited
Support

Warn: no · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block Office applications from injecting code into other processes

  • Doesn't support Warn mode.
  • Applies to Word, Excel, OneNote and PowerPoint only; Office apps must restart for changes to apply.
  • Incompatible with BeyondTrust Privilege Guard and Heimdal Security.
  • Only enforced when Office is installed under %ProgramFiles% or %ProgramFiles(x86)%.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Doesn't honor file or certificate indicators (IoCs).
Email

Block Office communication application from creating child processes

Stops Outlook from launching child processes, defending against exploits and malicious Outlook rules or forms, while normal Outlook features keep working.

GUID
Hunting ActionTypeAsrOfficeCommAppChildProcessBlockedAsrOfficeCommAppChildProcessAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block Office communication application from creating child processes

  • Only enforced when Office is installed under %ProgramFiles% or %ProgramFiles(x86)%.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Not available in Configuration Manager.
Execution

Block process creations originating from PSExec and WMI commands

Blocks processes started through PsExec or WMI, which attackers use for remote execution and lateral movement.

GUID
Hunting ActionTypeAsrPsexecWmiChildProcessBlockedAsrPsexecWmiChildProcessAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1803; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block process creations originating from PSExec and WMI commands

  • Breaks the Configuration Manager client, which relies on WMI. Don't enable it on ConfigMgr-managed devices.
  • Can affect admin tooling and software deployment that uses WMI or PsExec; audit first.
  • Doesn't honor Microsoft Defender Antivirus file/folder exclusions; use ASR-only (global or per-rule) exclusions. Process exclusions are honored.
  • Not available in Configuration Manager.
Ransomware

Block rebooting machine in Safe Mode

Blocks commands such as bcdedit and bootcfg from restarting the device into Safe Mode, where attackers can tamper with security tools or encrypt files.

GUID
Hunting ActionTypeAsrSafeModeRebootBlockedAsrSafeModeRebootedAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block rebooting machine in Safe Mode

  • Safe Mode is still reachable manually from the Windows Recovery Environment.
  • Warn bypasses are reported as AsrSafeModeRebootWarnBypassed. Learn spells the audit ActionType "AsrSafeModeRebootedAudited".
  • No EDR alerts or user notifications.
  • Not available in Configuration Manager.
Removable media

Block untrusted and unsigned processes that run from USB

Stops unsigned or untrusted executables from running directly from USB drives and SD cards.

GUID
Hunting ActionTypeAsrUntrustedUsbProcessBlockedAsrUntrustedUsbProcessAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block untrusted and unsigned processes that run from USB

  • Doesn't stop files being copied from USB to disk; it blocks them running from the removable drive.
Execution

Block use of copied or impersonated system tools

Blocks copies of Windows system tools, or files posing as them, when they run from outside System32 or SysWOW64, even if they are validly signed.

GUID
Hunting ActionTypeAsrAbusedSystemToolBlockedAsrAbusedSystemToolAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus

Intune name

Block use of copied or impersonated system tools

  • Uses heuristics and can block legitimate third-party executables installed in non-default paths; a block means the rule matched, not that the file is malicious.
  • Diagnostic logs might not show which condition matched; add a global or per-rule exclusion for confirmed-good files.
  • Warn bypasses are reported as AsrAbusedSystemToolWarnBypassed.
  • No EDR alert is generated; user notifications are shown.
  • Not available in Configuration Manager.
Servers

Block Webshell creation for Servers

Blocks web shell scripts from being created on Windows servers running Microsoft Exchange.

GUID
Hunting ActionType
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows Server 2016 with Exchange (unified agent)

Dependencies

Microsoft Defender Antivirus

Intune name

Block Webshell creation for Servers

  • Applies only to Exchange servers (Windows Server 2016 / 2019 or later). Not applicable to Windows 10/11; not supported on Server 2012 R2.
  • Microsoft Learn lists no advanced hunting ActionType for this rule.
  • If you manage ASR in Defender for Endpoint, leave the Group Policy value Not Configured; Enabled or Disabled there can conflict.
  • Not supported when deployed via Intune to Windows Server 2012 R2/2016 with the modern unified solution.
  • No EDR alerts or user notifications.
Office

Block Win32 API calls from Office macros

Prevents VBA macros from calling Win32 APIs, which malware uses to run shellcode in memory without touching disk.

GUID
Hunting ActionTypeAsrOfficeMacroWin32ApiCallsBlockedAsrOfficeMacroWin32ApiCallsAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1709 (client only)

Dependencies

Microsoft Defender Antivirus · Antimalware Scan Interface (AMSI)

Intune name

Block Win32 API calls from Office macros

  • Not applicable to Windows Server.
  • Most organizations don't need Win32 API calls from macros even if they use macros.
  • EDR alerts are generated; no user notification pop-up.
  • Doesn't honor certificate indicators (IoCs).
Ransomware

Use advanced protection against ransomware

Uses client and cloud heuristics to block files that look like ransomware, erring on the side of caution for files without an established good reputation.

GUID
Hunting ActionTypeAsrRansomwareBlockedAsrRansomwareAudited
Support

Warn: yes · Exclusions: yes

Minimum OS: Windows 10 1803; Windows Server 2012 R2 or later

Dependencies

Microsoft Defender Antivirus · Cloud Protection

Intune name

Use advanced protection against ransomware

  • Requires cloud-delivered protection.
  • Doesn't block files that are known-good in the cloud, validly signed or sufficiently prevalent; blocks on unknown benign files usually clear as reputation builds.
  • For persistent false positives use a per-rule exclusion or an Allow indicator.
  • Not supported when deployed via Intune to Windows Server 2012 R2/2016 with the modern unified solution.
  • Microsoft Learn flags limited exclusion support for this rule.

03 / EVENT IDS

What lands in the event log.

All of these are written to Microsoft-Windows-Windows Defender/Operational. The Collect action reads them for you.

EventFeatureMeaning
1121ASRAn ASR rule fired in Block mode (or Warn mode before any override).
1122ASRAn ASR rule fired in Audit mode.
1129ASRA user chose Unblock on a Warn-mode ASR block.
5007ConfigurationMicrosoft Defender Antivirus configuration changed (Old Value / New Value). Shared by ASR, CFA and NP settings; filter by registry path.
1123Controlled folder accessControlled folder access blocked an untrusted app from changing a protected file.
1124Controlled folder accessControlled folder access audited a change by an untrusted app.
1125Network protectionNetwork protection fired in Audit mode.
1126Network protectionNetwork protection blocked a network connection.

In Microsoft Defender XDR, query DeviceEvents where ActionType starts with Asr, using the per-rule ActionTypes above.

05 / SOURCES

Where this comes from.

Microsoft updates the rule set. If something here disagrees with the ASR rules reference, Learn wins. Please open an issue.