Chapter 19 · Reading 1 of 3
Validating tools with known answers
CHFI domains 1, 4, 5, 6
The defense’s question about Parser A and Parser B is fair, and the academy can only answer it with evidence about the tools themselves. “It is an industry-standard tool” is an assertion. “We tested this version against data with known answers, here are the results, and here is the one limitation we found” is evidence.
Validation and verification
Two terms are often used loosely. Validation shows that a method or tool is fit for its purpose: that it produces correct results for the kinds of data the lab examines. Verification confirms that a validated tool still works as expected in this lab, on this version, before it is used on casework. Accredited labs, typically assessed against ISO/IEC 17025, must keep records of both. The Scientific Working Group on Digital Evidence (SWGDE) publishes guidance on how digital forensic labs test tools and methods.
The core technique is the known-answer test: build or obtain test data whose contents are documented exactly, run the tool on it, and compare the tool’s output with the documented answers. Differences are either tool errors or gaps in what the tool supports. Either way, the lab now knows about them before a case depends on them.
NIST’s testing programs
The U.S. National Institute of Standards and Technology runs two resources that labs use constantly.
- CFTT
- The Computer Forensics Tool Testing program writes specifications for tool functions, such as disk imaging, write blocking, deleted file recovery, file carving and mobile acquisition, and publishes test reports on specific tool versions, including the anomalies found.
- CFReDS
- The Computer Forensic Reference Data Sets portal hosts disk images, memory images, mobile data and scenarios with documented contents, which labs use as known-answer fixtures.
A CFTT report is evidence about one version under its test conditions. It does not validate a later version, a different setting or a file system the test did not cover. Labs therefore maintain their own fixtures as well, built from the artifacts they see most, and rerun them whenever a tool is updated.
Running the academy’s fixtures
| Fixture | Expected | Result | Outcome |
|---|---|---|---|
| image-hash-01: E01 image of a 32 GB drive | Image SHA-256 matches source | Match | Pass |
| ntfs-deleted-02: 120 deleted files with intact records | 120 recovered, hashes match | 117 recovered, hashes match | Limitation |
| chrome-time-03: 50 visits with known UTC times | 50 exact matches | 50 exact matches in UTC mode | Pass |
| evtx-04: 2,000 events, 14 from a corrupted chunk | 2,000 events parsed or reported as unparsed | 1,986 parsed, 14 silently skipped | Fail |
The deleted-file test recovered 117 of 120 files, a recall of 97.5 percent. The three missed files all had names over 200 characters, a pattern the lab documents as a known limitation: when a case involves long paths, examiners check them by another method. The event-log failure is more serious. A tool that skips records without saying so can produce a timeline that looks complete and is not. The lab reports the defect to the vendor and continues using the previous version for event logs.
The event-log bar looks nearly full, which is why the outcome column matters more than the percentage: the 14 missing events were not reported.
Error rates and dual-tool checks
Courts applying the Daubert factors (Chapter 20) may ask about a method’s known or potential error rate. Fixture results give the lab a factual answer for each function it tested. For decisive findings, many labs also require a dual-tool or manual check: the same artifact examined with a second tool, or decoded by hand from the raw bytes. That is exactly what resolved the Pell River discrepancy: the raw visit_time value, converted by hand, matched Parser A, and matched Parser B once its Eastern Time display was accounted for.
On the exam, validation shows a method is fit for purpose, verification confirms a tool version works in the lab, CFTT tests tools and CFReDS supplies reference data, and a known limitation is recorded, not hidden. The next reading, Scripts another examiner can rerun, builds a check the academy can share with the defense.
Inspect the three records, then use the evidence to answer the question.
1. Expected
120 deleted files with intact records
2. Recovered
117 files, all with matching SHA-256 values
3. Missed
3 files with names over 200 characters
Apply the reading
A vendor’s release notes say the new version “improves deleted file recovery”. What should the lab do before using it on casework?
Compare your reasoning
Run the new version against the lab’s known-answer fixtures, compare its results with the expected values and with the previous version, record any differences and errors, and approve the version for use only if it meets the lab’s acceptance criteria.