An ASR block on a device rarely names the rule in plain words: Event Viewer gives you a GUID, advanced hunting gives you an ActionType, and Intune shows a friendly name. This quick reference maps all three for every attack surface reduction rule Microsoft documents, with the mode values, the events to look for and the first thing to check when a rule blocks something it shouldn't.
Codes in this quick reference
56a863a9-875e-4185-98a7-b882c64b5ce5: Block abuse of exploited vulnerable signed driversEvent Viewer (Windows Defender/Operational)9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2: Block credential stealing from the Windows local security authority subsystemEvent Viewer (Windows Defender/Operational)e6db77e5-3df2-4cf1-b95a-636979351e5b: Block persistence through WMI event subscriptionEvent Viewer (Windows Defender/Operational)7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c: Block Adobe Reader from creating child processesEvent Viewer (Windows Defender/Operational)d4f940ab-401b-4efc-aadc-ad5f3c50688a: Block all Office applications from creating child processesEvent Viewer (Windows Defender/Operational)be9ba2d9-53ea-4cdc-84e5-9b1eeee46550: Block executable content from email client and webmailEvent Viewer (Windows Defender/Operational)01443614-cd74-433a-b99e-2ecdc07bfc25: Block executable files unless they meet a prevalence, age, or trusted list criterionEvent Viewer (Windows Defender/Operational)5beb7efe-fd9a-4556-801d-275e5ffc04cc: Block execution of potentially obfuscated scriptsEvent Viewer (Windows Defender/Operational)
+ 32 more codes in the tables below.
How to read these codes#
ASR rules are a Microsoft Defender Antivirus feature on Windows only; they don't exist on macOS or Linux. They work only when Defender Antivirus is the active antivirus with real-time protection on: passive mode, EDR in block mode, limited periodic scanning and Off all switch them off. Cloud-delivered protection matters too, because several rules depend on it.
- GUID: how every method except the Intune and Configuration Manager consoles identifies a rule: Group Policy value names, the Policy CSP string,
Get-MpPreferenceand the event text of 1121, 1122 and 1129. - ActionType: the advanced hunting name in the
DeviceEventstable, ending inAudited,Blockedor, for two rules,WarnBypassed. Advanced hunting needs Defender for Endpoint Plan 2. - Intune name: the setting in an endpoint security Attack Surface Reduction Rules profile. Configuration Manager names differ for a few rules (noted below).
To see what a device actually received, list its rules and modes:
$p = Get-MpPreference
for ($i = 0; $i -lt $p.AttackSurfaceReductionRules_Ids.Count; $i++) {
[pscustomobject]@{
Id = $p.AttackSurfaceReductionRules_Ids[$i]
Mode = $p.AttackSurfaceReductionRules_Actions[$i]
}
}Rule modes#
| Mode | Code | PowerShell value | Notes |
|---|---|---|---|
| Off (Disabled) | 0 | Disabled | Explicitly off; can conflict when another policy sets the rule differently |
| Block | 1 | Enabled | Blocks and logs event 1121 |
| Audit | 2 | AuditMode | Evaluates as if blocking, logs event 1122, takes no action |
| Not configured | 5 | NotConfigured | Same effect as Off, without the conflict risk |
| Warn | 6 | Warn | Blocks, but the user can select Unblock for 24 hours (event 1129) |
Warn needs Windows 10 version 1809 or later and isn't available in Configuration Manager; on older Windows it behaves like Block. Two rules don't support it (marked below). From Defender platform version 4.18.26060, Unblock requires administrator approval, so use a per-rule exclusion when you need a lasting exception.
The rules: GUIDs and action types#
Standard protection rules#
Microsoft recommends Block for these three without lengthy testing.
| GUID | Rule (Intune name) | ActionType prefix | Notes and first check |
|---|---|---|---|
56a863a9-875e-4185-98a7-b882c64b5ce5 | Block abuse of exploited vulnerable signed drivers (Device) | AsrVulnerableSignedDriver | Stops apps saving vulnerable signed drivers; drivers already on disk still load |
9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 | Block credential stealing from the Windows local security authority subsystem | AsrLsassCredentialTheft | No Warn. Redundant if LSA protection is on. Blocks access to LSASS memory, not the process, so audit hits are mostly noise. Ignores antivirus file exclusions |
e6db77e5-3df2-4cf1-b95a-636979351e5b | Block persistence through WMI event subscription | AsrPersistenceThroughWmi | Configuration Manager client relies on WMI: audit first. Not supported through Intune on Windows Server 2012 R2/2016 (unified solution) |
Other rules#
| GUID | Rule (Intune name) | ActionType prefix | Notes and first check |
|---|---|---|---|
7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c | Block Adobe Reader from creating child processes | AsrAdobeReaderChildProcess | Alerts need cloud protection level High plus or Zero tolerance; pop-ups need High or above |
d4f940ab-401b-4efc-aadc-ad5f3c50688a | Block all Office applications from creating child processes | AsrOfficeChildProcess | Configuration Manager: "Block Office application from creating child processes". Enforced only when Office is under Program Files |
be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 | Block executable content from email client and webmail | AsrExecutableEmailContent | Executables, scripts and archives from Outlook or webmail. Same cloud level caveat as Adobe Reader |
01443614-cd74-433a-b99e-2ecdc07bfc25 | Block executable files from running unless they meet a prevalence, age, or trusted list criterion | AsrUntrustedExecutable | Needs cloud-delivered protection. New in-house builds trip it: exclude the path |
5beb7efe-fd9a-4556-801d-275e5ffc04cc | Block execution of potentially obfuscated scripts | AsrObfuscatedScript | Needs AMSI and cloud-delivered protection; covers PowerShell |
d3e037e1-3eb8-44c8-a917-57927947596d | Block JavaScript or VBScript from launching downloaded executable content | AsrScriptExecutableDownload | Needs AMSI. Not supported on Windows Server 2016 or 2012 R2 |
3b576869-a4ec-4529-8536-b80a7769e899 | Block Office applications from creating executable content | AsrExecutableOfficeContent | Applies wherever Office is installed; ignores antivirus file exclusions |
75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 | Block Office applications from injecting code into other processes | AsrOfficeProcessInjection | No Warn. Restart Office apps after a change. Microsoft lists conflicts with BeyondTrust Privilege Guard and Heimdal |
26190899-1602-49e8-8b27-eb1d0a1ce869 | Block Office communication application from creating child processes | AsrOfficeCommAppChildProcess | Outlook; still allows normal Outlook functions |
d1e49aac-8f56-4280-b9ba-993a6d77406c | Block process creations originating from PSExec and WMI commands | AsrPsexecWmiChildProcess | With Configuration Manager, Microsoft says not to enable it through other methods: the client relies on WMI |
33ddedf1-c6e0-47cb-833e-de6133960387 | Block rebooting machine in Safe Mode | AsrSafeModeReboot (audit: AsrSafeModeRebootedAudited) | Stops bcdedit and bootcfg forcing Safe Mode; no alert or pop-up. Also logs WarnBypassed |
b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 | Block untrusted and unsigned processes that run from USB | AsrUntrustedUsbProcess | Copying from USB still works; running the copy doesn't |
c0033c00-d16d-4114-a5a0-dc9b3a7d2ceb | Block use of copied or impersonated system tools | AsrAbusedSystemTool | Flags System32/SysWOW64 lookalikes and some third-party tools in custom paths; exclude confirmed-good files. Also logs WarnBypassed |
a8f5898e-1dc8-49a9-9878-85004b8a61e6 | Block Webshell creation for Servers | None | Exchange servers only. If Defender for Endpoint manages ASR, leave the Group Policy value Not Configured |
92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b | Block Win32 API calls from Office macros | AsrOfficeMacroWin32ApiCalls | Needs AMSI; Windows client only; raises alerts but no pop-up |
c1db55ab-c21a-4637-bb3f-a12568109d35 | Use advanced protection against ransomware | AsrRansomware | Needs cloud-delivered protection; blocks files without a positive reputation yet. Persistent false positive: per-rule exclusion or an Allow indicator |
Add Audited or Blocked to the prefix to get the full ActionType, for example AsrLsassCredentialTheftBlocked. Configuration Manager calls the prevalence rule "...trusted list criteria" and can't deploy the vulnerable signed drivers, WMI persistence, Adobe Reader, Office communication application, PSExec and WMI, Safe Mode, copied system tools or Webshell rules.
Event IDs in Event Viewer#
ASR events are in Applications and Services Logs › Microsoft › Windows › Windows Defender › Operational, next to the events of the other attack surface reduction features.
| Code | Meaning | Usual cause | First check |
|---|---|---|---|
1121 | An ASR rule fired in Block mode | A rule in Block mode matched | Rule GUID and the file in the event text; decide on an exclusion |
1122 | An ASR rule fired in Audit mode | Would have been blocked | Collect these before you switch to Block |
1129 | A user overrode a Warn-mode block | Unblock selected | Repeated overrides mean a per-rule exclusion is due |
5007 | Defender settings changed | Policy arrived or changed | Confirms the new ASR values landed |
1123 | Controlled folder access blocked an action | App not on the allowed list | Allow the app if it's legitimate |
1124 | Controlled folder access audited an action | CFA in audit mode | Build the allowed apps list |
1125, 1126 | Network protection fired in audit or block mode | Blocked URL or indicator | Network protection guide |
1127, 1128 | Controlled folder access blocked or audited a disk sector write | Low-level disk write | Identify the process before allowing it |
Get-WinEvent -FilterHashtable @{
LogName = 'Microsoft-Windows-Windows Defender/Operational'
Id = 1121, 1122, 1129
} -MaxEvents 50 | Select-Object TimeCreated, Id, Message | Format-ListMicrosoft also publishes an asr-events.xml custom view for Event Viewer. For the rest of the Defender Antivirus events, see the Defender Antivirus event ID quick reference.
Where each method sets the rules#
| Method | Where | Notes |
|---|---|---|
| Intune | Endpoint security › Attack surface reduction › Create policy, platform Windows, profile Attack Surface Reduction Rules | Assign to device groups. After you pick a mode, a per-rule exclusions box appears |
| Defender portal | Endpoint security policies, Windows tab, template Attack surface reduction rules | Same policies as Intune |
| Policy CSP | ./Vendor/MSFT/Policy/Config/Defender/AttackSurfaceReductionRules | String: GUID=mode|GUID=mode, no spaces |
| Group Policy | Computer Configuration › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Microsoft Defender Exploit Guard › Attack Surface Reduction | Configure Attack Surface Reduction rules: value name = GUID, value = mode code |
| PowerShell | Add-MpPreference / Set-MpPreference with -AttackSurfaceReductionRules_Ids and -AttackSurfaceReductionRules_Actions | Set- replaces all rules; Add- appends |
When methods collide, Group Policy beats local PowerShell settings and, by default, MDM too, unless MDMWinsOverGP is set to 1 through the Policy CSP. Configure each rule in one place only.
How to verify a fix#
- Sync the device, then look for event 5007 and run the
Get-MpPreferenceloop above: the GUID should show the mode you set. - Repeat the action that was blocked. After an exclusion, a restart of the excluded app or service may be needed, because exclusions apply when it starts.
- In advanced hunting, confirm the hits stop (or still appear only as
Audited):
DeviceEvents
| where Timestamp > ago(7d)
| where ActionType startswith "Asr"
| summarize Hits = count() by ActionType, DeviceName, FileName, InitiatingProcessFileName
| order by Hits descOn a single device, the device page's Timeline tab can be filtered to ASR events. For rollout strategy and exclusions, see Rolling out ASR rules safely.

