When the forensic platform itself is compromised, you lose two things at once: a tool that can run code on every endpoint it reaches, and the ability to prove that the evidence it collected is what it claims to be. Digital forensics and incident response (DFIR) platforms typically combine endpoint collectors with live response, cloud and log connectors, an evidence store, and a case management system holding notes, timelines and reports. Each part runs on privileged credentials, and each part produces records that may later be relied on by a court, a regulator, an insurer or an employment tribunal. This playbook is for incident responders, the DFIR platform owner, legal counsel and the evidence custodian. It covers how the incident shows up, triage, containment in priority order, how to re-validate evidence and reconstruct chain of custody, recovery and notification. Preventive hardening is covered in Securing the digital forensics, IR collection and case management tools itself; this page assumes the platform is already in trouble.
Key takeaways
- Stop remote execution first. A hijacked collector fleet is a ready-made remote execution channel across your estate, so disable live response and new collection jobs before anything else.
- Freeze the platform as evidence. Export audit logs, job history, collector configuration and evidence store metadata with hashes before rebuilding, or you cannot tell what the attacker touched.
- Evidence integrity is decided case by case. Compare every item's current hash with a record held outside the platform; items with no independent record are reclassified, not assumed clean.
- Chain of custody needs an honest gap statement. Document the compromise window, what you checked and what you cannot prove, rather than letting custody records imply an unbroken chain.
- Active cases change the order of work. Matters near disclosure, litigation or regulatory deadlines need legal counsel involved on day one.
What a DFIR platform compromise looks like
| Compromise point | What the attacker can do | ATT&CK v20 |
|---|---|---|
| Collector or agent management console | Push collection packages or live response commands to every enrolled endpoint | T1072 Software Deployment Tools |
| Analyst or admin accounts | Read every case, change roles, approve their own jobs | T1078 Valid Accounts |
| Cloud and log connectors | Use stored API keys, OAuth grants and service account keys to read cloud and SaaS tenants | T1552 Unsecured Credentials |
| Evidence store | Copy images and memory captures (often full of credentials and personal data), alter or delete items | T1565.001 Stored Data Manipulation, T1485 Data Destruction |
| Case management | Read findings, edit notes, timelines and reports, learn what the defenders know | T1565.001 Stored Data Manipulation |
| Managed DFIR provider access | Reach your platform through the provider's accounts or tooling | T1199 Trusted Relationship |
Triggers and triage
Typical triggers: collection jobs nobody scheduled, live response sessions outside case hours or against hosts with no open case, a new admin or API token, connector consents re-granted, evidence items deleted or re-uploaded, case notes edited by an unexpected account, or the platform appearing in another investigation's timeline.
- Is remote execution in play? Check job history for commands or packages pushed in the last 30 days that do not map to an open case.
- Which credentials did the platform hold? List connector secrets, collector enrolment keys, signing keys for collection packages and admin accounts.
- Which cases are active? Flag matters with legal, regulatory, insider or law enforcement involvement.
- Was the investigation itself the target? An attacker who reads case management learns which hosts you suspect, so assume the current incident's response plan is known.
- Is the provider involved? If a managed provider runs the platform, invoke the contract's incident clause and agree who leads.
Move coordination out of band: do not discuss the response in the case management system, the platform's chat integration or any mailbox the platform's connectors can read.
Preserve evidence first
The platform is now both a crime scene and an evidence container. Follow the order of volatility from RFC 3227: memory and running state of platform servers and collector hosts before disk, disk before remote logs.
- Platform audit log: export it in full to storage the platform's admins cannot write to, and hash the export.
- Job and session history: every collection job, live response session, package hash and target list.
- Evidence store metadata: item list with hashes, sizes, upload accounts and timestamps, plus storage-layer access logs and object versioning or retention state.
- Configuration: roles, connector definitions, collector policies, package signing settings.
- Do not trust the platform's own tooling to examine itself: RFC 3227 advises running collection tools from protected media rather than trusting programs on the system. Use a separate, known-good toolkit on the platform servers.
Record each step with who, when and how, using the Chain of Custody Form Template.
Containment in priority order
- Disable live response and job dispatch at the server, and block collector-to-server traffic at the network if the console cannot be trusted. Expect a loss of visibility: plan alternative collection for the incident in progress.
- Revoke collector enrolment and package signing keys so the attacker cannot sign or push new packages; re-enrol agents later from a clean server.
- Rotate connector credentials at the source: revoke OAuth grants, delete and reissue API keys and cloud service account keys in the target tenants, not just in the platform.
- Disable all platform accounts except a named response group, reset with phishing-resistant MFA, and revoke sessions and API tokens.
- Lock the evidence store: set it read-only, enable or extend retention locks, and snapshot it.
- Hunt the endpoints that received unexplained jobs, treating them as potentially compromised through the tool.
Evidence integrity: what can you still trust?
RFC 3227 recommends generating checksums and cryptographically signing collected evidence where feasible. That is what makes re-validation possible: compare each item's current hash with a record that lived outside the platform during the compromise window.
| Tier | Condition | Treatment |
|---|---|---|
| Verified | Hash matches an independent record (signed manifest, external custody log, ticket, write-once store) made at acquisition | Usable; note the verification date and method |
| Verified, exposure only | Hash matches but item was readable by the attacker | Usable for integrity; treat as a data exposure for notification |
| Unverifiable | Only record of the hash is inside the compromised platform | Re-acquire from source if it still exists; otherwise use for leads only, with a written caveat |
| Contradicted | Hash differs, item missing, or upload account or time is inconsistent | Quarantine as evidence of the attack; re-acquire from source |
Analysis outputs deserve the same scrutiny. Case notes, timelines and reports edited during the window are compared against exported copies, email circulation or document management versions. Where tool output itself may have been tampered with (a modified parser or collection package), re-run analysis on verified evidence using a toolkit validated against reference data; NIST's Computer Forensics Tool Testing programme publishes test methods and reports for areas such as disk imaging and write blocking. Also see the Anti-Forensics Detection Guide.
Reconstructing chain of custody
RFC 3227 lists what custody documentation must show: where, when and by whom evidence was discovered, collected, handled and examined; who held it, for how long and how it was stored; and when and how custody passed. ISO/IEC 27037 covers the identification, collection, acquisition and preservation of digital evidence. After a platform compromise the custody record has a hole, and the defensible move is to describe it.
- Define the compromise window from the earliest attacker activity to containment, with the evidence for each boundary.
- Write a custody gap statement per affected case: items affected, verification tier, who had access, what checks were done, and what cannot be shown.
- Re-sign verified items into a new custody record on the rebuilt platform, linked to the original.
- Keep the original records unchanged; never edit old custody entries to look continuous.
- Have the custodian and counsel sign the statement before evidence is disclosed or relied on.
For the principles and routine procedure, see the Evidence Handling and Chain of Custody Guide and ACPO Principles for Digital Evidence.
Where identity fits
Most of the platform's reach comes from non-human identities, and most of the clean-up is identity work. Build the inventory from the platform configuration and from each target system, because the two lists rarely match.
| Identity | Where it lives | Response action |
|---|---|---|
| Collector enrolment key or agent certificate | Platform server, agent installers, software distribution | Revoke, reissue from the rebuilt server, retire old installers |
| Collection package signing key | Platform server or signing service | Revoke and reissue; reject packages signed before containment |
| Cloud and SaaS connector credentials | Connector settings, target tenant app registrations | Revoke at the source, review the tenant's audit log for their use during the window |
| Directory service accounts for host lookup | Platform configuration, directory | Reset, scope down, check for logons from unexpected hosts |
| Evidence storage access keys | Platform, storage account | Rotate, confirm retention lock cannot be changed by the new key |
Check each target tenant's audit log for activity by connector identities during the compromise window: reads by a forensic connector outside an open case are the attacker using your investigation access. See the Cloud Incident Response Guide for tenant-side log sources.
Decision guidance
| Situation | Option A | Option B | Choose A when |
|---|---|---|---|
| Platform recovery | Rebuild from clean media and re-import verified evidence | Clean in place | Server-level or admin compromise is confirmed or cannot be ruled out (the usual case) |
| Collector fleet | Uninstall and re-enrol from new server | Rotate keys and keep agents | Packages or agent binaries may have been altered |
| Ongoing incident | Switch to an independent toolkit or retained provider | Continue on the rebuilt platform | The rebuild will take longer than the incident can wait |
| Unverifiable evidence | Re-acquire from source | Use with caveat | The source still exists and the matter may go to litigation or a regulator |
Small teams often run a single server with shared admin; keep a retainer with an external provider and an offline toolkit so the response does not depend on the platform. Large or regulated organisations should separate evidence store administration from platform administration so one compromised role cannot both alter evidence and its record.
Recovery and notification
- Rebuild: new servers from verified media, new signing and enrolment keys, connectors re-consented with least privilege, admin roles reissued, and alerting on job dispatch and connector changes in place before reopening.
- Personal data: forensic images, mailboxes and memory captures usually contain personal data. Under UK GDPR and EU GDPR Article 33 a reportable personal data breach goes to the supervisory authority within 72 hours of becoming aware, where feasible; involve your data protection officer.
- Case stakeholders: tell counsel, and through them courts, regulators, law enforcement or opposing parties who received or rely on affected evidence. See Legal Privilege in Incident Response Guide.
- Contracts: customers or insurers whose investigations ran on the platform may be owed notice under contract.
Detection and measurement
- Jobs without a case: collection or live response jobs not linked to an open case (target: 0).
- Independent hash coverage: share of evidence items with a hash recorded outside the platform at acquisition (target: 100%).
- Connector credential age: connectors with secrets older than your rotation standard.
- Time to disable dispatch: minutes from decision to all job dispatch stopped, tested in exercises.
- Audit log delivery: platform audit events reaching a store DFIR admins cannot modify (target: 100%).
Common failure patterns
- Rebuilding before exporting: the audit log and job history are lost with the old servers.
- Rotating secrets only in the platform: the old connector keys still work in the cloud tenant.
- Hashes stored only next to the evidence: an attacker who can alter an item can alter its recorded hash.
- Coordinating in the case system: the attacker reads the response plan as it is written.
- Silent custody gaps: discovered later by the other side, they cost credibility on every item, not only the affected ones.
Framework mapping
| Activity | NIST CSF 2.0 | NIST SP 800-53 Rev. 5 |
|---|---|---|
| Preserve platform logs and evidence metadata | RS.AN-07 | AU-9, AU-11 |
| Record response actions with integrity | RS.AN-06 | AU-10 |
| Re-validate evidence and tool integrity | RS.AN-03 | SI-7 |
| Containment and coordination | RS.MA-01 | IR-4, AC-6 |
| Rebuild and evidence store protection | RC.RP-01, PR.DS-01 | SC-28 |
| Notification | RS.MA-01 | IR-6 |
NIST SP 800-61 Rev. 3 frames incident response through CSF 2.0, and NIST SP 800-86 covers integrating forensic techniques into it; see the NIST SP 800-86 Guide.
Practitioner checklist
- Live response and job dispatch disabled, collector traffic blocked if needed.
- Audit log, job history, configuration and evidence metadata exported and hashed to a separate store.
- Enrolment and package signing keys revoked and reissued.
- Connector credentials revoked at each source tenant, not only in the platform.
- Platform accounts reset to a named response group with phishing-resistant MFA.
- Evidence store locked read-only and snapshotted.
- Every evidence item assigned a verification tier against an independent hash record.
- Custody gap statement signed by the custodian and counsel for each affected case.
- Endpoints that received unexplained jobs hunted as compromised.
- Notification decisions recorded with the rule relied on.
Standards and references
- IETF: RFC 3227, Guidelines for Evidence Collection and Archiving
- NIST: SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- NIST: SP 800-86, Guide to Integrating Forensic Techniques into Incident Response
- ISO: ISO/IEC 27037, Guidelines for identification, collection, acquisition and preservation of digital evidence
- NIST: Computer Forensics Tool Testing Program
- NIST: SP 800-53 Rev. 5
- MITRE ATT&CK: T1072 Software Deployment Tools
Related NHI Mgmt Group resources: Securing the digital forensics, IR collection and case management tools itself · Evidence Handling and Chain of Custody Guide · Chain of Custody Form Template · Incident Response Guide