Skip to main content
DARKPC.NET

Write a Chain-of-Custody Log for a Practice Case

Record who handled a synthetic file, where it moved and what evidence supports each handover.

Difficulty Beginner

Prerequisites

Use two local practice directories and a text editor. Work only with a fictional artifact you created. This exercise describes documentation for a training case. Actual organisations may require signed forms and a designated evidence store.

Register the artifact

Create a harmless text file called LAB-014.txt. Start a log with the case reference, artifact ID, source, acquisition method, initial storage location and the name or lab role of the handler. Record timestamps with a time zone or in UTC. Hash the file with sha256sum and put the digest in the record.

2026-11-29T04:00:00Z | LAB-014 | trainer | registered synthetic original
2026-11-29T04:10:00Z | LAB-014-copy1 | trainer to reviewer | working copy provided

For a transfer, record the receiving role and how the receiving party verified the copy. Keep working copies distinguishable from the preserved source file.

Audit the record

Copy your fixture to a practice review directory and compare hashes. Add a retrieval entry and a return or storage entry. Have a reader reconstruct the order of events using only the log. If a digest changes after editing, record the difference as a changed working artifact, preserving the original record.

Troubleshooting and practice

If time formats differ, retain original timestamps with offsets and add a normalised UTC column for comparison. If an entry is wrong, add a correction with its own author, timestamp and reason. Run the exercise again with a missing handover acknowledgment and note exactly which assertion the log can no longer substantiate. Restrict access to real case logs and avoid sharing personal data or credentials.

References and related reading