An EDR or XDR console can run commands, isolate machines, change prevention policy and silence alerts on every endpoint you own, so an attacker who controls it holds the most powerful remote administration tool in your estate and can blind your defence at the same time. Endpoint detection and response platforms put a privileged sensor on every laptop, server and cloud workload, and XDR platforms add API connectors into email, identity, cloud and network sources. This guide is for endpoint, SOC and platform owners who run such a platform, cloud hosted or on premises. It covers admin roles, response action guardrails, exclusions, sensor tamper protection, the service accounts and API keys around the platform, telemetry data, update rings, the platform's own logs and lifecycle. How to deploy and tune EDR well is in the Endpoint Security Guide and the EDR Guide; this page is about protecting the platform itself. It is vendor-neutral: confirm exact setting names in your vendor's documentation.
Key takeaways
- The console is a remote execution tool. Remote shell, script execution and file retrieval reach every enrolled host, so treat response roles like domain administration and log every use.
- Exclusions and policy changes are attacker tools. One exclusion or one policy moved to detect only can blind the platform without an alert; require approval and alert on every change.
- Protect the sensor from the host's own administrators. NIST SP 800-83 says users should not be able to disable or delete anti-malware software or change its critical settings; per-host uninstall secrets and tamper protection make that real.
- API clients and XDR connectors are privileged non-human identities. Each one needs an owner, minimum scopes, a rotation date and use monitoring.
- Stage updates you can stage. The 19 July 2024 content update outage showed how one push to kernel-level agents can stop a whole estate; use update rings wherever the product allows.
What the platform holds and can do
NIST SP 800-83 Rev. 1, the Guide to Malware Incident Prevention and Handling for Desktops and Laptops, recommends centrally managed anti-malware software controlled and monitored by designated administrators, who also acquire, test, approve and deliver updates. Modern EDR and XDR platforms are that central management point at much greater power, which is why the platform itself needs the controls in this guide.
| Component | What it holds or can do | If an attacker controls it | Primary control |
|---|---|---|---|
| Management console and tenant | Users, roles, policies, host groups, integrations | Adds admins, changes policy, reads all telemetry | SSO with phishing-resistant MFA, few admins, scoped roles |
| Response actions | Network containment, remote shell, script run, file retrieval and deletion | Runs code on every host (T1072 Software Deployment Tools) or isolates them all | Separate responder role, approval for bulk actions, full session logging |
| Prevention policies and exclusions | What is blocked, what is only detected, what is ignored | Silently disables protection (T1685 Disable or Modify Tools) | Change approval, alert on every edit, periodic diff against baseline |
| Sensor on each host | Kernel or system-level privileges, local tamper protection | Sensor unloaded or uninstalled, host goes dark | Tamper protection on, per-host uninstall secrets, offline alerts |
| Telemetry store | Process trees, command lines, file and network events, often with secrets in command lines | Harvests credentials and maps the estate (T1213) | Role-scoped search, retention limits, export alerts |
| API clients and XDR connectors | Keys to read alerts, run actions, and pull from email, identity and cloud sources | Full platform control without touching the console (T1528) | Scoped, owned, rotated credentials with source restrictions |
| Update and deployment channel | Sensor versions, detection content, installer packages | Mass outage or tampered installer (T1195.002) | Update rings, checksum or signature checks, change control |
Admin roles and console access
- Role design: separate platform administrator (tenant settings, roles, integrations), policy administrator (prevention policies and host groups), exclusion approver, responder (containment and remote shell), analyst (alerts and telemetry search, read only) and auditor. No day-to-day analyst should hold remote shell or policy rights.
- Scope by host group: where the product supports it, limit responders and policy admins to the host groups they own. Domain controllers, identity servers and the PAM vault deserve their own group with fewer people able to act on them.
- Authentication: SSO with phishing-resistant MFA, role assignment from identity provider groups, and one tested break-glass account held offline. The CISA and FBI Secure by Demand guide suggests asking whether SSO is offered at no extra cost and whether MFA or passkeys are on by default. See the Break-Glass Account Guide.
- Do not depend on what you protect: if your identity provider is compromised, an attacker can grant themselves EDR admin. Keep the break-glass path independent of that provider and alert on any role change.
- Admin devices: the NCSC secure system administration principles ask you to gain trust in management devices, protect administration interfaces, manage administration in tiers and log all administration. Run the EDR console from a privileged access workstation. See the Privileged Access Workstations Guide.
- Managed service providers: if an MDR provider operates the platform, give their analysts named accounts with the roles their contract allows, not a shared login, and review their access every quarter (our recommendation). See the Third-Party Access Guide.
Response action guardrails
Response actions are why EDR is valuable during an incident, and why a stolen responder account is so dangerous. NIST SP 800-83 recommends least privilege for users, processes and hosts; apply it to response capabilities, not only to endpoints.
| Action | Risk if misused | Guardrail |
|---|---|---|
| Network containment of one host | Business disruption | Responder role; log and notify host owner |
| Bulk containment or containment of servers | Estate-wide outage | Second approver; exclude core infrastructure groups unless approved |
| Remote shell or live response | Arbitrary command execution as the sensor's privileged account | Separate role, session recording, ticket reference, time-boxed access |
| Custom script upload and run | Mass code execution (T1072) | Approved script library only; changes to the library reviewed by a second person |
| File retrieval | Theft of documents, keys and databases | Size limits, alert on retrieval from sensitive host groups |
| Uninstall secret or maintenance token reveal | Sensor removal on that host | Restricted role; every reveal alerted |
Exclusions and prevention policy changes
An exclusion tells the sensor to ignore a path, process, hash or certificate. Attackers who reach the console, and administrators under pressure from a noisy application, both create them. Process the change, not just the result.
- Baseline: export current policies and exclusions and record an owner and reason for each. Remove any you cannot justify, in a pilot host group first.
- Approval: require a ticket and an approver who is not the requester for every exclusion, and an expiry date for temporary ones.
- Avoid broad patterns: no exclusions for whole user-writable folders, temp directories, scripting engines or wildcard process names.
- Alert: send every exclusion, policy edit, and change from prevent to detect only to the SOC as a high-priority event.
- Diff: compare live policy with the approved baseline every week and investigate drift.
Roll back a hardening change that breaks an application by adding a narrow, expiring exclusion for the specific signed binary, never by moving the host group to detect only. Detailed tuning is in the EDR Tuning and Exclusions Management Guide.
Sensor tamper protection
- Turn tamper protection on everywhere: NIST SP 800-83 says anti-malware administrators should continuously monitor hosts to confirm the software is current and configured properly, and that users should not be able to disable it.
- Per-host uninstall secrets: where the product supports it, use a unique uninstall or maintenance secret per host rather than one tenant-wide password that ends up in a deployment script.
- Remove local admin rights: a local administrator can often stop services or load drivers; least privilege on endpoints protects the sensor too. NIST SP 800-83 notes that malware often needs administrator-level privileges to succeed.
- Watch for silence: alert when a host stops reporting, when sensor version falls back or when the sensor is uninstalled without a matching change ticket. Vulnerable driver abuse is the common technique for killing sensors; see the Bring Your Own Vulnerable Driver and EDR Killers Guide and the EDR Tampering and BYOVD Response Playbook.
Service accounts, API keys and XDR connectors
Every SOAR playbook, SIEM export, ticketing integration and XDR data source connects with a credential. These are non-human identities with more reach than most people's accounts. See the Service Account Security Guide and the EDR and XDR platform integration security guide.
| Credential | Needs | Avoid | Pattern |
|---|---|---|---|
| SOAR API client | Read alerts, contain hosts | Full admin scope, remote shell scope | Minimum scopes, source address restriction, vaulted secret |
| SIEM export client | Read alerts and events | Write or response scopes | Read-only client, one per destination |
| XDR connectors to email, identity and cloud | Read logs from that source; sometimes act (revoke session, quarantine message) | Tenant-wide admin consent granted once and forgotten | Least privilege in the source tenant, owner named, review with source admin |
| Sensor installation or registration key | Enrol new hosts into the right tenant | Key embedded in public scripts or images | Store in deployment tool secret store, rotate when exposed |
| Deployment tool account (software distribution, MDM) | Push sensor packages | Shared domain admin | Dedicated account with rights to the sensor package only |
- Rotate and review: rotate static API secrets at least every 90 days and when anyone with access leaves (our recommendation), and remove clients unused for 30 days.
- Monitor use: alert when an API client acts from an unexpected address or calls a scope it has not used before. See the Secrets Management Guide.
Telemetry data and the platform's own logs
EDR telemetry records command lines, and command lines contain passwords, tokens and connection strings more often than anyone likes. Treat the telemetry store as sensitive data: limit who can run free-text search across all hosts, set retention to what investigations actually need, confirm data residency for hosted platforms, and ask how vendor staff access is approved and logged.
| Event to capture | Why it matters | Alert? |
|---|---|---|
| Role, SSO or user change; API client created | Persistence and widened access (T1098, T1078) | Always |
| Exclusion added; policy changed to detect only | Silent blinding (T1685) | Always |
| Remote shell session, script run, file retrieval | Execution and collection through the platform (T1072) | Always for sensitive host groups; review all |
| Uninstall secret revealed; sensor removed | Host taken out of coverage | Always |
| Bulk telemetry export or large search | Data theft (T1213) | Above baseline |
| Alerts suppressed, auto-closed or rules disabled | Hides real activity | Bulk or high-severity changes |
- Export the audit log: stream it to a SIEM the EDR admins cannot change. NIST SP 800-53 AU-9(2) covers storing audit records on a separate system and AC-6(9) covers logging privileged functions. See Securing the SIEM itself.
- Retention: Secure by Demand asks SaaS providers to keep security logs for at least six months at no extra charge; export if your plan keeps less.
Updates, resilience and lifecycle
The 19 July 2024 content update that crashed millions of Windows hosts came through the vendor's own channel, outside customers' change control. Not every product lets you stage detection content, but most let you stage sensor versions. See the Third-Party Concentration Risk Guide.
- Update rings: early ring of IT and test hosts, then general estate, then critical servers, with a hold period between rings where the product allows.
- Recovery plan: keep tested steps and offline recovery keys for booting and repairing hosts if an agent update makes them unusable.
- Installer integrity: download packages only from the vendor's portal, verify checksums or signatures, and store them in a controlled repository.
- Coverage: reconcile enrolled hosts against the asset inventory every week; an unenrolled server is an unprotected server.
| Stage | Security actions |
|---|---|
| Buy | Ask the Secure by Demand questions; confirm role scoping by host group, response approvals, per-host uninstall secrets, audit export, update staging and data residency. See the EDR and XDR Buyer's Guide. |
| Deploy | SSO first; roles and host groups; tamper protection on from day one; audit export on; update rings defined. |
| Run | Weekly policy diff and coverage check; quarterly role, API client and exclusion review; sensor patching through rings. See the EDR and XDR platform day-2 operations runbook. |
| Respond | If the console or an API client is suspected compromised, follow If your EDR and XDR platform is compromised: revoke sessions and keys, review exclusions, policies and response actions since the first suspicious event. |
| Retire or migrate | Run old and new sensors side by side only as long as tested; revoke API clients and connector consents; rotate uninstall secrets after removal; obtain written confirmation of telemetry deletion (MP-6). See the EDR and XDR platform migration playbook. |
Choosing controls by size
- Small teams: two or three people often hold every role. Compensate with phishing-resistant MFA, alerting on every exclusion and policy change to a mailbox outside the platform, and an MDR provider review of changes.
- Large estates: split roles by host group and region, require dual approval for bulk actions and exclusions, and treat the platform as a tier 0 system alongside identity infrastructure.
- Outsourced operation: keep platform administration and break-glass in house even when the provider runs triage and response.
Detection and measurement
- Percentage of assets in inventory with a healthy, current sensor (target: 100 per cent of in-scope hosts).
- Number of people with remote shell or script run rights (target: as few as the on-call rota needs).
- Exclusions without owner, reason or expiry (target: zero).
- Policy changes and exclusions made without a matching ticket (target: zero).
- API clients with unused or admin scopes, or secrets older than 90 days.
- Hosts that went silent without a matching change, and time to investigate them.
Framework mapping
| Control area | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | Threat addressed |
|---|---|---|---|
| Console roles and host group scoping | AC-2, AC-6, AC-6(5) | PR.AA-05 | T1078 Valid Accounts |
| Response action guardrails | AC-6(9), CM-7 | PR.PS-01 | T1072 Software Deployment Tools |
| Exclusions, policy and tamper protection | SI-3, CM-3 | DE.CM-09 | T1685 Disable or Modify Tools |
| API clients and connectors | IA-5, AC-6 | PR.AA-01 | T1528 Steal Application Access Token |
| Audit log protection | AU-9(2), AU-6 | PR.PS-04 | T1098 Account Manipulation |
| Updates and vendor channel | SI-7, SA-9, SR-3 | GV.SC-07, PR.PS-02 | T1195.002 Compromise Software Supply Chain |
Common failure patterns
- Every analyst has remote shell: one phished analyst becomes command execution on every host.
- One tenant-wide uninstall password: it sits in a deployment script and lets anyone remove the sensor.
- Exclusions nobody owns: broad folder exclusions added years ago for an application long since retired.
- Detect-only drift: host groups moved to detect only during a troubleshooting call and never moved back.
- Admin-scoped API keys: a SOAR or reporting integration holds full admin rights because it was quickest to set up.
- Audit trail left inside the console: the evidence of policy and role changes lives only where an attacker can delete or ignore it.
Practitioner checklist
- Enforce SSO with phishing-resistant MFA, group-based roles and an independent, tested break-glass account.
- Separate platform, policy, exclusion, responder and analyst roles, and scope them by host group.
- Require approval and session logging for remote shell, scripts, file retrieval and bulk containment.
- Put every exclusion and policy change through a ticket, with owner, reason, expiry and an alert.
- Enable tamper protection, use per-host uninstall secrets and alert on silent or removed sensors.
- Give each API client and XDR connector an owner, minimum scopes, a rotation date and use monitoring.
- Export the platform audit log to a SIEM its admins cannot change.
- Stage sensor updates in rings and keep a tested recovery plan for a bad update.
- Reconcile sensor coverage with the asset inventory weekly and review roles and keys quarterly.
Standards and references
- NIST: SP 800-83 Rev. 1 Guide to Malware Incident Prevention and Handling for Desktops and Laptops
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- NCSC: Secure system administration
- CISA and FBI: Secure by Demand Guide
- MITRE ATT&CK: Disable or Modify Tools
- MITRE ATT&CK: Software Deployment Tools
Related NHI Mgmt Group resources: EDR Guide · XDR Guide · EDR and XDR platform health check · Securing the network detection and response (NDR) itself · Service Account Security Guide