Technowand
M365 Secure Score

Back to Secure Score

How to Enable Advanced Ransomware Protection in Microsoft Defender

Last updated: November 2026

Boost your M365 Secure Score by enabling the Use advanced protection against ransomware Attack Surface Reduction (ASR) rule in Microsoft Intune. This guide walks you through creating and deploying the policy using a safe staged rollout.

Estimated time: 15 minutes. Applies to: Windows 10 and later.

What You Will Achieve

Improved Secure ScoreCompleting this guide will resolve the Use advanced protection against ransomware recommendation in your M365 Secure Score, directly improving your organisation's security posture score.
Ransomware Defence via ASRThe Attack Surface Reduction rule blocks executable content and suspicious behaviours typically used by ransomware, protecting your endpoints from common attack vectors.
Safe Staged RolloutBy deploying first to a test bench group for 7 days before rolling out to all users, you reduce the risk of disruption while still achieving full compliance.

Why Enable This Setting?

Ransomware is one of the most damaging threats facing businesses today. Microsoft's Attack Surface Reduction rules are designed to block the behaviours that ransomware and other malware rely on — including obfuscated scripts, suspicious executable content, and process injection techniques.

Enabling the Use advanced protection against ransomware rule in Block mode instructs Microsoft Defender to actively stop these behaviours rather than simply monitor them, significantly reducing your exposure.

This rule is part of Microsoft's recommended baseline ASR policy and directly contributes to your M365 Secure Score.

Prerequisites

Access to Microsoft Intune admin center with Endpoint security administrator permissions.

Microsoft Defender for Endpoint licences assigned to target devices (included in Microsoft 365 Business Premium and above).

A designated test bench Azure AD group containing a small set of pilot devices for Stage 1 rollout.

Step-by-Step Instructions

Follow these steps carefully. The process uses a two-stage rollout: first to a test bench group for 7 days, then to all users once validated.

1

Step 1 — Check Your M365 Secure Score

Before making any configuration changes, record your current M365 Secure Score as a baseline. 1. Open your browser and go to https://security.microsoft.com. 2. Sign in with your Microsoft 365 admin account. 3. In the left navigation, click Secure Score. 4. On the Secure Score overview page, note the current score displayed at the top (e.g. 45%). 5. Take a screenshot of the Secure Score dashboard as your before score. 6. In the Recommended actions list, locate Use advanced protection against ransomware and confirm it shows as Address (not yet completed).

Step 1 — Check Your M365 Secure Score
2

Step 2 — Create an Attack Surface Reduction Profile

You will create a new Attack Surface Reduction (ASR) policy profile in Microsoft Intune. 1. Open a new browser tab and go to https://intune.microsoft.com. 2. Sign in with your Microsoft 365 admin credentials. 3. In the left navigation panel, click Endpoint security. 4. Under the Manage section in the left menu, click Attack surface reduction. 5. The Attack surface reduction policies list will appear. Click + Create Policy at the top of the page. 6. A Create a profile panel will slide open on the right side of the screen. 7. Under Platform, click the dropdown and select Windows 10, Windows 11 and Windows Server. 8. Under Profile, click the dropdown and select Attack Surface Reduction Rules. 9. Click the Create button at the bottom of the panel to proceed to the profile creation wizard.

Step 2 — Create an Attack Surface Reduction Profile
3

Step 3 — Name and Describe the Profile

You are now on the Basics tab of the Create profile wizard. 1. In the Name field, enter a clear name, for example: Secure Score - ASR Rule - Use advanced protection against ransomware 2. Enter the same text in the Description field. 3. Confirm the Platform field shows Windows 10 and later (this is read-only, set in the previous step). 4. Click Next to go to Configuration settings.

Step 3 — Name and Describe the Profile
4

Step 4 — Set the Ransomware Rule to Block

You are now on the Configuration settings tab. This is where you set the specific ASR rule to Block mode. 1. Scroll down through the list of Attack Surface Reduction settings. Most will show Not configured — leave all of these as-is. 2. Locate the setting labelled Use advanced protection against ransomware. 3. Click the dropdown next to this setting and select Block. 4. Important: Do not change any other settings on this page. All remaining settings must stay as Not configured. 5. Verify the Use advanced protection against ransomware row now shows Block in the dropdown. 6. Take a screenshot of this configuration page showing the Block selection for your records. 7. Click Next at the bottom of the page to proceed to Scope tags. 8. On the Scope tags tab, the Default scope tag will already be applied. Do not add or remove any tags. Click Next to proceed to Assignments.

Step 4 — Set the Ransomware Rule to Block
5

Step 5 — Assign to Test Bench Group (Stage 1)

This is Stage 1 of the rollout. Assign the policy to a small test group only. Do not add all users at this stage. 1. You are now on the Assignments tab. 2. Under Included groups, click + Add groups. 3. In the Select groups to include panel, search for your test group and tick the checkbox next to it. 4. Click Select to confirm and close the panel. 5. Back on the Assignments tab, confirm the group appears under Included groups with the expected device and user counts. 6. Leave Excluded groups empty. 7. Click Next to proceed to Review + create. After creating the policy, wait 7 days before Stage 2. Watch the test users for any unexpected application or workflow issues during this period.

Step 5 — Assign to Test Bench Group (Stage 1)
6

Step 6 — Review, Confirm, and Create

You are now on the Review + create tab. Check every field in the Summary before clicking Create. 1. Under Basics, confirm the Name, Description and Platform (Windows 10 and later). 2. Under Configuration settings, confirm Defender is listed. This confirms the ASR rule is included. 3. Under Scope tags, confirm Default is listed. 4. Under Assignments, confirm your test group is in Included groups and Excluded groups shows No results. 5. Click Create. Intune returns you to the Attack surface reduction policies list. Confirm the new policy shows Policy type: Attack Surface Reduction and Assigned: Yes. 6. Note your Secure Score before the change so you can compare it later. After 7 days with no issues reported, return to this policy, go to Assignments and add all users to complete the rollout. Then check your Secure Score again.

Step 6 — Review, Confirm, and Create

How to Confirm It's Working

After 7 days, return to M365 Secure Score and take a new screenshot. The Use advanced protection against ransomware recommendation should show as completed for the test bench devices.

In Intune, navigate to Endpoint security > Attack surface reduction and confirm the policy shows as Assigned with target set to your test bench groups.

Once validated with no user issues after 7 days, edit the policy assignment to include all users to complete Stage 2. Record the updated Secure Score after the full rollout.

  • Event Viewer on a test device: open Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational. Event ID 1121 means the rule blocked something, 1122 means it would have blocked it (audit mode), and 5007 means Defender settings changed.
  • PowerShell: run Get-MpPreference | Select AttackSurfaceReductionRules_Ids, AttackSurfaceReductionRules_Actions and look for rule ID c1db55ab-c21a-4637-bb3f-a12568109d35. Action 1 = Block, 2 = Audit, 0 = Off. This rule needs cloud-delivered protection turned on.
  • Microsoft reference: Attack surface reduction rules reference (Microsoft Learn).

Frequently Asked Questions

Will enabling this rule cause disruptions for end users?

Microsoft designed this ASR rule to block malicious or obfuscated behaviours without impacting normal day-to-day work. The staged rollout to a test bench group first allows you to monitor for any unexpected impacts before deploying to all users. Most organisations experience no user-visible disruption.

How long does it take for the Secure Score to update after applying the rule?

M365 Secure Score typically refreshes within 24 to 48 hours after a policy change is detected and applied to devices. For the score to fully reflect the change, devices must check in with Intune and have the policy applied successfully.

What is the difference between Block mode and Audit mode for this rule?

In Audit mode, the rule logs detections without taking any action — useful for testing impact before enforcement. In Block mode, the rule actively prevents the detected behaviour. The Secure Score recommendation requires Block mode to be fulfilled. This SOP deploys directly to Block mode with a staged rollout as the risk mitigation strategy.

Do I need Microsoft Defender for Endpoint to use ASR rules?

Yes, Attack Surface Reduction rules are a feature of Microsoft Defender for Endpoint. They are included with Microsoft 365 Business Premium, Microsoft 365 E3, and Microsoft 365 E5 licences. Ensure your devices have the appropriate licence assigned before deploying.

How do I roll out the policy to all users after the test bench phase?

After 7 days with no issues, go to Endpoint security > Attack surface reduction in Intune, open the policy you created, and navigate to the Assignments tab. Click Add groups or Add all users to expand the assignment to your full user base. Save the change and record your updated Secure Score.

How do I exclude a trusted app from this rule?

Add a per-rule exclusion in the same Intune Attack Surface Reduction policy (ASR Only Per Rule Exclusions) for the specific file path of the trusted app. Keep exclusions as narrow as possible, one file rather than a whole folder, and review them regularly. Run the rule in Audit mode first so Event Viewer (event 1122) shows you what would be blocked before you switch to Block.

Need Help Improving Your M365 Secure Score?

Our team specialises in Microsoft 365 security assessments and managed security services. We can review your Secure Score, prioritise the highest-impact improvements, and handle the technical implementation for you.