Before
- Copy useful-looking files
- Normalize the original log
- Treat matching hashes as proof of trust
Module 3 of 17
Preserve trustworthy evidence and document every transformation before drawing a conclusion.
Start here
Before
After
Collection is not a contest to gather everything. Start with the incident decision: Do we need to contain a host, determine affected identities, validate a release, restore a service, or preserve material for a formal investigation? The decision defines which evidence is relevant and how quickly it is needed.
Collect only within authority. Coordinate with incident response, legal, privacy, and system owners when the evidence could include personal information, customer data, employee activity, credentials, or regulated records. A technically complete collection can still be operationally harmful if it expands access unnecessarily.
Some evidence changes quickly: running processes, active connections, memory-resident data, temporary files, and short-retention logs. Other evidence persists longer: signed release manifests, version-control history, package lockfiles, immutable audit logs, disk images, and backups. Prioritize volatile evidence only when collecting it is authorised, necessary, and unlikely to cause greater harm.
Authority matters as much as volatility. A screenshot may be useful for orientation but weaker than an exported event with a stable identifier and source metadata. A local timestamp may disagree with a central log because clocks drift. Keep both observations; do not silently replace the inconvenient one.
| Source | Useful for | Important limitation |
|---|---|---|
| Process and service events | Execution sequence and parent-child relationships | Coverage depends on sensor policy and retention |
| Package lockfile and provenance | Expected dependency identity and build inputs | Does not prove the deployed bytes match without verification |
| Central identity audit | Account use and control-plane changes | Time and field semantics vary by provider |
| File metadata and hash | Identity comparison and triage | Metadata may change; a hash says nothing about intent |
Provenance answers where an item came from and how it was produced. Chain of custody records who handled it, when, why, where it was stored, and which authorised transformation occurred. Both are needed for reproducibility. The course manifest records a stable artifact ID, descriptive name, source, acquisition time, collector, original hash, size, storage location, handling events, derivative IDs, and notes.
Work on a verified copy and preserve the supplied original read-only. A decompressed log, normalized timestamp file, parsed table, or screenshot is a derivative. Give it a new identifier and record the tool, version, configuration, input ID, output hash, and time. Never overwrite the source to make it easier to read.
A cryptographic hash helps detect whether the bytes changed. It does not establish that the bytes are safe, truthful, complete, or collected lawfully. Signatures and provenance claims also need trust-policy validation: which identity signed, whether the certificate or key was valid under policy, and whether the subject describes the artifact being reviewed.
Normalize times for comparison but preserve the original value, time zone, precision, and source. Record known clock offset rather than silently correcting it. If one source reports seconds and another reports milliseconds, do not invent precision. Events with the same displayed time may still have an unknown order.
A useful timeline row contains event ID, normalized time, original time, source, asset, identity, action, object, evidence reference, confidence, and analyst note. Separate the event from the interpretation. “Process A created file B” can be an event; “this established persistence” is an interpretation that needs additional evidence and is outside the safe behavior implemented by course fixtures.
Another authorised engineer should be able to reproduce the transformation and arrive at the same output hash or explain why the source is inherently variable. Pin tool versions, keep commands or UI steps, record filters, and retain schemas. Validate a sample manually so automation does not turn a parsing mistake into a confident timeline.
In production, route investigation data into access-controlled case storage with retention, audit, and deletion policies. Do not paste real artifacts, secrets, or customer data into course notes, public repositories, tickets with broad access, or external AI services.
The published duration includes active practice, not video playback alone. Complete each block with the course-owned evidence and retain the stated deliverable so another reviewer can reproduce your reasoning.
| Study block | Time | Required evidence |
|---|---|---|
| Guided lesson and primary-source review | 1h 12m | Annotated notes that separate observations, hypotheses, limits, and version-sensitive facts. |
| Worked evidence walkthroughs | 1 hour | Reproduce the lesson's tables or decision flow and challenge at least two assumptions. |
| Independent practice rounds | 1 hour | Apply the method to two alternate records in the sanitized evidence pack and compare the conclusions. |
| Required lab | 2 hours | A verified evidence manifest, custody log, derivative record, and source-linked timeline with explicit clock uncertainty and no modified originals. |
| Knowledge check and review | 48 minutes | Answer the evidence check, review the rubric, and record one production follow-up. |
Question: Two copies of an evidence file have the same SHA-256 hash. What can the investigator conclude?
The copies contain the same bytes with overwhelming practical confidence under the chosen hash. The hash alone does not prove the bytes are safe, complete, authentic, lawfully collected, or correctly interpreted. Those conclusions require provenance, authority, source context, and validation.
Use these primary sources for the current standard or tool behavior. The course records framework versions so mappings can be reviewed when upstream guidance changes.
Real world
Production notes
Common mistakes
Security risks
Tradeoffs
Pros
Cons
Pros
Cons
Think like an engineer
Key terms
The documented origin and production history of an artifact or dataset.
The record of possession, handling, storage, and authorised transformation of evidence.
A new item created from evidence by parsing, normalizing, filtering, extracting, or another documented transformation.
How quickly a source can change or disappear.
The measured or estimated difference between a source clock and a reference clock.
Exercises
Verify inert course fixtures, document their provenance, create a derivative, and produce a timeline that exposes uncertainty.
Expected evidence
A verified evidence manifest, custody log, derivative record, and source-linked timeline with explicit clock uncertainty and no modified originals.
Assessment criteria
Course-owned resources
Teardown
Recap
Related resources