Join our Newsletter — 33% off our NHI Course
Home› Guides› If your EDR and XDR platform is compromised:…
Guide Endpoint Security

If your EDR and XDR platform is compromised: containing a hijacked console before it hits every endpoint

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 14 min read
On this page

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.

ComponentWhat an attacker gainsFirst containment action
Console admin and analyst accountsLive response shells, script and file push, host isolation and release, quarantine restoreDisable suspect accounts, revoke sessions, restrict roles to named responders
Prevention and detection policiesSwitch blocking to audit-only, turn off tamper protection, lower sensitivity per groupLock policy editing; export current policies as evidence
Exclusions and allowlistsPath, hash, process or certificate exclusions that hide attacker tooling fleet-wideExport and freeze the exclusion list; compare with the approved register
Sensor uninstall and maintenance tokensAbility to remove or pause agents without triggering tamper alertsRotate tokens or passwords and change bulk-uninstall permissions
API clients and keysScripted access to the same actions as the console, often without MFARevoke or rotate every client; list scopes and creation dates
XDR connectorsCredentials into the identity provider, email, cloud, firewall and ticketing systems, with response permissionsInventory every connector and the permissions it was granted
On-premises management servers and databasesServer-level control, stored credentials, the update channel to agentsIsolate the servers from the internet; preserve disk and memory
Telemetry storeCommand lines, file paths, user names and sometimes file samples from every endpointRecord 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

SignalWhere you see itWhat it can mean
Live response sessions or script runs nobody in the SOC started, especially on servers, domain controllers or executive devicesConsole audit log, response action historyFleet 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 pausedPolicy change history, sudden drop in prevention eventsDefence 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 certificateExclusion change log, comparison with the approved registerPreparing a blind spot for ransomware or tooling
Isolated hosts released, quarantined files restored, alerts bulk-closed or suppression rules addedAudit log, alert status historyUndoing the SOC's work and hiding activity
New admin users, role changes, SSO or MFA settings changed, new API clientsConsole audit log, identity provider sign-in logsPersistence (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 approveIdentity, cloud and firewall audit logsThe tenant used as a pivot into other platforms
Large telemetry searches or exports, file sample downloadsConsole audit log, egress recordsReconnaissance 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

  1. 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.
  2. 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.
  3. Is the attacker still active? Open live response sessions, queued scripts, scheduled policy changes and recently created API clients.
  4. 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.
  5. 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.
  6. 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

RoleOwnsKey decision
Incident leadTimeline, coordination, decision logWhether the console incident is the main incident or one workstream of a wider intrusion
Endpoint platform ownerConsole roles, policies, exclusions, sensor versionsWhen policies are declared back at baseline
Identity teamSSO, MFA, console accounts in the directory, connector identitiesRotation order and whether to cut SSO to the console
SOC leadMonitoring during the response, using independent sourcesWhich detections are trusted while the platform is suspect
Forensics leadAudit log export, touched endpoint triage, server imagesWhich endpoints need full investigation or rebuild
Vendor relationship ownerSupport case, vendor-side logs, support accessWhether to request vendor-side audit data and suspend vendor support access
Legal and data protectionBreach assessment, noticesWhether 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Contain the touched endpoints: isolate hosts that received unexplained scripts or files, prioritising identity infrastructure, servers and the endpoints of administrators.
  6. Neutralise connectors: rotate or disable connector credentials with write or response permissions into identity, email, cloud and network platforms.
  7. 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

OrderCredentialWhy this order
1Console admin accounts, local break-glass accounts and their MFA enrolmentsRemoves direct control of response actions and policies
2Console API clients and keysAPI access often bypasses interactive MFA
3SSO configuration: signing certificates, federation trust, group-to-role mappingsAn attacker who changed the mapping can regain admin through a directory group
4Sensor uninstall and maintenance tokensStops removal of agents with the stolen value
5XDR connector credentials into identity, email, cloud, firewall and ticketing platformsRotate at the source platform, then reduce permissions to what the connector needs
6On-premises management server service accounts and database credentialsOften domain accounts with wide rights
7Credentials the attacker could have collected through live responseAny 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

  1. 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.
  2. Re-enable response capabilities role by role, starting with isolation, then script execution last.
  3. Reconnect XDR connectors one at a time with new, reduced-scope credentials and confirm each in the source platform's audit log.
  4. 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

SituationChooseTrade-off
One analyst account misused, no policy or exclusion changes, few actionsTargeted containment: disable the account, review its actions, rotate its credentialsFast, low disruption; depends on a complete audit log
Policies or exclusions changed fleet-wideFreeze roles, revert to baseline, treat all endpoints in affected groups as exposed for the windowLarger hunt, but prevention returns quickly
Scripts pushed to many hostsRun as a wider intrusion: isolate in waves, rebuild high-value hostsSignificant downtime; needed because code ran with full privileges
Self-hosted management server compromised at OS levelRebuild the server, reissue agent trust if the vendor supports itAgents may need reinstallation; plan in rings
Small organisation using a managed provider's consoleInvoke the Third-Party Incident Response Playbook alongside this pageYou 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

FrameworkReferenceHow it applies
NIST CSF 2.0RS.MI-01, RS.MI-02, RS.AN-03, PR.AA-05Contain and eradicate, establish what happened, enforce least privilege on console roles
NIST SP 800-53 Rev. 5IR-4, IR-6, AC-6, CM-5, AU-9, IA-5Incident handling and reporting, least privilege, change restrictions, audit protection, authenticator management
MITRE ATT&CK v20T1072, T1685, T1098, T1078, T1059Fleet tooling abuse, defence impairment, persistence through accounts
MITRE ATT&CK mitigationsM1026 Privileged Account Management, M1032 Multi-factor AuthenticationLimit and protect console administration
NIST SP 800-61 Rev. 3CSF 2.0 community profile for incident responseStructure 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

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

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.