Identity threat detection with Defender for Identity · Deploy

Deploy Defender for Identity sensors

Sensors on a pilot, validated, then every domain controller and identity server, with sensitive accounts and honeytokens tagged.

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

Who's in the room: Identity administrator (owner), server owners, security operations lead, security analysts

On this page

Overview

Once servers are prepared, v3.x sensors can be activated on servers onboarded to Defender for Endpoint, and v2.x sensors installed from the package. Microsoft's validation steps check the identity dashboard, the device timeline, advanced hunting tables and test alerts. Tagging sensitive accounts and honeytokens makes detections such as sensitive group changes work correctly.

Technically, you activate or install sensors in waves, check the Sensors and Health issues pages, run the validation checks, tag sensitive accounts, Exchange servers and honeytoken accounts, and test a response action.

You'll end up with: Sensors on every identity server, validated, with sensitive accounts and honeytokens tagged and a tested response action.

If you skip it: Without validation and full coverage, the portal shows sensors as installed while detections silently miss activity on the servers left out.

Before you start

The path to this playbook

  1. Plan Defender for Identity
  2. Prepare servers and auditing for Defender for Identity
  3. Deploy Defender for Identity sensors (you are here)
  • Prepare servers and auditing for Defender for Identity: Auditing, accounts, capacity and connectivity ready on every identity server.
  • Have prepared servers
    How to do it

    Each server in the wave has auditing, accounts, capacity and connectivity confirmed from Prepare servers and auditing for Defender for Identity.

    Who: Identity administratorProduces: Ready servers for the wave

Rollout approach: By region · Pilot size: The domain controllers of one site. Deploying one site's domain controllers first shows how sensors behave in the real environment before every site is covered.

Pilot to production

4 phases
  1. Deploy and validate the pilot1 to 2 weeks

    Activate or install sensors on the pilot domain controllers, then validate them.

    Who: Identity administratorProduces: Validated pilot sensors

    Move on when Each pilot sensor shows data on the dashboard, its device timeline and advanced hunting, and test activity raises the expected alerts.

    How to do it

    Microsoft's validation checks the Identities dashboard for expected data, the device timeline for Defender for Identity events, and advanced hunting tables for identity data, then runs test activity that should raise alerts.

    Watch out for (1)
    • If you: Count a sensor as working because it shows as running

      What tends to happen: A sensor runs but misses events because auditing is wrong, and nobody checks

      A better approach:

      Validate each wave with the dashboard, device timeline, advanced hunting and a test alert

  2. Tag sensitive accounts and honeytokensA few days

    Tag the accounts that matter most as sensitive, confirm Exchange servers are tagged, and create and tag honeytoken accounts.

    Who: Identity administrator with the security operations leadProduces: Tagged sensitive accounts and honeytokens

    Move on when Sensitive accounts and honeytokens are tagged, and the security operations team knows what a honeytoken alert means.

    How to do it

    Some detections, such as sensitive group changes, rely on the sensitive tag. Exchange servers are tagged as sensitive by default. A honeytoken is a dormant account; any sign-in from it raises an alert.

    Watch out for (1)
    • If you: Create a honeytoken that a script or service still uses

      What tends to happen: It raises alerts every day and gets ignored

      A better approach:

      Use a new, unused account with a believable name, and confirm nothing signs in with it

  3. Deploy to every identity server2 to 3 weeks

    Deploy sensors to the remaining domain controllers, then AD FS, AD CS and Entra Connect servers, validating each wave.

    Who: Identity administrator with server ownersProduces: Sensors on every identity server

    Move on when Every server in the inventory has a validated sensor and no open health issues.

    How to do it

    For AD FS, sensors go on the federation servers only, not on Web Application Proxy servers. Offline AD CS servers don't need a sensor. Entra Connect needs sensors on both the active and the staging servers. On servers using v2.x, AD FS, AD CS and Entra Connect sensors need the Directory Service Account.

    Watch out for (1)
    • If you: Leave read-only domain controllers or a remote site for later

      What tends to happen: The gap stays open, and attacks through that site aren't seen

      A better approach:

      Track coverage against the inventory until every server has a sensor

  4. Test response and hand overA few days

    Test a response action on a test account, and hand sensor health and identity alerts to their owners.

    Who: Security operations lead with the identity administratorProduces: A tested response and named owners

    Move on when A test account was disabled and re-enabled from the portal, and owners have accepted.

    How to do it

    Response actions such as disabling an account or resetting a password run through the sensor's local system account on v3.x, or the action account on v2.x.

Alongside every phase:

Tell the security operations team what identity alerts look like and how they join incidents, and walk them through one test alert from start to finish.

What keeps it in place:

Sensors watch every authentication and directory change on their servers, and Defender correlates their alerts into incidents. With the action account in place, attack disruption can contain compromised accounts.

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 a validated sensorSensors page against the inventory Up
Open sensor health issuesHealth issues page Down
Sensitive accounts taggedEntity tags Up

Take it with you

plan, gate checks, 1 template

Plan outline: phases and when to move on

  1. Deploy and validate the pilot (1 to 2 weeks). Move on when: Each pilot sensor shows data on the dashboard, its device timeline and advanced hunting, and test activity raises the expected alerts.
  2. Tag sensitive accounts and honeytokens (A few days). Move on when: Sensitive accounts and honeytokens are tagged, and the security operations team knows what a honeytoken alert means.
  3. Deploy to every identity server (2 to 3 weeks). Move on when: Every server in the inventory has a validated sensor and no open health issues.
  4. Test response and hand over (A few days). Move on when: A test account was disabled and re-enabled from the portal, and owners have accepted.

Gate checks: questions to answer before each phase ends

Before leaving Deploy and validate the pilot

  • Did the pilot raise the expected test alerts?

Before leaving Tag sensitive accounts and honeytokens

  • Is every honeytoken unused by any service?

Before leaving Deploy to every identity server

  • Does every server in the inventory have a validated sensor?

Before leaving Test response and hand over

  • Did the test response action work?

Wave record

Wave: [site or server group]. Servers: [list]. Sensor: [version]. Validated: [dashboard, timeline, hunting, test alert]. Health issues: [none / list]. Date: [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.