When an attacker controls your identity threat detection and response tool, the system meant to spot identity attacks can be told to ignore them, and its response actions can be turned on your own administrators. An ITDR tool reads the directory and identity provider, runs sensors on domain controllers and federation servers, holds API credentials into cloud tenants and may disable accounts or revoke sessions on its own. A compromise therefore has three parts: blind spots added to detection, credentials the tool held that now need treating as exposed, and a gap in identity telemetry during which anything may have happened. This guide is a vendor-neutral response playbook for that incident: how it shows up, triage, containment while keeping some identity visibility, credential rotation, rebuilding the tool, the compensating hunt, evidence and notification. It is for identity incident responders, SOC leads and ITDR platform owners, and assumes the preventive controls in Securing the identity threat detection and response (ITDR) tool itself.
Key takeaways
- Assume detection was blind for the whole window. Exclusions, disabled rules and stopped sensors mean the tool's own alert history proves nothing; hunt in the raw directory, identity provider and host logs instead.
- Pause automation before anything else. An attacker with console access can trigger mass account disables or password resets; switch response to alert only and remove response credentials.
- The tool's credentials are tier 0 credentials. Directory read accounts, identity provider connectors and response identities must be rotated at the source, not in the console.
- Sensors on domain controllers are code on tier 0 hosts. If the sensor channel or update path was abused, the incident becomes a possible directory compromise.
- Rebuild configuration from a known-good export. Every rule, exclusion, protected-account list and integration changed in the window is suspect until diffed and re-approved.
What an ITDR tool compromise looks like
The response depth depends on which component the attacker reached. Use the table to set scope before you contain.
| Compromise point | Typical attacker actions | What you must check |
|---|---|---|
| Console administrator or detection engineer role | Add exclusions for their accounts, disable or downgrade tier 0 rules, silence alert routing (T1685 Disable or Modify Tools) | Every rule, exclusion, suppression and routing change in the window |
| Responder role or response action identity | Disable administrators, reset passwords, remove group memberships to lock responders out (T1531 Account Access Removal) | Every response action, matched against the directory and identity provider logs |
| Directory collection account | Read users, groups, ACLs and attack paths; use the account directly from attacker infrastructure | Directory logon events for that account from any host other than the sensors |
| Identity provider or cloud connector credential | Bulk export identity data; if over-granted, change identities or add credentials (T1098.001 Additional Cloud Credentials) | Identity provider audit log for the connector's application identity |
| Sensor on a domain controller or federation server | Stop telemetry, or use the sensor's local privilege on the host | Host forensics, sensor version and integrity, directory changes from that host |
| Vendor side (SaaS tenant or update channel) | Abuse a trusted relationship to reach many customers (T1199 Trusted Relationship, T1195 Supply Chain Compromise) | Vendor notification, indicators, and every component the vendor can update |
An ITDR tool that stores credential-derived data, such as results of weak-password comparisons or captured authentication traffic, adds a data exposure question: what did the tool hold that an attacker could take away?
Triggers and triage
Invoke this playbook for: an ITDR console sign-in from an unknown device or network; a new admin, API key or local account outside a change; a new or widened exclusion with no approver; tier 0 rules disabled or downgraded; sensors going silent on several domain controllers together; a collector account used interactively or from a non-sensor host; response actions against privileged accounts nobody approved; or a vendor security notice about the product or its tenant.
- Preserve evidence first: export the tool's audit log, rule and exclusion history, response action history and API key list, plus identity provider sign-in logs for console users and directory security logs for the tool's service accounts, to a store ITDR administrators cannot reach.
- Snapshot configuration as found: rules, exclusions, suppression lists, protected-account list, alert routing, integrations, connector definitions and role assignments.
- Identify the actor's capability: which role, connector or key was used, whether it could act (response identity) or only read, and which directories, tenants and hosts it reached.
- Set the window: earliest possible access to now, extended back to the last configuration export you trust.
- Classify: critical if a response identity, a sensor host or a connector with write rights was involved, or if any tier 0 rule or exclusion changed; high if console read access or a read-only collector was used.
Decision: the incident commander decides whether to escalate to a directory or identity provider tenant compromise. Any sign that the sensor host, the response identity or a write-capable connector was used against identities makes that escalation the default; see the Active Directory Domain Compromise Response Playbook and the Identity Provider Tenant Compromise Playbook.
Containment while keeping identity visibility
Switching the tool off removes the attacker's lever but also your main identity telemetry. Contain in this order and stand up compensating visibility before you cut connectors.
| Priority | Action | Why |
|---|---|---|
| 1 | Use the kill switch: set all response automation to alert only, and disable the response action identity in the directory and identity provider | Stops lockouts and password resets driven by the attacker or a poisoned rule |
| 2 | Move responders out of band and confirm break-glass access to the directory and identity provider that does not depend on the tool | The attacker may be watching the tool's case notes and alert channels |
| 3 | Restrict console administration to named responders, remove unknown admins and API keys, revoke console sessions | Removes persistence in the console |
| 4 | Start compensating detection: forward raw directory, identity provider and federation logs to the SIEM with interim rules for the highest-risk events | Keeps visibility while the tool is untrusted |
| 5 | Disable or restrict connector identities at the source: the collector account, identity provider application identities and cloud roles | Stops direct use of stolen credentials from attacker infrastructure |
| 6 | Isolate suspected sensor hosts through your domain controller incident procedure, never by simply uninstalling the sensor | Uninstalling destroys evidence and may not remove what the attacker left |
The NCSC secure system administration principles ask you to protect administration interfaces and to log and audit administration activities. During containment that means the tool's console counts as a compromised administration interface until rebuilt. NIST SP 800-207 rests on the premise that no asset is trusted because of where it sits or who owns it; apply that to the tool itself, and verify its outputs against independent logs until it is rebuilt.
Rotating the tool's credentials
Rotate at the target system, so the old credential stops working everywhere, and reduce rights before re-enabling.
| Credential | Priority | Note |
|---|---|---|
| Response action identity | First | Recreate with scope limited to standard users; exclude tier 0, break-glass and the tool's own identities |
| Connectors with any write right in the identity provider or cloud tenants | First | Replace client secrets with certificate or federated credentials; remove scopes the product does not use |
| Directory collection account | High | Reset, confirm read-only rights and logon restriction to sensor hosts; check it was never in a privileged group |
| Inbound API keys (SOAR, scripts) | High | Recreate only keys with a named owner and current use |
| Outbound integration tokens (SIEM, ticketing, chat) | Medium | Rotate at the destination; check what the attacker could have read or posted |
| Sensor registration secrets and certificates | Medium | Re-register sensors installed on verified hosts |
If the collector or response identity had directory-wide rights, or a sensor host is suspected, assume credential theft from the directory was possible, for example through replication rights (T1003.006 DCSync). That moves the response to the directory playbook, including the krbtgt account reset procedure. The joint agency guide Detecting and Mitigating Active Directory Compromises, led by ASD's ACSC with CISA, NSA, NCSC-UK and others, covers the 17 most common directory compromise techniques to hunt for. Record each rotated identity in the NHI inventory; see the Service Account Security Guide.
Rebuilding detection trust
- Diff configuration: compare every rule, exclusion, suppression, alert route and protected-account entry against the last trusted export. List each change in the window with who made it.
- Remove, then re-approve: delete every exclusion and suppression created or widened in the window. Re-add only those a named owner justifies, with an expiry.
- Restore tier 0 rules: re-enable and reset severity on rules for privileged group changes, replication requests, ticket anomalies and federation changes, then prove they fire using controlled tests. See ITDR validation.
- Rebuild sensors: on a suspected host, follow the host rebuild or recovery path, then install a verified sensor version from the authenticated portal. On clean hosts, confirm version and integrity.
- Rebuild self-hosted components on fresh hosts where the management server itself was reached, restoring configuration only after the diff.
- Re-enable automation in stages: session revocation for high-confidence alerts on standard users first, with action caps; password resets and group removals only with human approval. The staged approach in the Identity threat detection and response (ITDR) tool rollout playbook works as the re-enablement plan.
- Roll back if detection breaks: keep the SIEM compensating rules running until the rebuilt tool has matched them for an agreed period.
The compensating hunt
Because the tool may have hidden activity, hunt the window in raw logs. NIST SP 800-61 Rev. 3 frames incident response within CSF 2.0; this hunt is the analysis step (RS.AN-03) that establishes what happened.
| Hunt | Source | Look for |
|---|---|---|
| Excluded accounts | Directory and identity provider logs | Everything the excluded accounts did in the window, since nothing alerted on them |
| Privileged changes | Directory security logs, tenant audit logs | Additions to privileged groups, new role assignments (T1098.003 Additional Cloud Roles), new credentials on applications |
| Authentication changes | Federation and identity provider configuration history | New trusts, changed authentication policies (T1556 Modify Authentication Process), token forgery signs (T1606.002 SAML Tokens) |
| Kerberos abuse | Domain controller logs | Ticket anomalies (T1558 Steal or Forge Kerberos Tickets) and replication requests from non-domain-controller hosts |
| Response actions | Tool history against directory logs | Directory actions by the response identity with no matching tool record, and the reverse |
For the wider identity investigation and account recovery steps, use the Identity Incident Response Playbook.
Evidence and notification
- Evidence to preserve: the tool's audit, rule, exclusion and response histories; configuration snapshots; directory, identity provider and federation logs; sensor host images where suspected; vendor correspondence. Hash and store them under a separate account. NIST SP 800-53 AU-9(2) supports storing audit records on a separate system.
- Personal data: ITDR tools hold identity data on staff and sometimes credential-derived data. If it may have been taken, GDPR Article 33(1) requires notification to the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware, unless the breach is unlikely to result in a risk.
- Vendor: notify the vendor, ask for its tenant-side logs and staff access records for your tenant, and check contract breach notification terms. The CISA and FBI Secure by Demand guide suggests buyers expect cloud products to retain security logs for at least six months at no extra charge; if your tenant keeps less, export what remains immediately.
- Internal: tell the SOC and identity teams that ITDR alerts are untrusted until stated otherwise, so nobody closes a hunt on the strength of a quiet console.
Scaling the response to your estate
Small organisations with one directory and a SaaS ITDR tenant can contain in hours: kill switch, rotate the handful of connector identities, delete exclusions and lean on identity provider logs for the hunt. The risk is having no compensating visibility, so agree in advance which native log views the team will use. Large organisations with several forests, tenants and regions need prepared artefacts: a scripted list of every ITDR identity per directory and tenant, SIEM rules ready to switch on as compensating detection, and a configuration export taken on a schedule. Where a managed security provider operates the tool, include its access path and staff accounts in scope.
Detection and measurement
- Signals of tool compromise: console admin or API key creation outside change; exclusions without approver; rule disables; simultaneous sensor silence; connector identities used from new locations; response actions on protected accounts. Route these from the SIEM, not from the tool itself.
- Cross-system reconciliation: response actions in the directory with no matching tool record.
Metrics:
- Time from kill switch decision to all automation paused, measured in drills.
- Time to produce a full list of ITDR identities and their rights across directories and tenants.
- Age of the latest trusted configuration export (target: no older than your change review cycle).
- Percentage of tier 0 detections covered by compensating SIEM rules.
- Number of exclusions without a named owner and expiry (target: zero).
Common failure patterns
- Trusting a quiet console: responders read the alert history, see nothing and close the investigation, when the attacker had excluded their own accounts.
- Rotating in the console only: the connector secret is changed in the tool but the old credential is still valid in the identity provider.
- Uninstalling sensors to contain: evidence is lost and the domain controller is treated as clean without investigation.
- Leaving automation on: the attacker, or a tampered rule, disables the administrators who are trying to respond.
- Restoring exclusions wholesale: the configuration backup is reloaded including the attacker's exclusion, because nobody diffed it.
- No escalation path: a write-capable connector was used, but the incident stays scoped to the tool and the directory compromise is missed.
Framework mapping
| Response area | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | ATT&CK |
|---|---|---|---|
| Console and response identities | AC-2, AC-6(5) | PR.AA-05 | T1078, T1531 |
| Connector credentials | IA-5 | PR.AA-01 | T1098.001, T1528 |
| Detection integrity and audit | AU-6, AU-9(2), SI-4 | DE.CM-09, PR.PS-04 | T1685 |
| Containment and eradication | IR-4 | RS.MI-01, RS.MI-02 | T1556, T1003.006 |
| Analysis and hunt | IR-4, AU-6 | RS.AN-03 | T1558, T1606.002 |
| Vendor relationship | IR-6 | GV.SC-07, RS.CO-02 | T1199, T1195 |
Practitioner checklist
- Set all response automation to alert only and disable the response identity at the source.
- Export the tool's audit, rule, exclusion and response histories to a store ITDR administrators cannot reach.
- Confirm break-glass access to the directory and identity provider that does not depend on the tool.
- Turn on compensating SIEM detection for tier 0 identity events before cutting connectors.
- Rotate every ITDR credential in the target system, highest rights first, and reduce scopes.
- Escalate to the directory or tenant playbook if a write-capable identity or sensor host was used.
- Delete exclusions and suppressions from the window and re-approve only with owner and expiry.
- Hunt the window in raw logs, starting with excluded accounts and privileged changes.
- Re-enable automation in stages with caps, after detections are proven with controlled tests.
- Schedule configuration exports and a yearly kill switch drill.
Standards and references
- NIST: SP 800-61 Rev. 3 Incident Response Recommendations and Considerations
- ASD's ACSC, CISA, NSA and partners: Detecting and Mitigating Active Directory Compromises
- NCSC: Secure system administration
- CISA and FBI: Secure by Demand Guide
- NIST: SP 800-207 Zero Trust Architecture
- GDPR: Article 33 Notification of a personal data breach to the supervisory authority
- MITRE ATT&CK: T1685 Disable or Modify Tools
- MITRE ATT&CK: T1531 Account Access Removal
Related NHI Mgmt Group resources: Securing the identity threat detection and response (ITDR) tool itself · Identity threat detection and response (ITDR) tool rollout playbook · Identity threat detection and response (ITDR) tool health check · ITDR Guide