Many serious incidents start in an estate where endpoint detection and response (EDR) covers only part of the fleet, so responders cannot see what the attacker is doing on the machines that matter most. Deploying EDR in the middle of an incident is one of the fastest ways to get that visibility, and CISA's #StopRansomware Guide names EDR deployment as part of its containment and eradication steps. It is also risky: the channels you would use to push the agent may be the ones the attacker controls, and a clumsy rollout can warn the attacker before you are ready to act. This guide covers when to deploy, which hosts to cover first, how to choose a deployment channel, the operational security (OPSEC) decisions involved and how to track coverage. It is for incident response leads and the IT operations teams who do the pushing. The overall response process is in the Incident Response Guide; this page covers only the EDR rollout.
Key takeaways
- Collect before you change. The Five Eyes joint advisory on uncovering malicious activity warns against mitigating before data is preserved; capture memory and triage data from key hosts before or alongside the agent install.
- Cover identity infrastructure first. Domain controllers, identity provider servers, jump hosts and management servers give the most insight per agent and are where attackers usually go.
- Treat every deployment channel as possibly compromised. Group Policy, endpoint management and remote management tools are attacker techniques too (ATT&CK T1484.001, T1072); use fresh credentials and verify the channel before trusting it.
- Assume the attacker will notice. Plan the rollout so that by the time the agent is visible, you can contain quickly, rather than trying to hide it.
- Track coverage as a number. A live list of in-scope hosts, agent status and gaps is what lets the incident lead decide when containment can start.
When to deploy EDR mid-incident
Deploy when the hosts you need to investigate have no EDR, an agent from a product the responders cannot access, or an agent you suspect has been tampered with. Typical triggers are a ransomware precursor alert, a compromise assessment finding, an external notification from a government agency or a retained incident response provider who needs their own tooling.
| Situation | Recommended approach | Why |
|---|---|---|
| EDR present on most hosts and healthy | Do not redeploy; close the coverage gaps and verify tamper protection | A second agent adds risk and noise; use what you have |
| EDR present but the console or its admin accounts may be compromised | Treat the platform as suspect first; see the EDR and XDR platform compromise playbook | Pushing from a compromised console can help the attacker |
| Partial or no coverage, attacker still active | Rapid, prioritised deployment of the responder's agent in detect-only mode | Visibility before containment, without triggering automated actions |
| Signs of agent tampering or driver abuse | Follow the EDR Tampering and BYOVD Response Playbook before redeploying | A new agent on a host with a kernel-level foothold may be blinded too |
| Destructive stage (encryption in progress) | Isolate first, deploy EDR into the recovery environment | CISA's guide puts isolation of affected systems ahead of everything else |
Two conditions should be met before the first agent goes out: an out-of-band channel for the response team (CISA recommends phone calls rather than channels the attacker may monitor), and a decision on who can approve containment actions once the agent shows something.
Planning and prioritisation
Do not deploy to everything at once and hope. Rank hosts by what they tell you about the attacker and how much damage they could enable. The order below is a common starting point; adjust it with what the investigation already knows.
| Priority | Host group | Why it comes here | Notes |
|---|---|---|---|
| 1 | Domain controllers and other identity servers (AD FS, AD CS, identity sync, PAM vault servers) | Credential theft and persistence happen here; CISA's ransomware guide notes attackers use domain controllers as a staging point | Capture memory first where possible; test the agent on one DC before the rest |
| 2 | Jump hosts, bastions and privileged access workstations | Attackers use them to reach everything else | See If your jump host and bastion is compromised |
| 3 | Management servers: endpoint management, remote monitoring and management (RMM), backup servers, hypervisor managers | Each one can push code or destroy data across the estate | Also the likeliest deployment channels: check them before using them |
| 4 | Hosts with known indicators (patient zero, beaconing hosts) | Direct evidence of attacker activity | Coordinate with forensics so the install does not overwrite evidence |
| 5 | Internet-facing servers and VPN-adjacent systems | Likely initial access and re-entry points | Include Linux hosts, often missed |
| 6 | File servers and database servers holding crown-jewel data | Exfiltration and encryption targets | Watch performance on busy servers |
| 7 | Remaining servers, then workstations | Breadth for scoping and hunting | Use waves sized to what the team can triage |
- Inventory source: build the target list from more than one source (directory computer objects, DHCP leases, hypervisor inventories, cloud APIs, network scans), because the asset register is usually incomplete. Mark which source found each host.
- Policy profile: agree an incident policy with logging and telemetry at maximum, automated prevention and remediation off or limited to known-bad, and network isolation available but manual.
- Exclusions: start with none beyond those the vendor requires for stability. Exclusions copied from the old product may include paths the attacker uses. See the EDR Tuning and Exclusions Management Guide.
- Licensing and access: confirm who owns the tenant (you or the retained responder), who has admin rights and how the data will be handled after the incident.
Deployment methods
Every common deployment channel is also an attacker technique. The question is not which channel is safest in general, but which one you can verify right now.
| Channel | Speed and reach | Risk if compromised | Checks before use |
|---|---|---|---|
| Group Policy (software installation or startup script) | Fast for domain-joined Windows; follows normal refresh cycles | Attackers modify GPOs to push their own payloads (T1484.001) | Review recent GPO changes and delegation; create a new GPO with a new admin account; record its GUID |
| Endpoint management platform | Fast, good reporting, covers non-domain devices | Software Deployment Tools abuse (T1072): an attacker with console access sees and can alter deployments | Review admin role assignments and recent deployments; use a newly issued admin credential with MFA |
| Remote monitoring and management (RMM) | Fast across many sites | RMM is a common attacker tool (T1219) and a supply chain risk; see the ConnectWise ScreenConnect Hardening Guide and Kaseya VSA Hardening Guide | Confirm with the provider that the instance is clean; check for unknown technicians and scripts |
| Remote services (scripted install over SMB, WinRM or SSH) | Flexible, works without management tooling | Uses the same Remote Services techniques as the attacker (T1021); credentials may be captured on compromised hosts | Use a dedicated, time-limited account; never a domain admin account typed into suspect hosts |
| Cloud instance management (agent extensions, user data, images) | Fast for cloud workloads at scale | Cloud admin roles may be compromised; see the Cloud Incident Response Guide | Check recent role assignments and access keys before use |
| Manual install by hand or USB | Slow; for isolated or critical hosts only | Low channel risk, high effort | Verify installer hash; log who installed where |
Phased rollout
- Prepare the channel. Pick the channel you can verify, issue new deployment credentials, and confirm installer integrity by hash against the vendor's published value.
- Pilot. Install on two or three representative hosts, including one domain controller if it can be done safely. Check stability, telemetry arriving in the console and that no automated action fires.
- Wave 1: priority 1 to 3 hosts within hours, monitored live by an analyst.
- Wave 2: known-bad and internet-facing hosts, coordinated with forensic collection.
- Wave 3: the remaining estate in batches the SOC can triage.
- Switch on prevention only when the incident lead approves containment, so that blocking and isolation happen as one coordinated action.
- Roll back if an agent destabilises a critical server: uninstall from that host only, record the gap, and cover it with alternative telemetry (memory capture, log forwarding) until resolved.
Operational security
The joint advisory on uncovering and remediating malicious activity tells responders to use mitigation steps that avoid revealing to the adversary that they have been discovered, and the #StopRansomware Guide warns that an uncoordinated response can cause actors to move laterally to preserve their access. For EDR rollout that means:
- Coordinate out of band: do not discuss the deployment over corporate email or chat that may be monitored. Use the channel set up for the response. See M1060 Out-of-Band Communications Channel.
- Do not touch attacker infrastructure: the advisory lists pinging, DNS lookups and browsing to attacker hosts as common mistakes that tip off the actor. Look up indicators through threat intelligence services instead.
- Hold back automated response: a new agent that quarantines a tool or kills a process announces itself. Run in detect-only mode until containment is approved.
- Avoid preemptive resets and blocks: the advisory warns that attackers often hold several credentials and can cheaply switch command and control. Save credential resets and blocking for the coordinated containment step.
- Protect deployment credentials: use new accounts with MFA, scoped only to deployment, and disable them afterwards. Typing a privileged password into a compromised host hands it over.
- Watch for reaction: treat agent stops, uninstall attempts, new exclusions and driver loads after deployment as signs the attacker has noticed (Disable or Modify Tools, T1685). Have a decision ready on whether to contain immediately when that happens.
- Keep evidence intact: record the time of each install so analysts can separate responder activity from attacker activity in the timeline.
Where identity fits
A rapid rollout creates new privileged non-human identities: deployment service accounts, API keys for the EDR console and tokens for the retained responder. Give each a named owner and an expiry date, keep them out of the compromised directory where possible, and revoke them when the incident closes. Check for break-glass access if the directory itself is suspect. See the Break-Glass Account Guide and the Active Directory Domain Compromise Response Playbook.
Coverage and gaps
Keep one coverage tracker, owned by a named person, updated at least every few hours during the rollout.
| Field | Purpose |
|---|---|
| Host, OS, owner, priority group | Who and what it is |
| Discovery source | Shows which inventories missed it |
| Agent status (not started, installed, reporting, failed, unsupported) | Live coverage |
| Install time and channel | Separates responder activity from attacker activity |
| Forensic capture done (memory, triage package) | Evidence before change |
| Compensating telemetry for gaps | For appliances, OT and legacy systems that cannot run an agent |
Hosts that report in but are missing from every inventory deserve attention: they may be shadow IT or attacker-created systems. Hosts in the inventory that never report may be offline, broken or deliberately blocking the agent.
Metrics
- Priority 1 and 2 coverage (percentage reporting telemetry) and time to reach 100%.
- Overall coverage against the reconciled inventory, reported to the incident lead each cycle.
- Agent health: number of hosts that stopped reporting after install.
- Unknown hosts found: systems discovered by the agent or scans but not in any inventory.
- Time from deployment decision to first priority 1 telemetry.
Framework mapping
| Framework | Reference | How the rollout supports it |
|---|---|---|
| NIST CSF 2.0 | DE.CM-09 | Monitoring computing hardware, software and runtime environments |
| NIST CSF 2.0 | RS.AN-03, RS.AN-06 | Establishing what happened; recording investigation actions with integrity |
| NIST CSF 2.0 | RS.MI-01 | Coordinated containment once visibility is in place |
| NIST SP 800-53 Rev. 5 | IR-4, SI-4, CM-8 | Incident handling, system monitoring, component inventory |
| MITRE ATT&CK v20 | T1072, T1484.001, T1021, T1219 | Techniques that make deployment channels risky |
| MITRE ATT&CK v20 | T1685 (Defense Impairment, TA0112) | Attacker reaction to look for after the agent arrives |
Common failure patterns
- Pushing through a compromised console with an admin account the attacker already holds, giving them advance notice and a deployment path.
- Automated remediation left on, so the first wave quarantines attacker tools on a handful of hosts and the attacker moves to unprotected ones or speeds up encryption.
- Installing before collecting, overwriting the volatile evidence the advisory says to capture first.
- Coverage claimed from the console, not the inventory, so hosts that never received the agent are invisible.
- Linux, hypervisors and appliances forgotten, leaving the attacker a place to stay.
- Deployment accounts left active after the incident, creating new standing privilege.
Practitioner checklist
- Set up an out-of-band channel and a containment approval path before the first install.
- Build a reconciled host inventory from several sources and assign priority groups.
- Capture memory and triage data from priority 1 hosts before installing where feasible.
- Verify the chosen deployment channel and issue new, scoped deployment credentials with MFA.
- Verify installer hashes and pilot on a small set, including one domain controller.
- Deploy in detect-only mode with maximum telemetry and minimal exclusions.
- Track coverage, agent health and unknown hosts in one owned tracker.
- Alert on agent stops, uninstalls and exclusion changes after deployment.
- Enable prevention as part of the coordinated containment step.
- Disable deployment accounts and review the EDR policy when the incident closes.
Standards and references
- CISA: #StopRansomware Guide
- Canadian Centre for Cyber Security: Technical Approaches to Uncovering and Remediating Malicious Activity (joint advisory)
- NIST: SP 800-61 Rev. 3 Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- NCSC: Incident management
- NCSC: What to do when cyber attacks disrupt your organisation, immediate activities
- MITRE ATT&CK: Software Deployment Tools (T1072)
- MITRE ATT&CK: Group Policy Modification (T1484.001)
- MITRE ATT&CK: Disable or Modify Tools (T1685)
Related NHI Mgmt Group resources: Incident Response Guide · EDR Guide · Compromise Assessment Guide · Memory Forensics Guide · EDR Evasion and Defence Guide