Skip to main content

Wolfcore Cyber Security

Attack Surface Reduction Rules: Turn Them On Safely

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 27 November 2026.

In one sentence: Attack surface reduction rules are switches in Microsoft Defender that block behaviours attackers commonly use, such as an Office document launching another program.

What it is

ASR rules are a feature of Microsoft Defender Antivirus. Each rule blocks one risky behaviour, for example Office apps creating child processes, scripts that look obfuscated, or programs reading the memory of the process that holds Windows sign-in secrets. Microsoft’s overview says they are available on any Windows edition that includes Defender Antivirus, including Windows 11 Home. On Pro and Enterprise editions you can also manage them centrally.

Microsoft sorts the rules into two groups. Standard protection rules are recommended in Block mode without extensive testing. They include blocking credential stealing from the Windows local security authority subsystem (LSASS), blocking abuse of exploited vulnerable signed drivers and blocking persistence through WMI event subscription. The other rules need testing in Audit mode first.

How it works

Every rule has a mode:

  1. Audit acts as if blocking, but only logs. Microsoft lists event IDs 1122, 1125, 1132 and 1134 in Event Viewer for audit detections.
  2. Warn blocks, but users can click Unblock for 24 hours. Microsoft notes that from platform version 4.18.26060 an administrator must approve that unblock.
  3. Block stops the behaviour.
  4. Off or Not configured does nothing.

You choose modes through Intune endpoint security policies (the method Microsoft recommends), the Defender portal, Configuration Manager or Group Policy. Exclusions let a trusted program through, but Microsoft warns that excluding files or folders can severely reduce protection and that excluded files generate no events.

What ASR does not do: it is not antivirus signature matching, and it is not a replacement for patching, multi-factor authentication or backups. Microsoft says advanced reporting needs Microsoft 365 E5 or equivalent, but the rules themselves do not.

ASR rule modes: roll out in this orderAudit: log onlyReview events, add narrow exclusionsWarn: users see a promptBlockMicrosoft: test most rules in Audit before Block or Warn

Who it affects and how badly

Any business with Windows PCs can use ASR, so it matters most to firms without a dedicated security team: accountancy and legal practices, schools, charities, construction and trades, and the MSPs that look after them. The realistic worst case without it is that one staff member opens a booby-trapped attachment and the program it launches runs freely, leading to downtime and lost data. For a regulated firm, the extra problem is being unable to show that reasonable technical controls were switched on. Setting rules to Block with no testing has its own cost: a line-of-business app can stop working, which is why the Audit step exists.

What we check on a test

  • Whether ASR rules are set at all, and in which mode on each device group.
  • Whether the standard protection rules are in Block mode.
  • Whether exclusions are broad (whole folders or user-writable paths) and whether they were reviewed.
  • Whether Audit events are being read by anyone, or just collected.
  • Whether the rules are applied to servers and laptops that leave the office network.

Real examples

Microsoft’s rule reference documents the behaviour each rule covers and its Windows version support: ASR rules reference. It also says some programs, for example Chrome updates, touch LSASS unnecessarily and create rule noise. We have not tied ASR to a named public incident because we have not opened a primary source that does.

Worked example (an illustration, not a real case)

A 30-person recruitment agency receives CVs as Word attachments all day. The IT provider sets the Office child-process rule to Audit for two weeks, finds one old macro-based template that would break, adds a narrow exclusion for that file, and then moves the rule to Block. Staff notice nothing. The cost is a few hours of review. Skipping the Audit step could have stopped the agency’s payroll template working on a Monday morning.

How to detect it

  • In Event Viewer, check the Windows Defender Operational log for the audit event IDs above.
  • In the Defender portal, use the ASR rules report, and the advanced hunting query Microsoft shows for events whose action type starts with Asr and ends with Audited.
  • Look for a spike in Block events on a single device. It can mean an attack or a broken app.

How to fix or prevent it

  1. Enable the standard protection rules in Block mode through Intune endpoint security policies.
  2. Put the remaining rules in Audit mode and read the events.
  3. Add narrow, per-rule exclusions only for confirmed business apps.
  4. Move rules to Warn, then Block, group by group.
  5. Check that real-time protection and Defender Antivirus are active, since ASR depends on them.
  6. Review events and exclusions on a regular schedule.

Frequently asked questions

Do ASR rules need Microsoft 365 E5? No. Microsoft says E5 gives better management and reporting but the rules do not require it.

Will ASR break my apps? It can. Microsoft recommends Audit mode first for the non-standard rules.

Which rules should I enable first? The standard protection rules Microsoft recommends for Block mode.

Related terms

LSASS credential dumping defence, Event 4688 (process creation), How pass-the-hash works, Event 4104 (PowerShell logging), How lateral movement works, Event 4657 (registry value modified). More in the Detection and response hub.

How Wolfcore helps

Wolfcore’s vulnerability management and SOC monitoring keep watch for this after the test is over.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call