Module 02 of 12
Tool Validation Methodology
Every result a forensic tool shows you is a claim. Check it the way the other side's expert will: run a second tool on the same data, explain each disagreement, and say what the check does not reach.
Objectives
What you will be able to do
- Say what relying on a tool's output proves, and what it leaves unproven.
- Run a differential test: one dataset, two tools, an explanation for every disagreement.
- Give each discrepancy a classification and log it.
- Check that results repeat, and handle a component that answers differently from one run to the next.
- Write down the limits of a validation claim, including evidence neither tool looked at.
Knowledge check
Try this before you read
Pick an answer and write one sentence on why. The explanation appears once you have. Come back to it after the key ideas and see whether your reasoning changed.
Show the answer
Answer: Only that the counts match; the two sets of files may still differ
Equal totals are the weakest form of agreement. Each tool could be listing a different 412 files. Line up the two lists next, pairing by path, hash or MFT record, then compare field values for the files both report, and leave the labels for last.
Key ideas
One idea at a time
Software stands between the evidence and the report
Count the decisions a program made before a time appeared in your report. It decoded a raw value, converted it to a zone and formatted it. A parser walked a structure to find the file. A single bit was read as “deleted”. Any of those steps can go wrong, and the person answering for it on the stand is the examiner, not the vendor. Judges deciding whether to admit expert evidence ask whether the method has been tested, how often it errs, and what standards apply. Saying the tool is popular answers none of that. Saying you compared this kind of evidence with a second tool and with the raw bytes, and showing what came out, answers all of it.
Four ways to test a tool
There are four standard approaches. You can specify correct behavior for a class of input and build test inputs whose answers you already know; NIST's Computer Forensics Tool Testing program works this way, and its published reports are a good model for the write-up. You can use data prepared so the answers are fixed in advance, such as NIST CFReDS or a practice case with a published solution. You can run two independent tools over the same evidence and compare them, which is differential testing. Or you can go back to the bytes and decode the value yourself. The validation labs here are differential tests of VeriSigma against a second forensic tool, with the raw data as tie-breaker. Neither tool gets to be the reference.
Compare like with like
Order matters. Totals are the cheapest check and the least useful, since matching totals can hide two different lists. Next, line up the lists themselves, pairing items by path, hash or file system record. Only then compare fields on the items both tools found: times, sizes, names, flags. Leave labels like “executed” or “deleted” for last and trust them least, because each is a tool's interpretation. Watch for false equivalences. Content recovered by carving is a different kind of evidence from the same content parsed out of a live structure. A time shown in UTC and one shown in local time may be one moment. An artifact assembled from several sources is already an inference.
Classify every difference
Use one label per difference and back it with a sentence. One tool wrong: the raw data proves it, so name the tool and the check. Both defensible: each reading is correct but made differently, for instance rounding, or showing a different one of several times. Different scope: one tool searched somewhere the other skipped, say unallocated space, a volume, a file type or an alternate data stream. Parser coverage: only one tool understands that artifact, or that version of it. Time handling: zone, daylight saving or precision. Unexplained: you looked and could not find the cause. That label is legitimate. Anyone who says every difference on a real case was explained probably stopped looking early.
Differential testing: two tools on one dataset, every difference checked at the source and classified. If it cannot be reproduced, it cannot be tested
Ask three questions of every tool. Do repeated runs on the same input produce identical output? Does the output carry the version that produced it? Does it carry the settings that shaped it? VeriSigma records much of this for you. Llama is deterministic, so the same images always yield the same database. Each Omega rule is identified by a hash of its name and text, which pins results to an exact rule version. The agent's transcript keeps every step it took.
The agent is the part that varies
Put the same question to the agent twice and the answers can differ, each sounding sure of itself. A single run tells you nothing. Treat it like a new hire whose work you sign off. Repeat the question several times and across more than one model, and count how often the answers match. Score each one against a known answer or your own manual result. Trace every claim to the query behind it. And judge the method apart from the result: a correct answer from a query that could not have produced it is luck.
Write the scope down
A validation claim reaches exactly as far as your testing did. These modules leave memory and network captures out, so whatever another tool finds in them sits outside the comparison. Say so in the report as a stated limit. A sentence like “both tools report the same logon events from the two disk images” can be defended. “VeriSigma finds everything the second tool finds” cannot. Each log entry should hold the question and its evidence, the name, version and settings of each tool, both answers, every difference with its label and supporting evidence, and the scope.
Scope
Before you move on
Could you explain each item on the left to a colleague without looking back? If not, reread that idea. The right-hand list is where this module stops.
What this covers
- Why tool output needs validating
- Four testing approaches, and why differential testing is the backbone here
- What can be compared, from counts to interpretations
- The six classifications for a difference
- Reproducibility, the agent, and the scope of a claim
What it does not
- A full NIST CFTT-style test plan
- The admissibility rules of any particular court
- Memory and network evidence, which these modules leave out