SCENARIO 12 / IDENTITY

Device registration and misplaced device trust

Separate a directory device record from evidence of a managed and healthy device.

M365-12IdentityInvestigation playbook

How the scenario unfolds

An attacker may register a device under a compromised identity or benefit from an access policy that accepts a weaker device state than intended. Registered, joined, Microsoft Entra hybrid joined and compliant describe different properties. A device appearing in Entra ID is not, on its own, evidence that it is safe for sensitive access.

Conditions to examine

Broad registration rights, weak enrollment verification, stale device records and policies built around assumptions about join or compliance state.

Signals to investigate

  • A new device associated with an account during an incident.
  • Sensitive access from a device whose ownership, management or compliance cannot be verified.
  • Changes to device owners, administrative settings or exclusions close to suspicious sign-ins.

Evidence to collect

Retain device IDs, join and ownership information, registration events, sign-in device details and the corresponding management record where applicable. Obtain endpoint telemetry when an actual device compromise is suspected.

Investigation sequence

  1. Resolve the device identifier across identity and management systems and establish whether it is a real approved endpoint.
  2. Check the effective access decision at the event time, including the device claims accepted by the resource.
  3. Review enrollment actors and any methods, sessions or local administrative access associated with the registration.

Reduce the exposure

  • Restrict registration and enrollment to the intended populations and workflows.
  • Require appropriate managed-device conditions for sensitive resources, with tested recovery and exception paths.
  • Reconcile stale or duplicate records through an owned lifecycle process.

Contain and recover

  • Disable or restrict an unauthorised device identity where appropriate and contain the affected user or endpoint.
  • Remove attacker-created registration and access exceptions after evidence preservation and operational review.
VERIFY THE OUTCOME

Confirm the suspicious device cannot regain the intended access and the legitimate replacement can. Test the precise policy condition rather than relying on a device name.

Interpret with care

Rebuilds and migrations can legitimately create new records. Device compliance is a policy evaluation, not a guarantee of no malware. Directory deletion alone is not endpoint remediation.

Technical references

[51] [15]