Defender for Endpoint
Deploy & Tune Endpoint Detection Policies
Build a layered detection policy stack in Defender for Endpoint: next-generation antivirus, EDR in block mode, custom indicators, RBAC for SOC tiers, automated investigation, web content filtering, device control, tamper protection and KQL custom detections.
Where it fits: lab 5 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
Microsoft Defender for Endpoint provides a rich set of configurable detection and response policies that work together as a layered defense stack. This lab covers end-to-end deployment: next-generation antivirus via Intune, EDR in block mode, custom indicators, RBAC, and automated investigation and response (AIR). You will also configure supporting protections: web content filtering, device control for removable media, tamper protection, and network protection. Finally, you will build custom detection rules using KQL and validate the entire policy stack with simulated attacks.
The enterprise scenario
Scenario: A global financial services firm operates 15,000 endpoints across North America, Europe, and Asia-Pacific.
The CISO has mandated a unified detection policy framework that balances security coverage with operational stability. SOC Tier 1 analysts need read-only access, Tier 2 analysts need response capabilities, and Tier 3 engineers need full configuration access. Regulatory requirements (PCI-DSS, SOX, GDPR) mandate USB device control, web filtering, and automated investigation documentation.
What you will learn
- How MDE's detection architecture layers next-gen AV, EDR behavioral sensors, and cloud-delivered protection
- How to deploy and configure antivirus policies through Microsoft Intune
- How to enable EDR in block mode for post-breach detection on devices running third-party AV
- How to create custom indicators of compromise for files, IPs, URLs, and certificates
- How to implement RBAC with device group scoping for multi-tier SOC operations
- How to set automated investigation and response levels per device group
- How to build custom detection rules and a detection effectiveness dashboard using KQL
Before you start
- Licensing: Microsoft Defender for Endpoint Plan 2 (or Microsoft 365 E5 / E5 Security)
- Intune: Microsoft Intune with endpoint security policy permissions for antivirus and EDR configuration
- Devices: At least two Windows 10/11 devices onboarded to MDE with healthy sensor status
- Portal Access: Global Administrator or Security Administrator role in security.microsoft.com
- RBAC: Azure AD Security groups for SOC Tier 1, Tier 2, and Tier 3 roles
- Advanced Hunting: Familiarity with KQL syntax for building custom detection rules
- Network: Outbound HTTPS (443) connectivity to MDE cloud service URLs
- Prior Labs: Completion of MDE Lab 01 (Onboarding), Lab 02 (ASR Rules), and Lab 03 (Ransomware Investigation) is recommended
The 16 steps
- Review MDE Detection Architecture
- Configure Next-Generation Antivirus Policies via Intune
- Enable Cloud-Delivered Protection and Automatic Sample Submission
- Configure EDR in Block Mode
- Create Custom Indicators of Compromise (IoCs)
- Configure Device Groups with Tag-Based Membership
- Implement Role-Based Access Control (RBAC) for SOC Tiers
- Configure Automated Investigation and Response (AIR) Levels
- Set Up Web Content Filtering
- Configure Device Control (USB and Removable Media Policies)
- Enable Tamper Protection
- Configure Network Protection
- Create Custom Detection Rules for Advanced Threats
- Build a Detection Effectiveness Dashboard with KQL
- Test Detection Coverage with Simulated Attacks
- Document and Validate the Complete Policy Stack
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.