Collecting evidence so that it can be trusted

8 min 5 sections 4 practice questions 4 sources citedISC2 objective 7.1

Police at a burglary photograph the broken window before anyone sweeps up the glass, and sign for every item they take away. Digital evidence needs the same care, and much of it vanishes far faster than glass. No background is assumed. A security professional makes sure evidence is collected with authority, in the right order, and accounted for at every moment. A court or a disciplinary panel can then rely on it.

By the end of this unit you will be able to:

  • Explain Locard's exchange principle and what it means for a computer
  • Name the duties of the first responder at a scene
  • Put the order of volatility in order, from most fragile to most lasting
  • Fill in a chain of custody record and explain why a gap matters
  • Name how evidence is stored between collection and use

The laptop that was tidied up

An illustrative example

A sales manager at a kitchen fitter is suspected of sending the customer list to a rival. Her laptop is still switched on at her desk when she is sent home.

A helpful colleague shuts the laptop down properly, copies a few files to a memory stick "to save time", and leaves the laptop in an unlocked drawer over the weekend. On Monday the company's lawyer asks for the evidence.

Which three actions have weakened the evidence, and what should have happened instead?

Every contact leaves a trace, on a computer too

A burglar who climbs through a window leaves fibres on the frame and carries glass dust away on his sleeve. Edmond Locard, a French pioneer of forensic science, gave this idea its name. Locard's exchange principle says that whenever two objects come into contact, material passes between them.

On a computer the exchange is of data rather than dust. An intruder who signs in leaves an entry in a log. A program that runs leaves traces in memory and on the disk. A file copied to a memory stick leaves a record of the stick being connected. The intruder's own computer keeps traces of the target, too.

Two consequences follow for an investigator. Traces almost always exist, so they are worth looking for. And the investigator also leaves traces: every command typed, every file opened and every program run on the suspect system changes it. Careless handling therefore destroys evidence and can also plant new data that the other side will call contamination.

Evidence is anything that tends to prove or disprove a fact in question. Digital evidence is evidence held in electronic form: files, logs, messages, the contents of memory.

Authority first, then the scene

Before anything is collected, someone with authority approves the investigation and its scope. Legal counsel advises on what may be collected and how, because an employee's private data or a third party's system may be off limits. Collecting without authority can make the evidence unusable and the collector liable.

The first responder is the first trained person to reach the scene. Their duties are few and strict.

  1. Secure the scene. Keep people away from the equipment and note who has already touched it.
  2. Record the scene as found: photographs of screens, cables and positions, with the time.
  3. Decide with the incident lead whether a running system stays running. Do not switch it off by reflex.
  4. Stop further change: disconnect the network if harm is continuing, and do not browse the files.
  5. Start written notes at once and hand over to the investigators.

Notes are contemporaneous: written at the time, not reconstructed afterwards. Each note gives the time, what was seen, what was done and who did it. Contemporaneous notes carry far more weight than memory, and an investigator may later read from them in court.

Collect what vanishes first: the order of volatility

Some evidence lasts for years and some for a fraction of a second. Volatility is how quickly data disappears. The order of volatility is the rule that the most fragile evidence is collected first. The list below follows the order given in RFC 3227, the Internet Engineering Task Force's for evidence collection.

The order of volatility, from gone in an instant to lasting for years
OrderWhat it isIn plain wordsHow long it lasts
1Registers and cacheTiny working stores inside the processor, the chip that runs instructionsBillionths of a second
2Routing table, cache, process table, kernel statistics, memoryThe live picture of running programs and network connections, and the computer's working memoryUntil power is lost
3Temporary file systemsScratch space that the system wipes on restartUntil restart
4DiskThe stored files, which survive power loss but change as the system runsDays to years, while use overwrites
5Remote and monitoring dataRecords about the system held on other machinesThe retention period
6Physical configuration and network layoutHow the equipment is cabled and connectedWeeks to months
7Archival mediaBackup tapes and archives kept elsewhereYears

The most fragile evidence is collected first

The most fragile evidence is collected firstSeven numbered rungs read top to bottom, following RFC 3227, each with how long it lasts. The first three, from registers and cache to temporary file systems, sit inside a frame headed erased by power loss.Erased by power loss1. Registers and cachebillionths of a second2. Memory and live tablesuntil power is lost3. Temporary file systemsuntil restart4. Diskdays to years, while use overwrites5. Remote logsthe retention period6. Physical configurationweeks to months7. Archival mediayearsThe most fragile evidence is collected firstSeven numbered rungs read top to bottom, following RFC 3227, each with how long it lasts. The first three, from registers and cache to temporary file systems, sit inside a frame headed erased by power loss.Erased by power loss1. Registers and cachebillionths of a second2. Memory and live tablesuntil power is lost3. Temporary file systemsuntil restart4. Diskdays to years, while use overwrites5. Remote logsthe retention period6. Physical configurationweeks to months7. Archival mediayears
Read this figure as text

The order of volatility, from RFC 3227: the most fragile evidence is collected first. Seven kinds of evidence are numbered in collection order, each with how long it lasts.

  1. 1. Registers and cache, the tiny working stores inside the processor: billionths of a second.
  2. 2. Memory and the live tables: the routing table, ARP cache, process table, kernel statistics and working memory, the live picture of running programs and network connections. They last until power is lost.
  3. 3. Temporary file systems, scratch space the system wipes on restart: until restart.
  4. These first three sit inside a frame headed erased by power loss. Switching the computer off destroys them, including the attacker's running tools, open connections and keys held in memory.
  5. 4. Disk, the stored files: days to years, while use overwrites them.
  6. 5. Remote logging and monitoring data held on other machines: the retention period.
  7. 6. Physical configuration and network layout, how the equipment is cabled and connected: weeks to months.
  8. 7. Archival media, backup tapes and archives kept elsewhere: years.

This is why a running computer is not switched off by reflex. Power loss erases everything in the first three rungs, including the attacker's running tools, open network connections and held in memory. RFC 3227 advises against shutting a system down until evidence collection is complete, and against trusting programs on the suspect system itself.

Chain of custody: who held it, every minute

A parcel courier scans a parcel at every handover, so the sender can see where it was at every moment. The chain of custody does the same for evidence: an unbroken written record of who collected each item, who held it afterwards, when, where and why. A gap lets the other side argue that the item was changed or swapped.

Each item gets a unique number and is sealed in a bag with a tamper-evident seal, which shows if it has been opened. The record identifies the item precisely: make, model, serial number, the computer's name and network addresses. Every transfer is entered and signed by both people.

A chain of custody record for one item, filled in
Date and timeReleased byReceived byPurposeWhere held
14 Mar 10:12 GMTCollected at desk 4B by R. Shah, IT securityR. ShahSeized from the sales officeSealed bag, seal 00417
14 Mar 10:40 GMTR. ShahL. Moyo, evidence officerPlaced in storageEvidence locker 2
15 Mar 09:05 GMTL. MoyoT. Evans, forensic examinerDisk to be copiedForensic laboratory
15 Mar 16:30 GMTT. EvansL. MoyoReturned after copying, seal 00418Evidence locker 2

The time zone is written with every time, because evidence often crosses systems and countries. Examiners work on copies, so the original is handled as few times as possible.

Storing evidence until it is needed

Evidence may wait months or years for a hearing. Storage must keep it unchanged and prove that nobody touched it.

  • A locked room or safe with access limited to named evidence staff, and a log of every entry.
  • Tamper-evident seals on every bag, checked and recorded each time an item is moved.
  • Anti-static bags for disks and circuit boards, which a spark of static electricity can damage.
  • A cool, dry place away from magnets and heat, which can damage .
  • Copies kept apart from originals, so one fire or flood cannot destroy both.
  • A retention decision: evidence is kept until the case and any appeal have ended, then returned or destroyed under the .

Common misconception

“Copying the important files to a memory stick is a quick way to save the evidence.”

An ordinary copy changes the original's record of when files were last opened, misses deleted data and proves nothing about the source. Evidence is copied with forensic methods that are verified, recorded and repeatable.

Authority, then the scene. Most fragile first. Sign at every handover. Seal, lock and log.

Worked example: The kitchen fitter's laptop, handled properly

The sales manager's laptop is running at her desk. The company's lawyer has approved collection of company equipment only.

  1. Secure and record. The IT security officer keeps people away, photographs the screen and the cables, and notes the time with its time zone.
  2. Decide on the live system. The laptop is running and may hold evidence in memory, so it stays on. A forensic examiner is called rather than anyone browsing the files.
  3. Collect in order of volatility. The examiner captures the contents of memory first with a tested tool run from her own media, noting each command. Only then is the laptop shut down for the disk to be copied.
  4. Account for it. The laptop is bagged, sealed and numbered, and the custody record is signed at each handover.
  5. Store it. The laptop goes to the locked evidence cupboard, logged in and out, until the disciplinary hearing and any tribunal are over.

Memory, disk and paperwork all survive challenge, because each step was authorised, recorded and done in the right order.

A question, worked through

A university's security team has authority to investigate a staff member's running office computer, suspected of sending research data abroad. The computer's network cable has been unplugged and photographs taken. The central log server holds a year of the computer's logs, and last month's backup tapes are offsite.

Which evidence should be collected FIRST?

  1. The contents of the computer's working memory
  2. A complete forensic copy of the computer's disk
  3. The computer's records on the central log server
  4. Last month's backup tapes held at the offsite store
Decide on your answer, then open the reasoning
  1. The question is about order. The rule is the order of volatility: the most fragile evidence first.
  2. Rule out d. Archival media sit at the bottom of the ladder and will last for years.
  3. Rule out c. Remote logs are held on another system for a year and are not at risk this hour.
  4. Options a and b are both on the running computer. The disk survives power loss; memory does not.
  5. Memory is lost the moment the computer loses power and changes every second it runs. The answer is a.

Answer: A. The contents of the computer's working memory

Choosing between good answers

A question asks what to collect first
choose the most volatile source still available: processor state and memory before temporary files, disk, remote logs, layout and archives.
A running system holds evidence
choose keeping it running and capturing volatile data with trusted tools before any shutdown, unless continuing harm or danger forces otherwise.
Evidence passed between people without a record
the chain of custody is broken, and the evidence's reliability can be attacked.
Someone offers to look through the files on the suspect computer
reject it. Every action changes the system; work is done on verified copies.
Collection has not yet been authorised
choose obtaining authority and legal advice first, while securing the scene.

Try it

Choose what to collect first from a running computer, and keep the custody record unbroken from the desk to the evidence locker.

Loading the preview.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

A forensic examiner has authority to collect evidence from a running web server suspected of compromise. All six sources below are available to her.

Put the sources in the order the examiner should collect them.

Put the steps in order with the buttons beside each one. The whole order has to be right.

  1. 1Running processes, network connections and memory
  2. 2The processor's registers and cache
  3. 3The temporary file system that is wiped on restart
  4. 4The server's records held on the remote log server
  5. 5The server's disk
  6. 6Last month's backup tapes in the archive

What to remember

  • Locard's exchange principle says contact leaves traces both ways; investigators leave traces too, so they disturb the system as little as possible.
  • The first responder secures and records the scene, does not switch off by reflex, stops further change and keeps contemporaneous notes.
  • RFC 3227's order of volatility runs registers and cache, memory and live tables, temporary files, disk, remote logs, physical layout, archives.
  • The chain of custody records every handover of every item with times, names, purpose and location; a gap invites a challenge.
  • Evidence is sealed, locked away with an access log, protected from static, heat and magnets, and kept until the case ends.

Say it from memory

  1. How is evidence collected and handled so that it can be trusted?

    With authority and legal advice first. The first responder secures and records the scene. Evidence is collected in order of volatility, from registers and memory to archives, with trusted tools and contemporaneous notes. Each item is sealed, numbered and tracked by a chain of custody, and stored locked with an access log.

    Read this part again

  2. What does Locard's exchange principle say, and what two consequences follow for a digital investigator?

    Whenever two objects come into contact, material passes between them; on a computer, data is exchanged. Traces almost always exist, so they are worth looking for. The investigator also leaves traces, so careless handling destroys evidence and can plant data the other side will call contamination.

    Read this part again

  3. In order, what are the first responder's duties at the scene?

    Secure the scene and note who has already touched the equipment. Record the scene as found, with photographs and the time. Decide with the incident lead whether a running system stays running. Stop further change without browsing the files. Start written notes at once and hand over to the investigators.

    Read this part again

  4. Give the order of volatility from RFC 3227, most fragile first.

    Registers and cache. Then routing table, ARP cache, process table, kernel statistics and memory. Then temporary file systems. Then disk. Then remote logging and monitoring data. Then physical configuration and network layout. Last, archival media.

    Read this part again

  5. What is a chain of custody, and what does each entry record?

    An unbroken written record of who collected each item, who held it afterwards, when, where and why. Each item has a unique number and a tamper-evident seal. Every transfer is entered with the time and its time zone, and signed by both people. A gap lets the other side argue the item was changed or swapped.

    Read this part again

  6. How is evidence stored until a hearing, and when does storage end?

    In a locked room or safe limited to named evidence staff, with every entry logged. Seals are checked and recorded at each move, disks go in anti-static bags, and items are kept cool and dry away from magnets and heat. Copies are kept apart from originals. Evidence is kept until the case and any appeal end, then returned or destroyed under the policy.

    Read this part again

Sources