All Topics  
Security through obscurity

 

   Email Print
   Bookmark   Link






 

Security through obscurity



 
 
In cryptography
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
 and computer security
Computer security

Computer security is a branch of technology known as information security as applied to computers. The objective of computer security can include protection of information from theft or corruption, or the preservation of availability, as defined in the security policy....
, security through obscurity (sometimes security by obscurity) is a principle in security engineering
Security engineering

Security engineering is a specialized field of engineering that deals with the development of detailed engineering plans and designs for security features, controls and systems....
, which attempts to use secrecy
Secrecy

Secrecy or furtiveness is the practice of sharing information among a group of people, which can be as small as one person, while hiding it from all others....
 (of design, implementation, etc.) to provide security
Security

Security is the degree of protection against danger, loss, and criminals. Individuals or actions that encroach upon the condition of protection are responsible for a "breach of security."...
. A system relying on security through obscurity may have theoretical or actual security vulnerabilities, but its owners or designers believe that the flaws are not known, and that attackers are unlikely to find them. The technique stands in contrast with security by design, although many real-world projects include elements of both strategies.

Background
There is scant formal literature on the issue of security through obscurity.






Discussion
Ask a question about 'Security through obscurity'
Start a new discussion about 'Security through obscurity'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In cryptography
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
 and computer security
Computer security

Computer security is a branch of technology known as information security as applied to computers. The objective of computer security can include protection of information from theft or corruption, or the preservation of availability, as defined in the security policy....
, security through obscurity (sometimes security by obscurity) is a principle in security engineering
Security engineering

Security engineering is a specialized field of engineering that deals with the development of detailed engineering plans and designs for security features, controls and systems....
, which attempts to use secrecy
Secrecy

Secrecy or furtiveness is the practice of sharing information among a group of people, which can be as small as one person, while hiding it from all others....
 (of design, implementation, etc.) to provide security
Security

Security is the degree of protection against danger, loss, and criminals. Individuals or actions that encroach upon the condition of protection are responsible for a "breach of security."...
. A system relying on security through obscurity may have theoretical or actual security vulnerabilities, but its owners or designers believe that the flaws are not known, and that attackers are unlikely to find them. The technique stands in contrast with security by design, although many real-world projects include elements of both strategies.

Background


There is scant formal literature on the issue of security through obscurity. Books on security engineering
Security engineering

Security engineering is a specialized field of engineering that deals with the development of detailed engineering plans and designs for security features, controls and systems....
 will cite Kerckhoffs' doctrine
Kerckhoffs' principle

In cryptography, Kerckhoffs' principle was stated by Auguste Kerckhoffs in the 19th century: a cryptosystem should be secure even if everything about the system, except the cryptographic key, is public knowledge....
 from 1883, if they cite anything at all. For example, in a discussion about secrecy and openness in Nuclear Command and Control:

[T]he benefits of reducing the likelihood of an accidental war were considered to outweigh the possible benefits of secrecy. This is a modern reincarnation of Kerckhoffs' doctrine, first put forward in the nineteenth century, that the security of a system should depend on its key, not on its design remaining obscure.


In the field of legal academia, Peter Swire
Peter Swire

Peter Swire is the C. William O'Neil Professor at the Moritz College of Law of Ohio State University and an internationally recognized expert in privacy law....
 has written about the trade-off between the notion that "security through obscurity is an illusion" and the military notion that "loose lips sink ships" as well as how competition affects the incentives to disclose.

The principle of security through obscurity was more generally accepted in cryptographic work in the days when essentially all well-informed cryptographers were employed by national intelligence agencies, such as the NSA. Now that cryptographers often work at universities (where researchers publish many [perhaps even nearly all] of their results and publicly test others' designs and results) or in private industry (where results are more often controlled by patents and copyrights than by secrecy), the argument has lost some of its former popularity. An example is PGP
Pretty Good Privacy

Pretty Good Privacy is a computer program that provides cryptographic privacy and authentication. PGP is often used for signing, encrypting and decrypting e-mails to increase the security of e-mail communications....
 released as source code, and generally regarded (when properly used) as a military-grade cryptosystem
Cryptosystem

There are two different meanings of the word cryptosystem. One is used by the cryptographic community, while the other is the meaning understood by the public....
. The wide availability of high quality cryptography was disturbing to the US government, which seems to have been using a security through obscurity analysis to support its opposition to such work. Indeed, such reasoning is very often used by lawyers and administrators to justify policies which were designed to control or limit high quality cryptography only to those authorized.

Viewpoints


Arguments against


As mentioned above, in cryptography
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
, the argument against security by obscurity dates back at least to Kerckhoffs' principle
Kerckhoffs' principle

In cryptography, Kerckhoffs' principle was stated by Auguste Kerckhoffs in the 19th century: a cryptosystem should be secure even if everything about the system, except the cryptographic key, is public knowledge....
, put forth in 1883 by Auguste Kerckhoffs. The principle states that design of a cryptographic system should not require secrecy and should not cause inconvenience if it falls into the hands of the enemy. This principle has been paraphrased in several ways:

  • System designers should assume that the entire design of a security system is known to all attackers, with the exception of the cryptographic key.
  • The security of a cipher resides entirely in the cryptographic key.
  • Claude Shannon rephrased it as "the enemy
    Adversary (cryptography)

    In cryptography, an adversary is a malicious entity whose aim is to prevent the users of the cryptosystem from achieving their goal . An adversary's efforts might take the form of attempting to discover secret data, corrupting some of the data in the system, Spoofing attacking the identity of a message sender or receiver, or forcing system d...
     knows the system".


If it is true that any secret piece of information constitutes a point of potential compromise, then fewer secrets makes a more secure system. Therefore, systems that rely on secret design or operational details, apart from the cryptographic key, are inherently less secure; that is, resident vulnerabilities in any such secret details will render the choice of key (eg, short and simple vs. long and complex) largely irrelevant.

The related full disclosure
Full disclosure

In computer security, full disclosure means to disclose all the details of a security problem which are known. It is a philosophy of security management completely opposed to the idea of security through obscurity....
 philosophy suggests that security flaws should be disclosed as soon as possible because the strength of the protection provided by keeping the cryptographic key secret has become weaker. In this case there is now effectively more than one key that provides access: the old cryptographic key and a key composed of the newly discovered flaws.

For example, if somebody stores a spare key under the doormat, in case they are locked out of the house, then they are relying on security through obscurity. The theoretical security vulnerability is that anybody could break into the house by unlocking the door using that spare key. Furthermore, since burglars often know likely hiding places, the house owner will experience greater risk of a burglary by hiding the key in this -- not so secure -- way. The owner has in effect added another key—the fact that the entry key is stored under the doormat—to the system, and a very easy to guess one. The cryptographic key is no longer simply "the actual possession of the physical key
Key (lock)

A key is a device which is used to open a Lock . A typical key consist of two parts: the blade, which slides into the keyway of the lock and distinguishes between different keys, and the bow, which is left protruding so that torque can be applied by the user....
 that is used to open the door", but also it is now "the knowledge of the physical key's location".

In the past, several algorithms, or software systems with secret internal details, have seen those internal details become public. Accidental disclosure has happened several times, for instance in the notable case of GSM confidential cipher documentation being contributed to the University of Bradford
University of Bradford

The University of Bradford is a university in Bradford, West Yorkshire in the United Kingdom. Formed from a technical college in 1966, there are three campuses: the main campus, located on Richmond Road, the School of Health, on Trinity Road, and the School of Management, at Emm Lane....
. Furthermore, vulnerabilities have been discovered and exploited in software, even when the internal details remained secret. Taken together, these examples suggest that it is difficult or ineffective to keep the details of systems and algorithms secret.

  • The A5/1
    A5/1

    A5/1 is a stream cipher used to provide over-the-air communication privacy in the Global System for Mobile Communications Cell phone standard. It was initially kept secret, but became public knowledge through leaks and reverse engineering....
     cipher for GSM mobile telephones became public knowledge partly through reverse engineering
    Reverse engineering

    Reverse engineering is the process of discovering the technological principles of a device, object or system through analysis of its structure, function and operation....
  • Details of the RSADSI () cryptographic algorithm software were revealed, probably deliberately, through publication of alleged RC4
    RC4

    In cryptography, RC4 is the most widely-used software stream cipher and is used in popular protocols such as Secure Sockets Layer and Wired Equivalent Privacy ....
     source on Usenet.
  • Vulnerabilities in various versions of Microsoft Windows
    Microsoft Windows

    Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
    , its default web browser
    Web browser

    A Web browser is a application software which enables a user to display and interact with text, images, videos, music, games and other information typically located on a Web page at a website on the World Wide Web or a local area network....
     Internet Explorer
    Internet Explorer

    Windows Internet Explorer , commonly abbreviated to IE, is a series of graphical user interface web browsers developed by Microsoft and included as part of the Microsoft Windows line of operating systems starting in 1995....
    , and its mail applications Outlook
    Microsoft Outlook

    Microsoft Office Outlook or Outlook is a personal information manager from Microsoft. The 2007 version is available both as a separate application as well as a part of the Microsoft Office suite....
     and Outlook Express
    Outlook Express

    Outlook Express is an e-mail client/news client that was included with Internet Explorer versions Internet Explorer 4.0 through Internet Explorer 6.0....
     have caused worldwide problems when computer virus
    Computer virus

    A computer virus is a computer program that can copy itself and infect a computer without the permission or knowledge of the user. The term "virus" is also commonly but erroneously used to refer to other types of malware, adware and spyware programs that do not have the reproductive ability....
    es, Trojan horses
    Trojan horse (computing)

    The Trojan horse, also known as trojan, in the context of computer software, describes a class of computer threats that appears to perform a desirable function but in fact performs undisclosed malicious functions that allow unauthorized access to the host machine, giving them the ability to save their files on the user's computer...
    , or computer worm
    Computer worm

    A computer worm is a self-replicating computer program. It uses a network to send copies of itself to other nodes and it may do so without any user intervention....
    s have exploited them.
  • Cisco
    Cisco Systems

    Cisco Systems, Inc. is a multinational corporation with more than 66,000 employees and annual revenue of United States dollar39 billion as of 2008....
     router operating system software was accidentally exposed on a corporate network.
  • Details of Diebold Election Systems voting machine software were published on a publicly accessible Web site. (See Bev Harris
    Bev Harris

    Bev 'Merton' Harris is an United States writer, activist, and founder of Black Box Voting Inc., a national nonpartisan, nonprofit elections watchdog group....
    )
  • The once open source
    Open source

    Open source is an approach to design, development, and distribution offering practical accessibility to a product's source . Some consider open source as one of various possible design approaches, while others consider it a critical Strategy element of their business operations....
     Doom port, ZDaemon, had been renowned for security through obscurity; binary cheats were released and the source was closed because of this. Though this may have reduced the number of cheats, It still remains possible and several cheats exist.


Linus's law
Linus's Law

Linus's Law can refer to two different notions, both named after Linus Torvalds....
 that many eyes make all bugs shallow also suggests improved security for algorithms and protocols whose details are published. More people can review the details of such algorithms, identify flaws, and fix the flaws sooner. We would thus expect that the frequency and severity of security compromises will be less severe for open than for proprietary or secret software.

Operators and developers/vendors of systems that rely on security by obscurity may keep the fact that their system is broken secret to avoid destroying confidence in their service or product and thus its marketability, and this may amount to fraud
Fraud

In the broadest sense, a fraud is a deception made for personal gain or to damage another individual. The specific legal definition varies by legal jurisdiction....
ulent misrepresentation of the security of their products. Instances have been known, from at least the 1960s, of companies delaying release of fixes or patches to suit their corporate priorities rather than customer concerns or risks. Application of the law in this respect has been less than vigorous, in part because vendors almost universally impose terms of use
Terms of Use

Terms of Use are rules set up by the owner of an intellectual property or service to govern how they may be legally used.In many cases, terms of service are used as a contractual agreement between a company and users of a service they provide....
 as a part of licensing contract
Contract

A contract is an exchange of promises between two or more parties to do, or refrain from doing, an act which is enforceable in a court of law. It is a binding legal agreement....
s in order to disclaim their apparently existing obligations under statute
Statute

A statute is a formal written enactment of a legislative authority that governs a country, state, city, or county. Typically, statutes command or prohibit something, or declare policy....
s and common law
Common law

Common law refers to law and the corresponding Legal systems of the world developed through legal opinion of courts and similar tribunals , rather than through statute law or Executive ....
 that require fitness for use or similar quality standards.

Arguments for

Perfect or "unbroken" solutions provide security, but absolutes may be difficult to obtain. Although relying solely on security through obscurity is a very poor design decision, keeping secret some of the details of an otherwise well-engineered system may be a reasonable tactic as part of a defense in depth
Defense in Depth (computing)

Defense in Depth is an Information Assurance strategy in which multiple layers of defense are placed throughout an Information Technology system....
 strategy. For example, security through obscurity may (but cannot be guaranteed to) act as a temporary "speed bump" for attackers while a resolution to a known security issue is implemented. Here, the goal is simply to reduce the short-run risk of exploitation of a vulnerability in the main components of the system.

Security through obscurity can also be used to create a risk that can detect or deter potential attackers. For example, consider a computer network that appears to exhibit a known vulnerability. Lacking the security layout of the target, the attacker must consider whether to attempt to exploit the vulnerability or not. If the system is set to detect this vulnerability, it will recognize that it is under attack and can respond, either by locking the system down until proper administrators have a chance to react, by monitoring the attack and tracing the assailant, or by disconnecting the attacker. The essence of this principle is that raising the time or risk involved, the attacker is denied the information required to make a solid risk-reward decision about whether to attack in the first place.

A variant of the defense in the previous paragraph is to have a double-layer of detection of the exploit; both of which are kept secret but one is allowed to be "leaked". The idea is to give the attacker a false sense of confidence that the obscurity has been uncovered and defeated. An example of where this would be used is as part of a honeypot
Honeypot (computing)

In computer terminology, a honeypot is a trap set to detect, deflect, or in some manner counteract attempts at unauthorized use of information systems....
. In neither of these cases is there any actual reliance on obscurity for security; these are perhaps better termed obscurity bait in an active security defense.

However, it can be argued that a sufficiently well-implemented system based on security through obscurity simply becomes another variant on a key-based scheme, with the obscure details of the system acting as the secret key value.

There is a general consensus, even among those who argue in favor of security through obscurity, that security through obscurity should never be used as a primary security measure. It is, at best, a secondary measure; and disclosure of the obscurity should not result in a compromise.

Open source repercussions

Software which is deliberately released as open source
Open source

Open source is an approach to design, development, and distribution offering practical accessibility to a product's source . Some consider open source as one of various possible design approaches, while others consider it a critical Strategy element of their business operations....
 can not be said to be relying on security through obscurity (the design being publicly available), but it can nevertheless also experience security debacles (e.g., the Morris worm of 1988 spread through some obscure—if widely visible to those who bothered to look—vulnerabilities). An argument sometimes used against open-source security is that developers tend to be less enthusiastic about performing deep reviews as they are about contributing new code. Such work is sometimes seen as less interesting and less appreciated by peers, especially if an analysis, however diligent and time-consuming, does not turn up much of interest. Combined with the fact that open-source is dominated by a culture of volunteering, security sometimes receives less thorough treatment than it might in an environment in which security reviews were part of someone's job description.

Security through minority

One version of Security through obscurity is to use a product which is not widely adopted, in order to lower the attack profile against random attacks. This does not currently appear to have a single defining term, "minority" being the most common but "rarity", "unpopularity", "scarcity", "lack of interest", and others also being used.

This concept is most commonly encountered in explanations why the number of known vulnerability exploits for products with the largest market share tends to be higher than a linear relationship to market share would indicate, but is also a factor in product choice for large organisations.

Security through minority is good for organisations who will not be subject to targeted attacks, suggesting the use of a product in the long tail. However, finding a new vulnerability in a market leading product is harder, as the low hanging fruit vulnerabilities are more likely to have already been caught, which suggests these products are better for organisations who expect to receive many targeted attacks. The issue is further confused by the fact that new vulnerabilities in minority products cause all known users of that product to become targets. With market leading products, the likelihood of being randomly targeted with a new vulnerability may be lower.

This is closely linked with, and depends upon, the more well-documented term Security through diversity - the wide range of "long tail" minority products is clearly more diverse than a single-entity monolithic market leader, so any random attack will be less likely to succeed.

Historical notes

There are conflicting stories about the origin of this term. Fans of MIT's ITS
Incompatible Timesharing System

ITS, the Incompatible Timesharing System , was an early, revolutionary, and influential time-sharing operating system from Massachusetts Institute of Technology; it was developed principally by the MIT Artificial Intelligence Laboratory at MIT, with some help from Project MAC....
 say it was coined in opposition to Multics
Multics

Multics was an extremely influential early time-sharing operating system. The project was started in 1964. The last known running Multics installation was shut down on October 30, 2000....
 users down the hall, for whom security was far more an issue than on ITS. Within the ITS culture the term referred, self-mockingly, to the poor coverage of the documentation and obscurity of many commands, and to the attitude that by the time a tourist figured out how to make trouble he'd generally got over the urge to make it, because he felt part of the community.

One instance of deliberate security through obscurity on ITS has been noted: the command to allow patching the running ITS system (altmode altmode control-R) echoed as ##^D. Typing alt alt ^D set a flag that would prevent patching the system even if the user later got it right.

See also

  • Security through transparency
  • Inside job
    Inside Job

    Inside Job is the fourth studio album by Don Henley, released in 2000 in music....
  • Secure by design
    Secure by design

    Secure by design, in software engineering, means that the software has been designed from the ground up to be secure. Malicious practices are taken for granted and care is taken to minimize impact when a security vulnerability is discovered or on invalid user input....
  • Obfuscated code
    Obfuscated code

    Obfuscated code is source code in a computer programming language that has been made difficult to understand. Programmers may deliberately obfuscate code to conceal its purpose, to deter reverse engineering, or as a puzzle or recreational challenge for readers....
  • Code morphing
    Code morphing

    Code morphing is one of the approaches to protect software applications from reverse engineering, analysis, modifications, and cracking used in obfuscating software....
  • Need to know
    Need to Know

    Category:Articles to be expanded"Need to Know" is an episode of the American television series The New Twilight Zone....


External links

  • by Ethan M. Preston and John Lofton
  • by Jay Beale
  • by Bruce Schneier
    Bruce Schneier

    Bruce Schneier is an American cryptographer, computer security specialist, and writer. He is the author of several books on computer security and cryptography, and is the founder and chief technology officer of BT Counterpane, formerly Counterpane Internet Security, Inc....