Tool validation
Validation: “the tool says so” is not an answer.
Software touches every number in a forensic report. This page sets out how an examiner tests that software: compare two tools on the same evidence, classify each difference and write down what the comparison does not cover.
01 Why validate
The examiner who signs the report answers for the software.
Software decoded a timestamp, converted it and displayed it. A parser walked a structure to find a file. A single bit told the tool a file was deleted. When any of that is wrong, the report is wrong, and the signing examiner has to explain it under cross-examination.
Courts ask about this directly. Was the method tested? What is its error rate? Do standards govern its use? Saying a commercial tool is widely used answers none of those. Saying you ran this evidence type through a second tool, checked it against the source data and recorded what you found gives you a specific, documented answer to put in front of each.
A reputation for accuracy covers common uses. It does not tell you it is correct for your artifact, in your version, on your evidence.
Four ways to test
- Specification-based testing
- State what the tool ought to do for one kind of input, build inputs with a known correct output, and check the result. NIST's Computer Forensics Tool Testing reports show how to write this up.
- Known-answer datasets
- Evidence assembled so the right answers are known beforehand: NIST's CFReDS data sets, or training cases that come with published solutions.
- Differential testing
- Two independent tools process the same evidence and their output is compared. Agreement adds confidence. Each disagreement points to a bug, a gap or a different reading.
- Verification against source
- Trace a tool's claim to the raw bytes behind it, then decode them yourself, or use a third tool.
The method centers on differential testing and uses verification against source to resolve disputes. Neither tool is the reference. The evidence settles it.
02 What can be compared
Make sure both tools answered the same question.
01
Counts
Simple to compare and weak evidence. Two tools can give the same file total yet disagree on which files make it up.
02
Sets
The items each tool reports, matched by path, hash or file system record. Settle the sets before the values.
03
Values
For an item both tools list, check whether times, sizes, names, flags and parsed fields agree.
04
Interpretations
The meaning a tool assigns: executed, deleted, user activity. Leave these for last and treat them with the most doubt.
Some items look alike and are not. A record parsed from a live structure and one carved from unallocated space differ in kind even when their content is identical. A local time and a UTC time can name the same instant. An artifact a tool reassembled from several sources counts as a conclusion rather than a record.
03 Classifying a discrepancy
Each difference gets a class and a sentence of evidence.
- One tool is wrong
- Checking against source shows one tool's value is incorrect. Name the tool and record the check.
- Both defensible
- Each value is a correct reading of the evidence, reached differently: rounding, the choice among several timestamps, or field decoding.
- Different scope
- One tool searched somewhere the other did not, such as unallocated space, a volume, a file type or an alternate data stream.
- Parser coverage
- One tool handles an artifact, or an artifact version, that the other cannot.
- Time handling
- Time zone conversion, daylight saving or timestamp precision.
- Unexplained
- No cause could be established. Record that. Do not push the difference into another class.
Unexplained is an acceptable entry. An examiner who says each difference between two tools in a genuine case is accounted for has probably not looked hard enough.
04 Reproducibility
A result nobody else can reproduce cannot be tested.
That includes the opposing expert. Ask three things of every tool.
- Does identical input produce identical output on every run?
- Is the version recorded with the output?
- Are the settings that affect the output recorded?
VeriSigma supplies much of this itself. Llama, the processing engine, gives identical case databases for identical evidence. Each Omega rule is identified by a hash of its name and text, which pins every result to one exact rule version. The agent's steps are logged in its transcript.
05 Validating the agent
Treat it like a new examiner whose work you must review.
Of VeriSigma's parts, only the agent gives output that changes between runs. Asking twice can produce two different answers, both delivered with confidence, so one run and one check prove little.
- 01Put the same question to the agent repeatedly, across more than one model, and note how often the answers match.
- 02Score each answer against a known result or your own manual work.
- 03Trace every claim to the steps behind it. An answer can be no better than its queries.
- 04Judge process and conclusion separately. A right conclusion from a query that could not support it was luck.
More on how it fails in practice is on the Trustworthy AI page.
06 Scope and the validation log
A validation claim reaches only as far as your testing.
Put the limits in writing. “The two tools agree on logon events in these two disk images” can be supported. “The tools find the same things” cannot. Where the comparison stops, as with memory or network captures, which these labs leave out, the report names the boundary.
Each validation lab adds one log entry
- The question, and the evidence it concerns.
- Each tool's name, version and relevant settings.
- Each tool's answer.
- Each difference, its class and the evidence for that class.
- The scope: what the comparison reached and what it left out.
This is the validation log an examiner keeps as the comparisons are run, and the record a validation report is written from. A validation lab is one unit of that work: one question, answered in VeriSigma and in a second tool, with each difference classified.