A canary trap or barium meal test is a method for exposing an information leak by giving different versions of a sensitive document to each of several suspects and seeing which version gets leaked. It could be one false statement, to see whether sensitive information gets out to other people as well. Special attention is paid to the quality of the prose of the unique language, in the hopes that the suspect will repeat it verbatim in the leak, thereby identifying the version of the document.
Coinage The term was coined by Tom Clancy in his 1987 novel Patriot Games, although Clancy did not invent the technique. The actual method has been used by intelligence agencies for many years, where it is sometimes known as a barium meal test. The fictional character Jack Ryan describes the technique he devised for identifying the sources of leaked classified documents:
Each summary paragraph has six different versions, and the mixture of those paragraphs is unique to each numbered copy of the paper. There are over a thousand possible permutations, but only 96 numbered copies of the actual document. The reason the summary paragraphs are so lurid is to entice a reporter to quote them verbatim in the public media. If he quotes something from two or three of those paragraphs, we know which copy he saw and, therefore, who leaked it. Ryan goes onto describe using "a thesaurus program to shuffle through synonyms, and you make every copy of the document totally unique".
Barium meal test According to the book Spycatcher by Peter Wright (published in 1987), the technique is standard practice and has been used for many years by MI5 (and other intelligence agencies) under the name "barium meal test", named after the medical procedure. A barium meal test is flexible and may take many different forms. The basic premise is to reveal a supposed secret to a suspected enemy (but nobody else) then monitor whether there is evidence of the fake information being utilized by the other side. For example, a suspected double agent could be offered some tempting "bait": e.g., be told that important information was stored at a dead drop site. The fake dead drop site could then be periodically checked for signs of disturbance. If the site showed signs of being disturbed (for instance, in order to copy microfilm stored there), then this would confirm that the suspected enemy really was an enemy, i.e., a double agent.
Embedding information The technique of embedding significant information in a hidden form in a medium has been used in many ways, which are usually classified according to intent:
A canary trap hides information in a document that uniquely identifies it, so that copies of it can be traced; see the Star Trek and Tesla examples below. Watermarks are used to show that items are authentic and not forged. Steganography is used to hide a secret message in an apparently innocuous message, in order to escape detection. Screener versions of DVDs are often marked in some way so as to allow the tracking of unauthorised releases to their source. Trap streets on maps, or intentionally fictitious streets, are sometimes included to track copyright violations by those who might republish copyrighted maps illegally. Spurious words are sometimes included in dictionaries so as to detect other publishers copying from them. The Oxford English Dictionary contains an appendix of such words with which edition of which dictionary first used them and which first duplicated them. Zero-width spaces are Unicode characters that are not visually rendered. An arbitrary number of these characters can be inserted between the letters of a word. Though they are not visible, they will typically persist even as that word is copied and pasted and transmitted multiple times. This can be used to create persistent, invisible fingerprints in digital text. Mailing lists for purchase are typically seeded with a small number of postal or email addresses that route back to the seller of the list. This is used to detect reuse of the list (typically sold on a per-mailing basis) or resale of the list (usually prohibited). Email aliases can be used when creating accounts to provide an email address specific to that entity so that if the address starts getting spam or is found in a data breach, it can be traced back to the source. Like with the Star Trek incident (see below), there isn't much that can be done about it post-hoc other than to know the source of the leak. The address is already being spammed, but in some cases, it might be important to know the source in case of a lawsuit for selling data or to fix the security weaknesses that led to a hack.
… excerpt ends here. Continue reading the full article.