Skip to content

September 21, 2026 · Evidence Handling Workflows

Preserving Evidence During Incident Response

Evidence preservation during incident response requires collecting the most volatile data first, documenting all major decisions in real time, and planning for custody transfer to investigation before the incident begins. The tension between containing a threat and preserving evidence for investigation is not fully reconcilable—only navigable through advance legal counsel and written decision protocols.

Preserving Evidence During Incident Response

Evidence preservation during incident response means collecting digital data from a system under active threat in a sequence that captures volatile data before it is lost, while documenting the who, what, when, and why of every collection decision so that the evidence can later be transferred to legal counsel or a forensic examiner without breaking the chain of custody. The core challenge is that this work happens in real time, under operational pressure, often before anyone knows whether the incident will result in litigation, regulatory investigation, or criminal referral—and before legal counsel is fully engaged.

The Containment-Evidence Preservation Tension

Incident response has two often-conflicting objectives: contain the threat and preserve evidence. Containment typically means isolating a system—disconnecting it from the network, stopping services, or in extreme cases powering it down. Each of these actions stops the spread of the incident. But each also stops the loss of volatile data like the process table, network connections, and the contents of RAM. This is a real tension, not a rhetorical one.

NIST guidance explicitly acknowledges it. Organizations are advised to develop incident response guidelines in consultation with legal counsel and to ensure that "all major decision-making points are documented and proper courses of action are defined for consistent decisions." [3] The decisions that matter are the ones made in the first hour: whether to pull the plug immediately, whether to collect running-system data first, whether to continue normal operations to gather forensic metadata, and at what point to notify legal counsel or law enforcement.

The tension cannot be eliminated. It can only be managed through advance planning and through clear authority to make real-time choices. If your incident response policy requires legal sign-off before any containment action, you will lose volatile evidence. If your policy requires forensic collection before any containment, you risk malware propagation. The answer is neither—it is a decision protocol written in advance, with legal counsel at the table, that specifies what is collected in what sequence under what threat conditions, and who has authority to deviate.

Order of Volatility as a Decision Framework

The order of volatility is a hierarchy of data loss rates. It tells you what to collect first because it will be gone first. [4] The scale runs from most to least volatile:

  1. Cache and registers (seconds)
  2. Routing tables, ARP cache, process table
  3. Kernel statistics and modules
  4. Main memory (RAM) (minutes)
  5. Temporary file system
  6. Secondary memory (disk) (hours to indefinite)
  7. Router configuration
  8. Network topology (indefinite)

This is not a suggestion. It is a fact about how computing systems work. If you shut down a system before acquiring RAM, you have lost the running processes, network connections, and in-memory artifacts that will never exist on disk. If you collect disk first and then RAM, you have altered the system state and may have lost the evidence that established what was running at the moment of first response.

The order of volatility is also not a prosecution tool or a defense tool—it is a roadmap. Using it forces you to decide, before the incident, what data matters most and in what sequence you will collect it under different scenarios (suspected malware still running vs. suspected data theft vs. suspected insider activity). This decision-making, done in advance and documented in your incident response procedures, is itself evidence of competent incident handling.

Capturing Volatile Data from Running Systems

Live forensics is the collection of digital evidence from systems that are still running and potentially still under attack. [5] The methodologies for doing this exist—memory acquisition tools, network analysis capture, process enumeration, open file lists, network connection dumps, registry snapshots—but they come with constraints.

First, using any tool to acquire data from a running system is itself a change to that system. A memory acquisition tool consumes CPU and disk I/O. It may cause the incident to accelerate or the malware to detect interference and delete evidence. Running a forensic command on a compromised system adds the command itself to the process table and may alter the file system.

Second, the tools must be trustworthy. If you run an untrusted executable on a system that may be compromised, you have not preserved evidence—you have contaminated it. The standard practice is to stage forensic tools on external media and run them from a read-only source, or to bring in portable forensic collection systems that do not depend on executables running on the target system.

Third, the data collected must be immediately protected. The integrity of memory acquired from a live system rests on a hash that is calculated at the moment of acquisition and then verified whenever the evidence is accessed. That hash is tamper-evident—if the evidence is altered, the hash will change and the alteration will be detected. But it cannot prevent alteration. Once evidence leaves the control of the incident responder, it must be immediately transferred to a documented chain of custody that accounts for every access and every person who had control of it.

Planning for the Legal Handoff

NIST guidance states that organizations should "include technical experts and legal advisors in the development of guidelines and procedures." [3] This is not an empty recommendation. It means legal counsel sits down with incident responders before any incident and decides:

  • Under what conditions will evidence be preserved (all incidents, or only those suspected of involving crime or regulatory violation)?
  • Who will be notified first—management, counsel, law enforcement, or regulators?
  • What data will be collected and in what order?
  • Who owns the evidence once it is collected—IT, legal, forensics, or law enforcement?
  • How will evidence be transferred to outside counsel or a forensic examiner?

These decisions are not litigation-driven. They are incident-response-driven. But they determine whether the evidence collected by an IT responder in the first hour can be used by counsel, by a regulator, or by law enforcement three months later.

Swiftness here matters. SWGDE guidance states that "clear communication between the examiner and stakeholders is paramount in preparing for the seizure, acquisition, and analysis of digital evidence," and that examiners should include "details of the investigation, the nature and scope of potential evidence, and unique constraints that may impact acquisition." [6] In incident response, the examiner is the on-call responder and the stakeholders are the legal team. If they have not communicated before the incident, they will not communicate clearly during it.

Documenting the Decision Process

Evidence preservation during incident response lives or dies on documentation. The responder must record:

  • The decision: What data was collected and why?
  • The sequence: In what order was collection done and why was that sequence chosen?
  • The tools used: What software, scripts, or utilities were run on the system?
  • The time: When was each action taken, in a documented time standard (UTC, system time, or both)?
  • The person: Who performed the action and under what authority?
  • The rationale for deviation: If the decision protocol was altered (e.g., "We pulled the plug because the malware was exfiltrating data in real time"), why?

This is not hindsight documentation. It is contemporaneous documentation—notes taken during the incident, time-stamped, clear enough that a person who was not present can understand what was done and why. A forensic examiner or an attorney reviewing the incident three months later will rely on this record to understand whether the evidence can be trusted and whether its provenance is clear.

An illustrative incident: A responder detects suspicious process activity on a financial server [illustrative]. The incident response decision protocol says that before any live forensics, the responder must notify legal counsel. The responder calls the on-call attorney, who says "preserve everything, do not contain." The responder then uses a memory acquisition tool to capture RAM to external USB media, documents the hash of the image, documents the command used, documents the time, documents the system state before and after acquisition, and transfers the USB media to a forensic examiner with a signed transfer form. A month later, when opposing counsel challenges the evidence, the chain of custody is complete—not because it is perfect, but because every step was documented and can be explained.

Chain of Custody from Incident Response Through Investigation

Chain of custody begins the moment the first byte of evidence is collected—not when it arrives at a forensic lab. The person who collects the evidence owns it until they transfer it to another person, and that transfer must be documented.

In incident response, the initial chain of custody is often maintained in a handwritten notebook or a system log file. It must be transferred to a formal chain-of-custody form the moment evidence leaves the incident responder's control. That form must include: the identifier of the evidence (the hash of a memory image, the serial number of a device, or a case-specific identifier), a description of what it is, who collected it, when, from what system, the condition in which it was received, and the signature of the person receiving it.

The person receiving the evidence owns it from that moment forward. If it is a forensic examiner, that examiner is responsible for storing it, documenting every access to it, maintaining the hash chain, and producing it unchanged when the time comes. If it is outside counsel, counsel is responsible for the same. If the evidence later goes to law enforcement or a regulator, the same custody responsibility transfers again.

Breaks in the chain are not fatal—the evidence may still be admissible, or it may not be, depending on what the break is and what a court decides. But a gap in the record of who had custody when, or what they did with it, will be challenged and will raise questions about the evidence's reliability. Incident responders often see this as a legal problem. It is also a practical problem: if you cannot explain how evidence was collected, preserved, and transferred, you cannot confidently rely on what it says.

Common questions

How is evidence preserved during a security incident?
Evidence is preserved by collecting digital data from affected systems in a sequence determined by the order of volatility—most volatile (memory, process tables, network connections) first, and least volatile (disk storage) last—while documenting each collection action contemporaneously, including what was collected, by whom, when, what tools were used, and why. [1][3][4] The responder must then transfer the evidence to legal counsel or a forensic examiner with a signed chain-of-custody form that accounts for every person who had control of the evidence. This work must be guided by an incident response procedure written in advance in consultation with legal counsel, because the decision to preserve evidence often conflicts with the decision to contain the threat, and that conflict must be resolved before the incident begins. [3]
What is the order of volatility?
The order of volatility is a hierarchy of how quickly digital evidence is lost or overwritten as a system continues to run. [4] From most volatile to least volatile, it is: cache and registers (seconds); routing tables, ARP cache, and process table (seconds to minutes); kernel statistics and modules; main memory or RAM (minutes); temporary file system; secondary storage or disk; router configuration; and network topology. [4] The order determines what must be collected first—data that will be gone in seconds must be captured before data that persists on disk. If a system is shut down before volatile data is captured, that data is permanently lost and cannot be recovered.
Does containing an incident destroy evidence?
Yes and no. Containing an incident typically means isolating the system—stopping it, disconnecting it from the network, or stopping the services running on it. This action halts the loss of volatile data like the running process list and network connections, which would otherwise disappear within minutes. But it also stops the collection of additional volatile data that can only be captured from a running system and would never be preserved on disk. [5] Whether containment destroys evidence depends on what evidence matters for the investigation—if the critical evidence is the identity of the process that was running, isolation preserves it; if the critical evidence is the real-time network traffic or system calls being made, containment prevents collection of that data. The decision must be made in advance through an incident response plan developed with legal counsel.
Who takes custody of incident data after the response ends?
Custody of incident data is transferred from the incident responder to whoever will be responsible for the investigation—typically legal counsel, a forensic examiner, law enforcement, or a regulator, depending on the nature of the incident and the organization's incident response plan. [3][6] The transfer must be documented on a chain-of-custody form signed by both the person giving the evidence and the person receiving it, and must identify the evidence by its hash, a description of what it is, when it was collected, and the condition in which it is transferred. [6] Once responsibility is transferred, the receiving party owns the evidence and is responsible for protecting it, documenting all access to it, and producing it unchanged when the investigation reaches the point where its contents are needed.

Sources

  1. [1] NIST Special Publication 800-61 Revision 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management: A CSF 2.0 Community Profile National Institute of Standards and Technology
  2. [2] NIST Special Publication (SP) 800-61 Rev. 3 - Official Landing Page National Institute of Standards and Technology
  3. [3] NIST Special Publication 800-86: Guide to Integrating Forensic Techniques into Incident Response National Institute of Standards and Technology
  4. [4] NIST IR 8428: Digital Forensics and Incident Response (DFIR) Framework for Operational Technology (OT) National Institute of Standards and Technology
  5. [5] NIST Digital Forensics and Incident Response (DFIR) Framework for Operational Technology (OT) - Official Publication Page National Institute of Standards and Technology
  6. [6] Best Practices for Computer Forensic Acquisition (SWGDE Standards) Scientific Working Group on Digital Evidence
  7. [7] Federal Rule of Evidence 901 — Authenticating or Identifying Evidence Legal Information Institute, Cornell Law School
  8. [8] NIST SP 800-86 — Guide to Integrating Forensic Techniques into Incident Response National Institute of Standards and Technology
  9. [9] Electronic Crime Scene Investigation: A Guide for First Responders, 2nd Edition National Institute of Justice, U.S. Department of Justice
  10. [10] NIST SP 800-101 Rev. 1 — Guidelines on Mobile Device Forensics National Institute of Standards and Technology
  11. [11] SWGDE Best Practices for Digital Evidence Collection Scientific Working Group on Digital Evidence
  12. [12] SWGDE Published Documents — Best Practices and Position Papers Scientific Working Group on Digital Evidence

CustodyTrack creates tamper-evident chain-of-custody records that any third party can verify. See how it works →

For this audience: Chain of Custody for Law Enforcement & Crime Labs