Identity threat detection with Defender for Identity · Plan

Plan Defender for Identity

Every domain controller and identity server listed, a sensor version chosen for each, and owners agreed.

Duration
2 to 3 weeks
Effort
About 3 to 5 person-days
Complexity
Medium
Beyond E5
Nothing beyond Microsoft 365 E5

Who's in the room: Identity administrator (owner), Active Directory and server owners, security operations lead, endpoint administrator, network team

On this page

Overview

Defender for Identity sensors collect signals from on-premises identity infrastructure, and Defender uses them to detect threats such as privilege escalation and lateral movement, and to report identity security issues such as unconstrained Kerberos delegation. Microsoft says to install sensors on all domain controllers, including read-only ones, and on AD FS, AD CS and Microsoft Entra Connect servers that aren't domain controllers. Sensor v3.x runs on Windows Server 2019 or later; older servers use v2.x, and both can run in the same workspace.

Technically, nothing changes in this stage. The plan decides, for each server, the sensor version, whether it's onboarded through Defender for Endpoint, how the sensor reads directory data and takes response actions (the local system account for v3.x, a Directory Service Account and action account for v2.x), and who responds to identity alerts.

You'll end up with: A server inventory with a sensor version for each, an onboarding approach, account decisions, owners, and a deployment order.

If you skip it: Without a plan, sensors are installed on some domain controllers but not others, and the gaps are exactly where an attacker's activity goes unseen.

Before you start

  • List the identity servers
    How to do it

    List every domain controller, including read-only ones, and every AD FS, AD CS and Microsoft Entra Connect server, with its operating system version, site and owner, across every forest.

    Who: Identity administratorProduces: An identity server inventory

  • Know the Defender for Endpoint status
    How to do it

    Record which of those servers are onboarded to Defender for Endpoint. Sensor v3.x can be activated directly on onboarded servers.

    Who: Endpoint administratorProduces: Onboarding status per server

Approval and readiness

3 phases · 2 decisions
  1. Choose sensor versions1 week

    Choose the sensor version for each server from its operating system and the features you need.

    Who: Identity administratorProduces: A sensor version per server

    Move on when Every server in the inventory has a sensor version and a reason.

    Key decisions for this phase (1)

    Upgrade old domain controllers or use sensor v2.x?

    Recommended default: Use v2.x on older servers now, and plan their upgrade

    Sensor v3.x needs Windows Server 2019 or later, relies mainly on Windows events, and needs no sizing tool. Servers on older versions need v2.x, which processes network traffic and needs capacity planning.

    Other options: Wait until every server is upgraded · Decided by: Identity administrator

    How to do it

    Sensor v3.x doesn't support VPN integration or syslog notifications and has limitations with Azure ExpressRoute. If you need those, use v2.x on the servers concerned. Both versions can run in the same workspace. Sensor v3.x on AD FS, AD CS and Entra Connect servers that aren't domain controllers is in preview, so check its status when you plan those servers.

    Watch out for (1)
    • If you: Wait for every domain controller to be upgraded before starting

      What tends to happen: Months pass with no identity detection anywhere

      A better approach:

      Deploy v3.x where you can and v2.x on the rest, and migrate as servers are upgraded

  2. Decide accounts and onboarding1 week

    Decide how sensors are onboarded and which accounts they use to read the directory and take response actions.

    Who: Identity administrator with the security operations leadProduces: An account and onboarding approach

    Move on when The approach covers every sensor version in the inventory.

    Key decisions for this phase (1)

    How are v3.x sensors onboarded?

    Recommended default: Through Defender for Endpoint, with automatic activation

    Servers onboarded to Defender for Endpoint can activate sensor v3.x directly, and automatic activation can do it for eligible servers. Eligible servers can instead use the v3.x onboarding package without Defender for Endpoint.

    Other options: The standalone onboarding package · Decided by: Identity administrator

    How to do it

    Sensor v3.x uses the local system account to read directory data and to take actions such as disabling accounts. If any sensor is v3.x, Microsoft says to set the workspace to use the sensor's local system account for all sensors. Sensor v2.x uses a Directory Service Account, ideally a group managed service account, and an action account.

    Watch out for (1)
    • If you: Skip the action account decision

      What tends to happen: When attack disruption tries to disable a compromised account, the sensor can't do it

      A better approach:

      Decide the action account approach now, and test a response action during deployment

  3. Agree owners and orderA few days

    Agree who owns sensors and their health, who responds to identity alerts, and the order servers are deployed in.

    Who: Identity administrator with the security operations leadProduces: Owners and a deployment order

    Move on when Server owners have agreed the order and their change windows.

    Watch out for (1)
    • If you: Install sensors without telling domain controller owners

      What tends to happen: A sensor is blamed for the next domain controller problem and removed

      A better approach:

      Agree change windows with server owners and explain what the sensor does

Alongside every phase:

Explain to Active Directory owners what the sensor does and doesn't do. For v3.x, it reads Windows events and event tracing rather than inspecting network traffic, which keeps its resource use low.

What keeps it in place:

Nothing is enforced in planning. The decisions become prepared servers in Prepare servers and auditing for Defender for Identity.

How you'll know it's working

3 measures

Capture a baseline before you start, or you won't be able to show the change.

Measures, where you see them, and the direction that means success
MeasureWhere you see itGood direction
Identity servers with an agreed sensor versionServer inventory Up
Identity servers with a sensorDefender for Identity sensors page Up
Servers on operating systems that need sensor v2.xServer inventory Down

Take it with you

plan, decisions, gate checks, 1 template

Plan outline: phases and when to move on

  1. Choose sensor versions (1 week). Move on when: Every server in the inventory has a sensor version and a reason.
  2. Decide accounts and onboarding (1 week). Move on when: The approach covers every sensor version in the inventory.
  3. Agree owners and order (A few days). Move on when: Server owners have agreed the order and their change windows.

Decisions to record, with the recommended answer

DecisionRecommended defaultOur choice
Upgrade old domain controllers or use sensor v2.x?Use v2.x on older servers now, and plan their upgrade
How are v3.x sensors onboarded?Through Defender for Endpoint, with automatic activation

Gate checks: questions to answer before each phase ends

Before leaving Choose sensor versions

  • Does every server have a sensor version?

Before leaving Decide accounts and onboarding

  • Is the action account approach decided?

Before leaving Agree owners and order

  • Have server owners agreed change windows?

Server inventory row

Server: [name]. Role: [DC, RODC, AD FS, AD CS, Entra Connect]. OS: [version]. Forest and site: [names]. Defender for Endpoint: [Y/N]. Sensor: [v3.x / v2.x]. Owner: [name]. Change window: [date].

Microsoft Learn

6 links

Contributor

Compare notes or suggest an improvement

Your message goes straight to Sev Derghazarian.

What would you like to do?

Subject:

The send button is enabled once the spam check below completes.

Changelog

Changelog (1 version)
Published versions of this playbook
VersionDateByChange
1Sev DerghazarianFirst draft.