DefenderDeep dive

Attack surface reduction (ASR) rules: every rule name, GUID, event ID and Intune setting

All 19 ASR rules with GUID, Intune and Configuration Manager names, Warn support and advanced hunting action types, plus rule modes and the Event Viewer IDs.

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 this guide is organized: How to read these codes → Rule modes → The rules → Event IDs in Event Viewer → Where each method sets the rules → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Rule modes. 3. The rules (2 parts: Standard protection rules; Other rules). 4. Event IDs in Event Viewer. 5. Where each method sets the rules. 6. How to verify a fix. Toolbox: Event ID 1121, Event ID 1122, Event ID 1129, Get-MpPreference, Add-MpPreference.1How to read these codes2Rule modes3The rulesStandard protectionrulesOther rules4Event IDs in Event Viewer5Where each method sets therules6How to verify a fixTOOLBOXEvent ID 1121Event ID 1122Event ID 1129Get-MpPreferenceAdd-MpPreferenceHow this guide is organized: How to read these codes → Rule modes → The rules → Event IDs in Event Viewer → Where each method sets the rules → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these codes. 2. Rule modes. 3. The rules (2 parts: Standard protection rules; Other rules). 4. Event IDs in Event Viewer. 5. Where each method sets the rules. 6. How to verify a fix. Toolbox: Event ID 1121, Event ID 1122, Event ID 1129, Get-MpPreference, Add-MpPreference.1How to read these codes2Rule modes3The rulesStandard protection rulesOther rules4Event IDs in Event Viewer5Where each method sets the rules6How to verify a fixTOOLBOXEvent ID 1121Event ID 1122Event ID 1129Get-MpPreferenceAdd-MpPreference
At a glance: how this guide is organized · 2 steps · 5 key settings and tools

How to read these codes#

Why an ASR rule blocked, audited or did nothingIs Defender Antivirus active with real-time protection on? if No: ASR rules don't run (Passive mode, EDR in block mode, limited periodic scanning or Off); if Yes: Does Get-MpPreference list the rule's GUID with the mode you set? if No: The policy hasn't reached the device (Sync the device, then look for event 5007); if Yes: Which event did the rule log? if 1121: Blocked: decide on an exclusion (The event text names the rule GUID and the file); if 1122: Audit only: nothing was blocked (Collect these events before you switch the rule to Block); if 1129: A user overrode a Warn-mode block (Repeated overrides mean a per-rule exclusion is due)Is Defender Antivirus activewith real-time protection on?NOTEASR rules don'trunPassive mode, EDRin block mode,limited periodicscanning or OffNoDoes Get-MpPreference list therule's GUID with the mode youset?FIXThe policy hasn'treached thedeviceSync the device,then look for event5007NoWhich event did the rule log?FIXBlocked: decideon an exclusionThe event textnames the rule GUIDand the file1121OKAudit only:nothing wasblockedCollect these eventsbefore you switchthe rule to Block1122FIXA user overrode aWarn-mode blockRepeated overridesmean a per-ruleexclusion is due1129YesYesWhy an ASR rule blocked, audited or did nothingIs Defender Antivirus active with real-time protection on? if No: ASR rules don't run (Passive mode, EDR in block mode, limited periodic scanning or Off); if Yes: Does Get-MpPreference list the rule's GUID with the mode you set? if No: The policy hasn't reached the device (Sync the device, then look for event 5007); if Yes: Which event did the rule log? if 1121: Blocked: decide on an exclusion (The event text names the rule GUID and the file); if 1122: Audit only: nothing was blocked (Collect these events before you switch the rule to Block); if 1129: A user overrode a Warn-mode block (Repeated overrides mean a per-rule exclusion is due)Is Defender Antivirus active with real-timeprotection on?NoNOTEASR rules don't runPassive mode, EDR in block mode, limited periodicscanning or OffYesDoes Get-MpPreference list the rule's GUIDwith the mode you set?NoFIXThe policy hasn't reached the deviceSync the device, then look for event 5007YesWhich event did the rule log?1121FIXBlocked: decide on an exclusionThe event text names the rule GUID and thefile1122OKAudit only: nothing was blockedCollect these events before you switch therule to Block1129FIXA user overrode a Warn-mode blockRepeated overrides mean a per-ruleexclusion is due
Figure 1 · Decision tree Why an ASR rule blocked, audited or did nothing. Check the prerequisite first, then what the device received, then the event the rule logged in the Windows Defender Operational log.

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-MpPreference and the event text of 1121, 1122 and 1129.
  • ActionType: the advanced hunting name in the DeviceEvents table, ending in Audited, Blocked or, 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:

PowerShell
$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#

ModeCodePowerShell valueNotes
Off (Disabled)0DisabledExplicitly off; can conflict when another policy sets the rule differently
Block1EnabledBlocks and logs event 1121
Audit2AuditModeEvaluates as if blocking, logs event 1122, takes no action
Not configured5NotConfiguredSame effect as Off, without the conflict risk
Warn6WarnBlocks, 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.

GUIDRule (Intune name)ActionType prefixNotes and first check
56a863a9-875e-4185-98a7-b882c64b5ce5Block abuse of exploited vulnerable signed drivers (Device)AsrVulnerableSignedDriverStops apps saving vulnerable signed drivers; drivers already on disk still load
9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2Block credential stealing from the Windows local security authority subsystemAsrLsassCredentialTheftNo 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-636979351e5bBlock persistence through WMI event subscriptionAsrPersistenceThroughWmiConfiguration Manager client relies on WMI: audit first. Not supported through Intune on Windows Server 2012 R2/2016 (unified solution)

Other rules#

GUIDRule (Intune name)ActionType prefixNotes and first check
7674ba52-37eb-4a4f-a9a1-f0f9a1619a2cBlock Adobe Reader from creating child processesAsrAdobeReaderChildProcessAlerts need cloud protection level High plus or Zero tolerance; pop-ups need High or above
d4f940ab-401b-4efc-aadc-ad5f3c50688aBlock all Office applications from creating child processesAsrOfficeChildProcessConfiguration Manager: "Block Office application from creating child processes". Enforced only when Office is under Program Files
be9ba2d9-53ea-4cdc-84e5-9b1eeee46550Block executable content from email client and webmailAsrExecutableEmailContentExecutables, scripts and archives from Outlook or webmail. Same cloud level caveat as Adobe Reader
01443614-cd74-433a-b99e-2ecdc07bfc25Block executable files from running unless they meet a prevalence, age, or trusted list criterionAsrUntrustedExecutableNeeds cloud-delivered protection. New in-house builds trip it: exclude the path
5beb7efe-fd9a-4556-801d-275e5ffc04ccBlock execution of potentially obfuscated scriptsAsrObfuscatedScriptNeeds AMSI and cloud-delivered protection; covers PowerShell
d3e037e1-3eb8-44c8-a917-57927947596dBlock JavaScript or VBScript from launching downloaded executable contentAsrScriptExecutableDownloadNeeds AMSI. Not supported on Windows Server 2016 or 2012 R2
3b576869-a4ec-4529-8536-b80a7769e899Block Office applications from creating executable contentAsrExecutableOfficeContentApplies wherever Office is installed; ignores antivirus file exclusions
75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84Block Office applications from injecting code into other processesAsrOfficeProcessInjectionNo Warn. Restart Office apps after a change. Microsoft lists conflicts with BeyondTrust Privilege Guard and Heimdal
26190899-1602-49e8-8b27-eb1d0a1ce869Block Office communication application from creating child processesAsrOfficeCommAppChildProcessOutlook; still allows normal Outlook functions
d1e49aac-8f56-4280-b9ba-993a6d77406cBlock process creations originating from PSExec and WMI commandsAsrPsexecWmiChildProcessWith Configuration Manager, Microsoft says not to enable it through other methods: the client relies on WMI
33ddedf1-c6e0-47cb-833e-de6133960387Block rebooting machine in Safe ModeAsrSafeModeReboot (audit: AsrSafeModeRebootedAudited)Stops bcdedit and bootcfg forcing Safe Mode; no alert or pop-up. Also logs WarnBypassed
b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4Block untrusted and unsigned processes that run from USBAsrUntrustedUsbProcessCopying from USB still works; running the copy doesn't
c0033c00-d16d-4114-a5a0-dc9b3a7d2cebBlock use of copied or impersonated system toolsAsrAbusedSystemToolFlags System32/SysWOW64 lookalikes and some third-party tools in custom paths; exclude confirmed-good files. Also logs WarnBypassed
a8f5898e-1dc8-49a9-9878-85004b8a61e6Block Webshell creation for ServersNoneExchange servers only. If Defender for Endpoint manages ASR, leave the Group Policy value Not Configured
92e97fa1-2edf-4476-bdd6-9dd0b4dddc7bBlock Win32 API calls from Office macrosAsrOfficeMacroWin32ApiCallsNeeds AMSI; Windows client only; raises alerts but no pop-up
c1db55ab-c21a-4637-bb3f-a12568109d35Use advanced protection against ransomwareAsrRansomwareNeeds 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.

CodeMeaningUsual causeFirst check
1121An ASR rule fired in Block modeA rule in Block mode matchedRule GUID and the file in the event text; decide on an exclusion
1122An ASR rule fired in Audit modeWould have been blockedCollect these before you switch to Block
1129A user overrode a Warn-mode blockUnblock selectedRepeated overrides mean a per-rule exclusion is due
5007Defender settings changedPolicy arrived or changedConfirms the new ASR values landed
1123Controlled folder access blocked an actionApp not on the allowed listAllow the app if it's legitimate
1124Controlled folder access audited an actionCFA in audit modeBuild the allowed apps list
1125, 1126Network protection fired in audit or block modeBlocked URL or indicatorNetwork protection guide
1127, 1128Controlled folder access blocked or audited a disk sector writeLow-level disk writeIdentify the process before allowing it
PowerShell
Get-WinEvent -FilterHashtable @{
    LogName = 'Microsoft-Windows-Windows Defender/Operational'
    Id      = 1121, 1122, 1129
} -MaxEvents 50 | Select-Object TimeCreated, Id, Message | Format-List

Microsoft 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#

MethodWhereNotes
IntuneEndpoint security › Attack surface reduction › Create policy, platform Windows, profile Attack Surface Reduction RulesAssign to device groups. After you pick a mode, a per-rule exclusions box appears
Defender portalEndpoint security policies, Windows tab, template Attack surface reduction rulesSame policies as Intune
Policy CSP./Vendor/MSFT/Policy/Config/Defender/AttackSurfaceReductionRulesString: GUID=mode|GUID=mode, no spaces
Group PolicyComputer Configuration › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Microsoft Defender Exploit Guard › Attack Surface ReductionConfigure Attack Surface Reduction rules: value name = GUID, value = mode code
PowerShellAdd-MpPreference / Set-MpPreference with -AttackSurfaceReductionRules_Ids and -AttackSurfaceReductionRules_ActionsSet- 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#

  1. Sync the device, then look for event 5007 and run the Get-MpPreference loop above: the GUID should show the mode you set.
  2. 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.
  3. In advanced hunting, confirm the hits stop (or still appear only as Audited):
KQL
DeviceEvents
| where Timestamp > ago(7d)
| where ActionType startswith "Asr"
| summarize Hits = count() by ActionType, DeviceName, FileName, InitiatingProcessFileName
| order by Hits desc

On 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.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

M365 Subject Matter Expert, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)