← Back to the blog

A term found is not a document misappropriated: a keyword search must say where the term is

A keyword search shows that a term exists somewhere on the disk, not what the file is or whether it ever left: without the container of each hit and its relation to the facts, the count is volume, not evidence.

A term found is not a document misappropriated: a keyword search must say where the term is

Almost every examination of a seized disk includes a keyword search: company names, product names, people's names, technical terms. The result usually reaches the case file as a count — "N files containing the term X were found". The count looks like a finding. Technically, it is only the start of the analysis. While the CNJ (Brazil's National Council of Justice) discusses a draft resolution on judicial oversight of digital evidence (still undecided), this stage of the examination deserves close attention, because it is here that many expert reports turn volume into conclusion without demonstrating the step in between.

A forensic search tool scans the disk image looking for character strings. Each occurrence is a "hit". A hit, by itself, only tells you that the string exists at a given point on the media. To know what it means, one must identify the container: a standalone document created by the user; the body or attachment of a message inside a mailbox file; a temporary file generated by the system; a fragment in unallocated space, with no file-system metadata. Each container has its own dates, origin and meaning. A company name in the body of an e-mail received by an employee in the course of his duties is not the same as a company document copied to a personal disk. The search configuration also matters: the term list, who defined it, whether it accounted for variants and encodings, and on which tool and version it ran — elements of method that the expert report must state.

In the case that inspired this piece, a criminal prosecution for alleged software misappropriation, the official expert report described three things: thousands of e-mail messages stored on the defendant's computer; an external disk connected to machines set up for system acceptance testing; and dozens of files containing the name of the accusing companies. Most of the prosecution's expert questions asked about source code, and the expert answered that none had been found on the disks analyzed. According to the defense's technical analysis of the report's own annexes, all the files with the companies' names were inside the user's mailbox files — messages he sent or received at work — and the messages exchanged with the competitor came from a personal account, with no indication that any company documents had been sent. What looked like evidence was, for the most part, an employee's archive of professional correspondence.

That does not, however, support an absolute conclusion in the opposite direction. The absence of source code on the media examined is a fact about that media. It does not, on its own, show that nothing was copied by other means. The discipline applies both ways: a hit does not prove misappropriation, and the lack of a hit does not prove that the fact did not occur outside what was examined.

The CPP (Brazilian Code of Criminal Procedure) treats the chain of custody as the documented sequence of steps running from the recognition of a trace to its processing and storage (art. 158-B). The examination is one of those steps, and its method must be verifiable. For the defense and the prosecution alike, the practical consequence is the same: faced with a hit count, ask what it means. Supplementary expert questions and the opinion of the party-appointed technical expert (art. 159, § 5, II, of the CPP) are the means to do so: what the term list was, which container holds each hit, what dates are associated with it, and how each hit relates to the charged conduct. For the court, the point is not to draw from quantity a conclusion it cannot support. A hit count is raw data, not an expert conclusion.

In practice, turning volume into information comes down to simple questions, which can be framed as supplementary expert questions or requests for clarification. (i) What list of terms was searched, who defined it, and with which variants (upper/lower case, accents, abbreviations)? (ii) On which tool, version and configuration was the search run, and did it include compressed files, mailboxes and unallocated space? (iii) For each hit used in the conclusion, what is the container (full file path, or identification of the message and attachment) and what dates are associated with it, with the time zone stated? (iv) Does any of the hits correspond to a standalone document originating outside the user, or are they all in correspondence he sent or received? (v) Is there any record of access to, copying of, or transfer of this content to other media or another recipient? (vi) Which media, accounts and services were left out of the examination? The last question is as important as the others, because it defines the reach of any negative conclusion. An expert report that answers these questions leaves the court with a verifiable basis; one that merely counts hits hands the judge the technical task of interpreting them.

A keyword search is a legitimate and necessary tool. The problem begins when the expert report stops there. A hit is a starting point; the container, the dates and the relation to the facts are what turn it into information. The decisive technical question — "where is it, and what is it?" — is also the decisive legal question: what can the court conclude from it?

5 min read Translated from the original in Portuguese. Read the original →
← Back to the blog Go to the home page