Pilot and deploy Microsoft Defender for Identity
Applies to:
- Microsoft Defender XDR
This article provides a workflow for piloting and deploying Microsoft Defender for Identity in your organization. You can use these recommendations to onboard Microsoft Defender for Identity as an individual cybersecurity tool or as part of an end-to-end solution with Microsoft Defender XDR.
This article assumes you have a production Microsoft 365 tenant and are piloting and deploying Microsoft Defender for Identity in this environment. This practice will maintain any settings and customizations you configure during your pilot for your full deployment.
Defender for Office 365 contributes to a Zero Trust architecture by helping to prevent or reduce business damage from a breach. For more information, see the Prevent or reduce business damage from a breach business scenario in the Microsoft Zero Trust adoption framework.
End-to-end deployment for Microsoft Defender XDR
This is article 2 of 6 in a series to help you deploy the components of Microsoft Defender XDR, including investigating and responding to incidents.
The articles in this series correspond to the following phases of end-to-end deployment:
Phase | Link |
---|---|
A. Start the pilot | Start the pilot |
B. Pilot and deploy Microsoft Defender XDR components | - Pilot and deploy Defender for Identity (this article) - Pilot and deploy Defender for Office 365 - Pilot and deploy Defender for Endpoint - Pilot and deploy Microsoft Defender for Cloud Apps |
C. Investigate and respond to threats | Practice incident investigation and response |
Pilot and deploy workflow for Defender for Identity
The following diagram illustrates a common process to deploy a product or service in an IT environment.
You start by evaluating the product or service and how it will work within your organization. Then, you pilot the product or service with a suitably small subset of your production infrastructure for testing, learning, and customization. Then, gradually increase the scope of the deployment until your entire infrastructure or organization is covered.
Here is the workflow for piloting and deploying Defender for Identity in your production environment.
Follow these steps:
- Set up the Defender for Identity instance
- Install and configure sensors
- Configure event log and proxy settings on machines with the sensor
- Allow Defender for Identity to identify local admins on other computers
- Configure benchmark recommendations for your identity environment
- Try out capabilities
Here are the recommended steps for each deployment stage.
Deployment stage | Description |
---|---|
Evaluate | Perform product evaluation for Defender for Identity. |
Pilot | Perform Steps 1-6 for a suitable subset of servers with sensors in your production environment. |
Full deployment | Perform Steps 2-5 for your remaining servers, expanding beyond the pilot to include all of them. |
Protecting your organization from hackers
Defender for Identity provides powerful protection on its own. However, when combined with the other capabilities of Microsoft Defender XDR, Defender for Identity provides data into the shared signals which together help stop attacks.
Here's an example of a cyber-attack and how the components of Microsoft Defender XDR help detect and mitigate it.
Defender for Identity gathers signals from Active Directory Domain Services (AD DS) domain controllers and servers running Active Directory Federation Services (AD FS) and Active Directory Certificate Services (AD CS). It uses these signals to protect your hybrid identity environment, including protecting against hackers that use compromised accounts to move laterally across workstations in the on-premises environment.
Microsoft Defender XDR correlates the signals from all the Microsoft Defender components to provide the full attack story.
Defender for Identity architecture
Microsoft Defender for Identity is fully integrated with Microsoft Defender XDR and leverages signals from on-premises Active Directory identities to help you better identify, detect, and investigate advanced threats directed at your organization.
Deploy Microsoft Defender for Identity to help your Security Operations (SecOps) teams deliver a modern identity threat detection and response (ITDR) solution across hybrid environments, including:
- Prevent breaches, using proactive identity security posture assessments
- Detect threats, using real-time analytics and data intelligence
- Investigate suspicious activities, using clear, actionable incident information
- Respond to attacks, using automatic response to compromised identities. For more information, see What is Microsoft Defender for Identity?
Defender for Identity protects your on-premises AD DS user accounts and user accounts synchronized to your Microsoft Entra ID tenant. To protect an environment made up of only Microsoft Entra user accounts, see Microsoft Entra ID Protection.
The following diagram illustrates the architecture for Defender for Identity.
In this illustration:
- Sensors installed on AD DS domain controllers and AD CS servers parse logs and network traffic and send them to Microsoft Defender for Identity for analysis and reporting.
- Sensors can also parse AD FS authentications for third-party identity providers and when Microsoft Entra ID is configured to use federated authentication (the dotted lines in the illustration).
- Microsoft Defender for Identity shares signals to Microsoft Defender XDR.
Defender for Identity sensors can be directly installed on the following servers:
AD DS domain controllers
The sensor directly monitors domain controller traffic, without the need for a dedicated server or the configuration of port mirroring.
AD CS servers
AD FS servers
The sensor directly monitors network traffic and authentication events.
For a deeper look into the architecture of Defender for Identity, see Microsoft Defender for Identity architecture.
Step 1: Set up the Defender for Identity instance
First, Defender for Identity requires some prerequisite work to ensure that your on-premises identity and networking components meet minimum requirements. Use the Microsoft Defender for Identity prerequisites article as a checklist to ensure your environment is ready.
Next, sign in to the Defender for Identity portal to create your instance and then connect this instance to your Active Directory environment.
Step | Description | More information |
---|---|---|
1 | Create the Defender for Identity instance | Quickstart: Create your Microsoft Defender for Identity instance |
2 | Connect the Defender for Identity instance to your Active Directory forest | Quickstart: Connect to your Active Directory Forest |
Step 2: Install and configure sensors
Next, download, install, and configure the Defender for Identity sensor on the domain controllers, AD FS, and AD CS servers in your on-premises environment.
Step | Description | More information |
---|---|---|
1 | Determine how many Microsoft Defender for Identity sensors you need. | Plan capacity for Microsoft Defender for Identity |
2 | Download the sensor setup package | Quickstart: Download the Microsoft Defender for Identity sensor setup package |
3 | Install the Defender for Identity sensor | Quickstart: Install the Microsoft Defender for Identity sensor |
4 | Configure the sensor | Configure Microsoft Defender for Identity sensor settings |
Step 3: Configure event log and proxy settings on machines with the sensor
On the machines that you installed the sensor on, configure Windows event log collection and Internet proxy settings to enable and enhance detection capabilities.
Step | Description | More information |
---|---|---|
1 | Configure Windows event log collection | Configure Windows Event collection |
2 | Configure Internet proxy settings | Configure endpoint proxy and Internet connectivity settings for your Microsoft Defender for Identity Sensor |
Step 4: Allow Defender for Identity to identify local admins on other computers
Microsoft Defender for Identity lateral movement path detection relies on queries that identify local admins on specific machines. These queries are performed with the SAM-R protocol, using the Defender for Identity Service account.
To ensure Windows clients and servers allow your Defender for Identity account to perform SAM-R, a modification to Group Policy must be made to add the Defender for Identity service account in addition to the configured accounts listed in the Network access policy. Make sure to apply group policies to all computers except domain controllers.
For instructions on how to do this, see Configure Microsoft Defender for Identity to make remote calls to SAM.
Step 5: Configure benchmark recommendations for your identity environment
Microsoft provides security benchmark recommendations for customers using Microsoft Cloud services. The Azure Security Benchmark (ASB) provides prescriptive best practices and recommendations to help improve the security of workloads, data, and services on Azure.
Implementing these recommendations can take some time to plan and implement. While these recommendations greatly increase the security of your identity environment, they shouldn't prevent you from continuing to evaluate and implement Microsoft Defender for Identity. These recommendations are provided here for your awareness.
Step 6: Try out capabilities
The Defender for Identity documentation includes the following tutorials that walk through the process of identifying and remediating various attack types:
- Reconnaissance alerts
- Compromised credential alerts
- Lateral movement alerts
- Domain dominance alerts
- Exfiltration alerts
- Investigate a user
- Investigate a computer
- Investigate lateral movement paths
- Investigate entities
SIEM integration
You can integrate Defender for Identity with Microsoft Sentinel or a generic security information and event management (SIEM) service to enable centralized monitoring of alerts and activities from connected apps. With Microsoft Sentinel, you can more comprehensively analyze security events across your organization and build playbooks for effective and immediate response.
Microsoft Sentinel includes a Defender for Identity connector. For more information, see Microsoft Defender for Identity connector for Microsoft Sentinel.
For information about integration with third-party SIEM systems, see Generic SIEM integration.
Next step
Incorporate the following into your SecOps processes:
Next step for the end-to-end deployment of Microsoft Defender XDR
Continue your end-to-end deployment of Microsoft Defender XDR with Pilot and deploy Defender for Office 365.
Tip
Do you want to learn more? Engage with the Microsoft Security community in our Tech Community: Microsoft Defender XDR Tech Community.