Defender for Endpoint
Configure Attack Surface Reduction Rules
Deploy ASR rules in audit mode via Intune, analyze impact reports, identify false positives, transition to block mode, configure per-rule exclusions, and monitor effectiveness with advanced hunting queries.
Where it fits: lab 2 of 7
Onboard and harden Windows and Linux endpoints. Onboard devices to Defender for Endpoint, block risky behavior with ASR, network protection, device control and App Control, and cover Linux.
- Onboard a Windows Server Fleet to MDE 75 min
- Configure Attack Surface Reduction Rules 90 min
- Network Protection & Custom Indicators for IP/URL/Domain 120 min
- Device Control: USB and Removable Storage Management 90 min
- Deploy & Tune Endpoint Detection Policies 2.5 h
- App Control for Business: End-to-End Deployment 3 h
- Secure Linux Endpoints with Entra ID, Intune and Defender for Endpoint 9.5 h
What this lab covers
Attack Surface Reduction (ASR) rules are a set of configurable controls in Microsoft Defender for Endpoint that block common malware techniques at the operating system level. ASR rules target behaviors such as Office macro abuse, credential theft via LSASS, script-based attacks, executable content in emails, and exploit techniques used by commodity malware. Each rule can operate in one of three modes: Audit (log only), Block (enforce), or Warn (prompt the user before allowing). This lab walks you through a complete enterprise deployment: audit, analyze, exclude, block, and monitor.
The enterprise scenario
Scenario: A healthcare organization with 3,000 Windows workstations is experiencing increasing commodity malware attacks.
Attackers are exploiting Office macros, credential theft tools, and script-based attack vectors to gain footholds. The security team needs to block these vectors without disrupting clinical workflows or breaking line-of-business applications. The organization uses Microsoft Intune for endpoint management and requires a phased, low-risk deployment approach.
What you will learn
- Understand the full catalog of ASR rules and their categories
- Deploy ASR rules in audit mode via Microsoft Intune
- Analyze ASR audit data to identify false positives and legitimate blocks
- Transition rules from audit to block mode using a phased approach
- Configure per-rule exclusions to prevent workflow disruptions
- Monitor ASR effectiveness with advanced hunting KQL queries
- Create custom ASR reporting dashboards for stakeholder visibility
- Troubleshoot ASR-related application compatibility issues
Before you start
- Licensing: Microsoft Defender for Endpoint Plan 2 (or Microsoft 365 E5 / E5 Security)
- Operating System: Windows 10 version 1709 or later, or Windows 11
- Cloud Protection: Microsoft Defender Antivirus cloud-delivered protection must be enabled
- Intune: Devices enrolled in Microsoft Intune with appropriate device compliance policies
- Portal Access: Security Administrator or Endpoint Security Manager role in security.microsoft.com and intune.microsoft.com
- Antivirus: Microsoft Defender Antivirus in active mode (not passive or disabled)
- Real-Time Protection: Real-time protection and behavior monitoring enabled on all target endpoints
- Network: Outbound HTTPS (443) connectivity to MDE cloud service URLs
The 12 steps
- Understand ASR Rules and Categories
- Review ASR Rule Prerequisites
- Create a Test Device Group in Intune
- Deploy ASR Rules in Audit Mode via Intune
- Generate Test Events to Validate Audit Logging
- Analyze ASR Audit Events with Advanced Hunting
- Identify and Configure Exclusions
- Transition High-Confidence Rules to Block Mode
- Configure Warn Mode for User-Facing Rules
- Build an ASR Monitoring Dashboard
- Create Alert Rules for ASR Block Events
- Validate Full Deployment and Document Policies
Related labs
Investigate a Simulated Ransomware Attack
Respond to a simulated ransomware incident in Microsoft Defender for Endpoint. Analyze the device timeline, trace the process tree, use Live Response for remote forensics, isolate the compromised device, hunt for lateral movement, remediate the threat, and document findings for an incident report.
Configure Isolation Exclusions in Defender for Endpoint
Define global isolation exclusion rules, apply selective isolation from the portal or the API, and confirm that critical services keep working while a compromised device stays contained.
Defender AV Modes, MDA Integration & Third-Party AV Coexistence
Master all four Microsoft Defender Antivirus operating modes - Active, Passive, EDR in Block Mode, and Disabled. Understand exactly which MDE capabilities survive when CrowdStrike (or another third-party AV) is the primary engine.