A school's investigator seizes a member of staff's school-issued phone in a case about messages sent to a pupil. The phone is switched on and unlocked, messages keep arriving, and its user can wipe it remotely.
Digital forensics: copies, tools and where evidence hides
A document examiner never writes on a disputed will. She photographs it, works from the photographs, and can show that each one matches the original. Digital forensics applies the same discipline to disks, memory, networks and phones. No background is assumed. A security professional needs to know how an exact copy is made and proved, which kinds of analysis exist, and where on each device the traces are found.
By the end of this unit you will be able to:
- Put the four phases of the forensic process in order
- Explain how a write blocker and hashes prove a forensic copy is exact
- Choose between live and dead acquisition for a given system
- Tell apart media, memory, network, software and hardware analysis
- Name the artefacts found on computers, networks, mobile devices and in the cloud
The copy nobody could prove
An illustrative example
A housing association's IT officer copies a suspect's disk by plugging it into his own computer and dragging the folders across. The copy shows a deleted spreadsheet of tenants' bank details being moved to a private email account.
At the tribunal the other side's expert makes three points. The officer's computer wrote to the disk when it was connected. Deleted files were never copied. Nothing shows that the copy matches the original.
What three things should the copy have had to stand up?
Four phases of forensic work
Digital forensics is the application of science to identifying, collecting, examining and analysing data while keeping its and an unbroken . NIST's guide divides the work into four phases.
- Collection: identifying the possible sources of data, then acquiring the data from them in a way that preserves its integrity.
- Examination: processing large amounts of collected data, using tools to find and extract what is relevant, such as recovering deleted files or a phone backup.
- Analysis: drawing conclusions from the examined data, for example building a timeline that shows who did what and when.
- Reporting: presenting the results, the methods used and the alternative explanations considered.
Three disciplines run through every phase. Tools are tested before use, so the examiner knows they report data accurately and change nothing. are written, so that a second examiner following them would reach the same result. Every action is noted at the time. A finding that cannot be repeated, or a tool whose behaviour cannot be explained, will be attacked by the other side.
A forensic copy, and how it is proved exact
Examiners never work on the original. They work on a copy, and they must be able to prove the copy is exact.
A bit-stream image, also called a disk image or bit-for-bit copy, copies every unit of the storage, including empty space and space holding deleted files. A logical copy copies only the visible files and folders, so deleted material is missed. Forensic work uses an image wherever possible.
A write blocker sits between the original disk and the examiner's computer. It lets data be read and stops anything being written. Hardware are separate devices; software ones run on the examiner's computer.

A hardware write blocker is a separate small box between the original disk and the examiner's computer, letting data be read but stopping anything being written.
- 1Write blocker. Lets data be read from the disk and stops anything being written to it.
- 2Original disk. The evidence. Examiners never work on it directly.
- 3Data cable to the disk
Photograph: Portable forensic tableau by ErrantX, public domain. Cropped and resized.
A hash proves the copy matches. A turns any amount of data into a short fixed-length value, and changing a single bit of the data gives a completely different value. The examiner hashes the original before imaging and hashes the image afterwards. Matching values show the copy is exact. SHA-256 is the usual choice today. MD5 and SHA-1, named in older guidance, are no longer trusted against deliberate forgery.
Matching hashes prove a forensic copy is exact
Read this figure as text
Examiners never work on the original. They make a bit-stream image through a write blocker, prove it exact by hashing, and examine only a working copy.
- Before imaging, the examiner hashes the original disk. SHA-256 is the usual choice today.
- The original disk is read through a write blocker, which lets data be read and stops anything being written.
- What is read is copied into a bit-stream image: every unit of the storage, including empty space and space holding deleted files.
- After imaging, the examiner hashes the image.
- The two hash values must match. Changing a single bit gives a completely different value, so matching values show the copy is exact.
- The verified image is sealed and stored as evidence: the master copy.
- A working copy is made from the master and checked by hash. It is the only copy examined.
Two copies are normally kept. The master copy is sealed and stored as evidence. The working copy, made from the master and checked by hash, is the one examined.
Live or dead: when to copy a running system
Live acquisition collects data from a system while it is running. Dead acquisition collects data from a system that has been switched off, usually by removing the disk and imaging it through a write blocker.
| Point | Live acquisition | Dead acquisition |
|---|---|---|
| What it captures | Memory, running programs, open connections, unlocked disks | Everything stored on the disk |
| Effect on the system | Every tool run changes the system a little, so each step is noted | None, once power is off |
| Main risk | Malware on the system may hide or lie, so trusted tools are run from the examiner's own media | Memory is lost, and an encrypted disk may be locked for good |
| Choose it when | matters, the disk is encrypted, or the system cannot be stopped | The system is already off, or memory holds nothing of value |
Often the answer is both, in order: live collection of volatile data, then shutdown and a disk image. How to switch off is itself a choice. A normal shutdown tidies up temporary files and may trigger malware to erase its traces. Removing power keeps those files but can corrupt open ones. The examiner chooses by what matters most in the case.
Five kinds of forensic analysis
| Kind | What it examines | Typical question answered |
|---|---|---|
| Media analysis | Disks, memory sticks and other storage | Which files existed, and which were deleted or hidden? |
| Memory analysis | A capture of a computer's working memory | What was running, and what was it connected to? |
| Network analysis | captures, and network device logs | What crossed the network, between which machines? |
| Software analysis | Programs, especially malware, taken apart to see how they work | What does this program do, and who wrote it? |
| Hardware and embedded device analysis | Routers, cameras, printers, vehicles and other devices with built-in computers | Has the device's built-in software been changed? |
Media analysis looks beyond the visible files. Unallocated space is space the system marks as free; deleted files often remain there until overwritten. Slack space is the unused end of a storage unit given to a file. A 7 kilobyte (KB) file in a 32 KB unit leaves 25 KB that may hold fragments of older data. Both are reached only through a bit-stream image.
Steganography hides data inside other data, such as a message inside the colour values of a photograph, so that nobody suspects the message exists. Examiners look for it with tools that compare files with known originals or spot statistical oddities.
Artefacts: where the traces are
An artefact is a trace that activity leaves behind. Different places keep different artefacts.
| Source | Examples of artefacts |
|---|---|
| Data | Files and their : author, dates created, changed and last opened |
| Computer | Memory, , browser history, recently used files, devices plugged in, temporary files |
| Network | Packet captures, flow records, and proxy logs, sign-in records on servers |
| Mobile device | Messages, call logs, contacts, location history, photographs with their locations, app data |
Metadata is data about data, such as when a file was created and by which account. Flow records list which machines talked, when and how much, without the content.
Mobile devices must be cut off from every radio network as soon as they are seized, or new messages may overwrite evidence and a remote wipe may erase it. There are three methods: aeroplane mode, switching off, or a Faraday bag, a shielded pouch that blocks radio signals. Each has a drawback. Aeroplane mode means handling the phone; switching off may lock it behind a passcode; a badly sealed bag can still let a signal through.
Cloud services add limits. The examiner cannot touch the provider's hardware, data may sit in several countries, and one tenant's data shares machines with others. Evidence usually comes through the provider, under the contract or a legal order, so access to logs is agreed before an incident.
Worked example: Copying the housing association's disk properly
The suspect's desktop computer is switched off and has been sealed under chain of custody. Its disk is not encrypted.
- Choose the method. The computer is already off and the disk is unencrypted, so dead acquisition is right; there is no memory to lose.
- Protect the original. The examiner removes the disk and connects it to her workstation through a tested hardware write blocker.
- Hash, image, hash. She records the original's SHA-256 value, makes a bit-stream image, and hashes the image. The two values match and both go in her notes.
- Keep two copies. The image is sealed as the master; a working copy is made from it and checked by hash.
- Examine the working copy. The deleted spreadsheet is recovered from unallocated space with its metadata, and the browser history shows the private email account.
The other side can repeat the hash on the master and get the same value. The copy is exact, made without changing the original, and includes the deleted file.
A question, worked through
A law firm's investigator finds a partner's laptop running, with its disk protected by full-disk encryption. The partner is suspected of passing client files to a competitor and has left the building. Legal counsel has authorised collection.
Which action should the investigator take FIRST?
Decide on your answer, then open the reasoning
- The decisive facts are that the laptop is running and its disk is encrypted. Once it is off, the disk may be unreadable without the partner's password.
- Rule out d. Browsing the suspect system changes it and proves nothing about what was there before.
- Rule out b. A normal shutdown locks the encrypted disk and loses memory.
- Option c is a sound dead acquisition for an unencrypted disk, but here the image would be unreadable ciphertext.
- Live acquisition, from the examiner's own tools, captures memory and the readable data first. The answer is a.
Answer: A. Capture memory and unlocked disk data with trusted tools, then image
Choosing between good answers
- A question asks how to prove a copy is exact
- choose hashing the original and the copy and comparing the values, with a write blocker on the original.
- A running system has an encrypted disk or valuable memory
- choose live acquisition with trusted tools before any shutdown.
- Deleted or hidden data matters
- choose a bit-stream image, which includes unallocated and slack space, not a logical copy of files.
- A phone has just been seized
- choose isolating it from all radio networks at once, for example in a Faraday bag.
- Evidence sits with a cloud provider
- choose obtaining it through the provider under the contract or a legal order, not by direct seizure.
Try it
Decide between live and dead acquisition, then follow a disk from write blocker to matching hashes and a sealed master copy.
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
What to remember
- The forensic process runs collection, examination, analysis and reporting, with tested tools, written procedures and notes.
- A bit-stream image made through a write blocker, with matching hashes of original and image, proves an exact copy; the master is sealed and a working copy is examined.
- Live acquisition captures memory and unlocked data at some cost in change; dead acquisition images a switched-off disk without change.
- Media, memory, network, software and hardware analysis examine different sources; slack and unallocated space and steganography hide data.
- Artefacts come from data, computers, networks and mobile devices; phones are isolated at once, and cloud evidence comes through the provider.
Say it from memory
Which tools, tactics and procedures make digital forensic work trustworthy?
Four phases: collection, examination, analysis, reporting. Tested tools and written, repeatable procedures. A bit-stream image through a write blocker, proved by matching hashes, with a sealed master and a working copy. Live acquisition when memory or encryption matters, dead otherwise.
Give examples of data, computer, network and mobile device artefacts.
Data: files and their metadata. Computer: memory, event logs, browser history, devices plugged in. Network: packet captures, flow records, firewall and proxy logs. Mobile: messages, call logs, location history, app data, kept intact by isolating the device from radio networks.
Give the four phases of digital forensics in order, and the three disciplines that run through them.
Collection, examination, analysis and reporting. Tools are tested before use, so they report accurately and change nothing. Procedures are written, so a second examiner would reach the same result. Every action is noted at the time.
When a running system must be switched off after live collection, what does each way of switching off risk?
A normal shutdown tidies up temporary files and may trigger malware to erase its traces. Removing power keeps those files but can corrupt open ones. The examiner chooses by what matters most in the case.
What are unallocated space and slack space, and how are they reached?
Unallocated space is space the system marks as free, where deleted files often remain until overwritten. Slack space is the unused end of a storage unit given to a file, which may hold fragments of older data. Both are reached only through a bit-stream image.
Sources
- NIST SP 800-86: Integrating Forensic Techniques into Incident Response, NISTThe four phases of collection, examination, analysis and reporting; bit-stream imaging against logical backup; write blockers; message digests of original and copy; slack space and free space; steganography as embedding data within other data; and graceful shutdown against removing power.
- NIST SP 800-101 Rev. 1: Guidelines on Mobile Device Forensics, National Institute of Standards and TechnologyIsolating a seized mobile device from radio networks by aeroplane mode, switching off or a shielded container, and the drawbacks of each, including an improperly sealed Faraday container.
- NIST IR 8006: NIST Cloud Computing Forensic Science Challenges, National Institute of Standards and TechnologyCloud forensic challenges: multi-tenancy, data spread across jurisdictions, the inability to image everything, and reliance on providers as first responders.
- NIST Transitioning Away from SHA-1 for All Applications, National Institute of Standards and Technology, Computer Security Resource CenterNIST's plan to stop using SHA-1 for all applications by 31 December 2030 because of attacks on its collision resistance.
- RFC 6151: Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms, IETFMD5 is no longer acceptable where collision resistance is required.