When an attacker controls your EDR or XDR management console, the tool you trust to stop code running on endpoints becomes a signed, allowlisted way to run code on all of them at once. The console can open live response shells, push scripts, isolate or release hosts, add exclusions and switch prevention policies off across the whole fleet, and an XDR tenant usually also holds API connectors into identity, email, cloud and firewall platforms. This playbook covers compromise of the management plane: console accounts, the tenant, on-premises management servers, API clients and connector credentials. It is vendor-neutral and written for incident leads, SOC managers, endpoint engineers and identity teams. Attackers disabling or removing agents on individual machines is a different incident, covered in the EDR Tampering and BYOVD Response Playbook; this page does not repeat it.
Key takeaways
- Treat console access as fleet-wide code execution. MITRE ATT&CK T1072 Software Deployment Tools describes exactly this risk: access to enterprise-wide endpoint management software can give remote code execution on every connected system.
- Stop new actions before you investigate old ones. Freeze live response, script and file push, policy edits and exclusion changes for everyone except a small named response group, then read the audit log.
- The audit log is the scope. Every live response session, uploaded script, policy change, exclusion and isolation release in the suspect window tells you which endpoints to treat as touched.
- Rotate the platform's non-human identities, not just the admin passwords. API clients, SIEM and SOAR integrations, identity and cloud connectors and on-premises management service accounts all carry standing access.
- Restore prevention before you trust the telemetry. Revert policies and exclusions to a known good baseline and prove sensors are reporting truthfully before you rely on the platform to hunt for the attacker.
What the console holds and why it matters
Scope by what the management plane can reach and change. On most platforms the following components exist in some form, whether the console is cloud-hosted or runs on servers you operate.
| Component | What an attacker gains | First containment action |
|---|---|---|
| Console admin and analyst accounts | Live response shells, script and file push, host isolation and release, quarantine restore | Disable suspect accounts, revoke sessions, restrict roles to named responders |
| Prevention and detection policies | Switch blocking to audit-only, turn off tamper protection, lower sensitivity per group | Lock policy editing; export current policies as evidence |
| Exclusions and allowlists | Path, hash, process or certificate exclusions that hide attacker tooling fleet-wide | Export and freeze the exclusion list; compare with the approved register |
| Sensor uninstall and maintenance tokens | Ability to remove or pause agents without triggering tamper alerts | Rotate tokens or passwords and change bulk-uninstall permissions |
| API clients and keys | Scripted access to the same actions as the console, often without MFA | Revoke or rotate every client; list scopes and creation dates |
| XDR connectors | Credentials into the identity provider, email, cloud, firewall and ticketing systems, with response permissions | Inventory every connector and the permissions it was granted |
| On-premises management servers and databases | Server-level control, stored credentials, the update channel to agents | Isolate the servers from the internet; preserve disk and memory |
| Telemetry store | Command lines, file paths, user names and sometimes file samples from every endpoint | Record export and search activity for the breach assessment |
How these should be locked down in normal operation is covered in Securing the EDR and XDR platform itself.
How the compromise shows up
| Signal | Where you see it | What it can mean |
|---|---|---|
| Live response sessions or script runs nobody in the SOC started, especially on servers, domain controllers or executive devices | Console audit log, response action history | Fleet tooling used for execution and lateral movement (T1072, T1059 Command and Scripting Interpreter) |
| Prevention policy moved to detect-only, tamper protection off for a group, sensor version pinned or updates paused | Policy change history, sudden drop in prevention events | Defence impairment from the console (T1685 Disable or Modify Tools, in ATT&CK v20 tactic TA0112 Defense Impairment) |
| New broad exclusions: whole drives, temp folders, scripting engines, a new signing certificate | Exclusion change log, comparison with the approved register | Preparing a blind spot for ransomware or tooling |
| Isolated hosts released, quarantined files restored, alerts bulk-closed or suppression rules added | Audit log, alert status history | Undoing the SOC's work and hiding activity |
| New admin users, role changes, SSO or MFA settings changed, new API clients | Console audit log, identity provider sign-in logs | Persistence (T1098 Account Manipulation) and valid-account abuse (T1078 Valid Accounts) |
| Connector credentials used from unexpected networks, or XDR response actions such as user disablement or firewall changes you did not approve | Identity, cloud and firewall audit logs | The tenant used as a pivot into other platforms |
| Large telemetry searches or exports, file sample downloads | Console audit log, egress records | Reconnaissance of your estate or data theft |
The pattern resembles the abuse of legitimate remote management tools described in CISA advisory AA23-025A: activity through a trusted tool generally does not trigger antivirus alerts and gives the attacker persistence without custom malware. The difference here is that the trusted tool is also your detection layer.
Triage: the first hour
- Is this the console or the endpoints? If agents are going silent host by host with no console changes, switch to the EDR Tampering and BYOVD Response Playbook. If the audit log shows policy, exclusion or response actions you did not authorise, stay here. Both can happen together.
- Which identity acted? Named console user, SSO identity, local break-glass account, API client or vendor support access. Pull the identity provider logs for the same identity.
- Is the attacker still active? Open live response sessions, queued scripts, scheduled policy changes and recently created API clients.
- What has been run, and where? List every script, file push and live response command in the suspect window with target hosts. That list is your first set of touched endpoints.
- What else can the tenant reach? List connectors with write or response permissions. If an identity provider connector could disable users or reset sessions, bring in the identity team now.
- Do you have an independent view? Identify a log source the attacker cannot edit from the console, such as the SIEM copy of the audit log, identity provider logs or network telemetry, and use it to check what the console tells you.
Roles and decision points
| Role | Owns | Key decision |
|---|---|---|
| Incident lead | Timeline, coordination, decision log | Whether the console incident is the main incident or one workstream of a wider intrusion |
| Endpoint platform owner | Console roles, policies, exclusions, sensor versions | When policies are declared back at baseline |
| Identity team | SSO, MFA, console accounts in the directory, connector identities | Rotation order and whether to cut SSO to the console |
| SOC lead | Monitoring during the response, using independent sources | Which detections are trusted while the platform is suspect |
| Forensics lead | Audit log export, touched endpoint triage, server images | Which endpoints need full investigation or rebuild |
| Vendor relationship owner | Support case, vendor-side logs, support access | Whether to request vendor-side audit data and suspend vendor support access |
| Legal and data protection | Breach assessment, notices | Whether telemetry or file sample access is a notifiable personal data breach |
Decision: disabling the whole console stops the attacker but also stops your protection and visibility. Most teams instead restrict console roles to a small response group and keep agents running, because a fleet with prevention on is safer than a fleet with no agent management at all. Record the choice and who approved it.
Containment by priority
- Freeze dangerous capabilities: remove live response, script execution, file push, policy edit, exclusion edit and uninstall rights from every role except two or three named responders. Where the platform supports approval for response actions, turn it on now.
- Cut the attacker's identities: disable suspect console accounts, revoke sessions and refresh tokens at the identity provider, delete or revoke unknown API clients, and suspend vendor support access until scope is clear.
- Restrict where the console can be reached from: limit access to responders on privileged access workstations with phishing-resistant MFA. The NCSC secure system administration principles stress that you must be able to trust the devices used to reach administration interfaces.
- Revert prevention: restore policies and tamper protection to the last approved baseline and remove exclusions not in the approved register. Do this only after the audit log and policy export are preserved.
- Contain the touched endpoints: isolate hosts that received unexplained scripts or files, prioritising identity infrastructure, servers and the endpoints of administrators.
- Neutralise connectors: rotate or disable connector credentials with write or response permissions into identity, email, cloud and network platforms.
- Isolate self-hosted management servers: block their outbound internet access except to the vendor update service, and restrict inbound administration to the response group.
Credential rotation
| Order | Credential | Why this order |
|---|---|---|
| 1 | Console admin accounts, local break-glass accounts and their MFA enrolments | Removes direct control of response actions and policies |
| 2 | Console API clients and keys | API access often bypasses interactive MFA |
| 3 | SSO configuration: signing certificates, federation trust, group-to-role mappings | An attacker who changed the mapping can regain admin through a directory group |
| 4 | Sensor uninstall and maintenance tokens | Stops removal of agents with the stolen value |
| 5 | XDR connector credentials into identity, email, cloud, firewall and ticketing platforms | Rotate at the source platform, then reduce permissions to what the connector needs |
| 6 | On-premises management server service accounts and database credentials | Often domain accounts with wide rights |
| 7 | Credentials the attacker could have collected through live response | Any secret on a touched endpoint, including local admin and cached service account credentials |
Treat API clients and connectors as service accounts with owners and expiry. See the Service Account Security Guide and the Secrets Rotation Runbook Template.
Eradication and rebuild
- Rebuild the configuration from a baseline: compare every role, policy, exclusion, response automation, custom detection, suppression rule and notification route with an approved export, and recreate anything you cannot verify.
- Rebuild self-hosted management servers: reinstall from trusted media at a supported version, restore configuration from a pre-incident export, and review it before reconnecting agents.
- Investigate touched endpoints: for each host that received an unexplained action, collect triage data and decide whether to clean or rebuild. Hosts where code ran as SYSTEM or root through the console should normally be rebuilt.
- Check for persistence the console created: scheduled tasks, services, local accounts or remote tools dropped by pushed scripts.
- Remove standing power: split console roles so no single account can both change policy and run live response, add approval for bulk or high-impact actions where offered, and set short session lifetimes.
Recovery and reconnection
- Prove sensors report truthfully: run a benign detection test on sample hosts in each policy group and confirm the alert reaches both the console and the SIEM.
- Re-enable response capabilities role by role, starting with isolation, then script execution last.
- Reconnect XDR connectors one at a time with new, reduced-scope credentials and confirm each in the source platform's audit log.
- Run the EDR and XDR platform health check before closing the incident, and keep enhanced monitoring of the console audit log for at least 30 days.
Evidence to preserve and notification
- Preserve first: console audit logs, response action history with command output, script and file upload records, policy and exclusion exports, API client lists, connector configuration, identity provider sign-in logs and images of self-hosted servers. Cloud consoles may keep audit history for a limited period, so export it on day one. See the Evidence Handling and Chain of Custody Guide.
- Ask the vendor: request vendor-side logs of authentication and support access for the tenant.
- Personal data: telemetry contains user names, command lines and file paths, and live response can read any file on an endpoint. Under UK GDPR, the ICO says a notifiable breach must be reported without undue delay and no later than 72 hours after becoming aware of it, individuals must be told without undue delay where the risk to them is high, and every breach must be recorded even if not reported.
- Other obligations: follow the notification rules in your Incident Response Plan Template, including sector regulators and contractual notices to customers.
Decision guidance
| Situation | Choose | Trade-off |
|---|---|---|
| One analyst account misused, no policy or exclusion changes, few actions | Targeted containment: disable the account, review its actions, rotate its credentials | Fast, low disruption; depends on a complete audit log |
| Policies or exclusions changed fleet-wide | Freeze roles, revert to baseline, treat all endpoints in affected groups as exposed for the window | Larger hunt, but prevention returns quickly |
| Scripts pushed to many hosts | Run as a wider intrusion: isolate in waves, rebuild high-value hosts | Significant downtime; needed because code ran with full privileges |
| Self-hosted management server compromised at OS level | Rebuild the server, reissue agent trust if the vendor supports it | Agents may need reinstallation; plan in rings |
| Small organisation using a managed provider's console | Invoke the Third-Party Incident Response Playbook alongside this page | You depend on the provider's logs and actions |
Detection and measurement
- Forward the audit log off-platform: send console audit events to the SIEM, with alerts on policy weakening, new exclusions, new admins, new API clients and bulk response actions.
- Baseline response actions: alert on live response or script execution outside SOC hours, by unusual accounts, or against tier 0 hosts.
- Metrics: time from unauthorised console change to detection; share of console changes with a matching change ticket; number of identities able to run live response (target: single digits); percentage of API clients with an owner and expiry; mean time to revert policy to baseline in exercises; exclusions not in the approved register (target: zero).
For telemetry design see the EDR Telemetry Guide.
Framework mapping
| Framework | Reference | How it applies |
|---|---|---|
| NIST CSF 2.0 | RS.MI-01, RS.MI-02, RS.AN-03, PR.AA-05 | Contain and eradicate, establish what happened, enforce least privilege on console roles |
| NIST SP 800-53 Rev. 5 | IR-4, IR-6, AC-6, CM-5, AU-9, IA-5 | Incident handling and reporting, least privilege, change restrictions, audit protection, authenticator management |
| MITRE ATT&CK v20 | T1072, T1685, T1098, T1078, T1059 | Fleet tooling abuse, defence impairment, persistence through accounts |
| MITRE ATT&CK mitigations | M1026 Privileged Account Management, M1032 Multi-factor Authentication | Limit and protect console administration |
| NIST SP 800-61 Rev. 3 | CSF 2.0 community profile for incident response | Structure of preparation, response and recovery |
Common failure patterns
- Reverting before preserving: fixing policies and deleting exclusions before exporting them destroys the record of what the attacker hid.
- Rotating passwords but not API clients: the attacker keeps scripted access through a client created on day one.
- Trusting the console to investigate itself: alerts closed or suppressed by the attacker look like a quiet estate. Cross-check with independent logs.
- Forgetting the connectors: XDR credentials into the identity provider or firewall outlive the console clean-up.
- SSO as the only gate: if the directory group that grants console admin is writable by a compromised account, the attacker returns. See the Identity Provider Tenant Compromise Playbook when the identity provider is involved.
- Treating touched endpoints as clean: hosts that received console scripts ran attacker code with full privileges.
Practitioner checklist
- Console audit log, policies, exclusions, API clients and connectors exported and hashed.
- Live response, script, policy, exclusion and uninstall rights limited to named responders.
- Suspect accounts disabled, sessions revoked, unknown API clients deleted, vendor support access reviewed.
- Policies, tamper protection and exclusions back at the approved baseline.
- Every endpoint that received an unexplained action listed, triaged and cleaned or rebuilt.
- Credentials rotated in order, including connectors and secrets exposed on touched endpoints.
- Sensors proven to report truthfully to console and SIEM before closure.
- Breach assessment recorded and notification decisions logged.
- Console audit events forwarded to the SIEM with alerts on high-impact changes.
Standards and references
- NIST: SP 800-61 Rev. 3 Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- MITRE ATT&CK: Software Deployment Tools
- MITRE ATT&CK: Disable or Modify Tools
- CISA: Protecting Against Malicious Use of Remote Monitoring and Management Software (AA23-025A)
- NCSC: Secure system administration
- NIST: Cybersecurity Framework 2.0
- ICO: Personal data breaches, a guide
Related NHI Mgmt Group resources: EDR Tampering and BYOVD Response Playbook · Securing the EDR and XDR platform itself · EDR and XDR platform health check · Bring Your Own Vulnerable Driver and EDR Killers Guide · If a security or IT tool is compromised