Snake oil (cryptography)
|This article needs additional citations for verification. (January 2009)|
In cryptography, snake oil is any commercial cryptographic method or product considered to be bogus or fraudulent. The name derives from snake oil, one type of patent medicine widely available in 19th century United States.
Distinguishing secure cryptography from insecure cryptography can be difficult from the viewpoint of a user. Many cryptographers, such as Bruce Schneier and Phil Zimmermann, undertake to educate the public in how secure cryptography is done, as well as highlighting the misleading marketing of some cryptographic products.
The Snake Oil FAQ describes itself as, "a compilation of common habits of snake oil vendors. It cannot be the sole method of rating a security product, since there can be exceptions to most of these rules. [...] But if you're looking at something that exhibits several warning signs, you're probably dealing with snake oil."
Some examples of snake oil cryptography techniques
This is not an exhaustive list of snake oil signs. A more thorough list is given in the external articles linked in the section below.
- Secret system
- Some encryption systems will claim to rely on a secret algorithm, technique, or device; this is categorized as security through obscurity. Criticisms of this are twofold: first, a long-standing principle, Shannon's Maxim, states that "the enemy knows the system" and that secrecy does not afford the user any advantages. Secondly, secret methods are not open to public peer review and cryptanalysis and so potential mistakes and insecurities can go unnoticed for great lengths of time.
- Snake oil salespeople may use "technobabble" to sell their product since cryptography is a complicated subject.
- Claims of a system or cryptographic method being "unbreakable" are almost always false, and are generally considered a sure sign of snake oil.
- One-time pads
- One-time pads are a popular cryptographic method to invoke in advertising, because it is well known that one-time pads, when implemented correctly, are genuinely unbreakable. The problem comes in implementing one-time pads, which is rarely done correctly. Cryptographic systems that claim to be based on one-time pads are considered suspect, particularly if they do not describe how the one-time pad is implemented, or they describe a flawed implementation.
- Unsubstantiated "bit" claims
- Cryptographic products are often accompanied with claims of using a high number of bits for encryption, apparently referring to the key length used. However key lengths are not directly comparable between symmetric and asymmetric systems. Furthermore, the details of implementation can render the system vulnerable. For example, in 2008 it was revealed that a number of hard drives sold with built-in "128-bit AES encryption" were actually using a simple and easily defeated "XOR" scheme. AES was only used to store the key, which was easy to recover without breaking AES.
- Beware of Snake Oil — by Phil Zimmermann
- Bruce Schneier's hints for identifying crypto snake oil
- The Snake Oil FAQ by Matt Curtin and others.
- Snake Oil Security Claim on Crypto Security Product by Fabio Pietrosanti
- Google Search results for "The Doghouse" in Bruce Schneier's Crypto-Gram newsletters — the Doghouse section of the Crypto-Gram newsletter frequently describes various snake oil encryption products, commercial or otherwise.
- www.ricinshop.com by RicinShop