Glossary termSecurity concept

Security Through Obscurity

Also known as: Security by obscurity

Reliance on keeping a system's design, implementation or configuration secret as the main means of protecting it, widely regarded as weak on its own.

Security through obscurity describes protecting a system mainly by hiding how it works, for example by using a secret proprietary algorithm, an undocumented protocol, a hidden administrative page or a nonstandard port, rather than by relying on sound, well-tested controls. The approach assumes that attackers will not discover the hidden details. In security engineering the phrase is usually critical: if the only thing protecting a system is a secret about its design, the protection disappears as soon as that secret leaks, is reverse-engineered or is guessed.

The critique goes back at least to Kerckhoffs's principle of 1883, which held that a cipher should remain secure even when its design is known. Real-world history supports it: secret proprietary schemes, from DVD copy protection to some mobile phone and smart card ciphers, have been broken once researchers studied them. The full-disclosure movement of the 1990s argued that publicizing flaws was the best way to force vendors to fix systems whose makers had relied on secrecy. NIST guidance likewise advises that system security should not depend on the secrecy of its implementation.

Obscurity is not useless when it is an additional layer rather than the foundation. Hiding version banners, avoiding predictable account names or moving a service to an unusual port can reduce automated noise and slow casual attackers, contributing modestly to defense in depth. The problem arises when obscurity substitutes for patching, encryption, strong authentication and independent review. Open-source advocates argue that public, auditable code, open to the scrutiny described by Linus's law, is more trustworthy than secret code, though openness only helps if someone actually reviews it.

Key points

  • Security through obscurity relies on attackers not discovering how a system works.
  • Secret proprietary ciphers have repeatedly been broken once researchers reverse-engineered them.
  • Obscurity can add a minor layer of defense but should never replace sound controls.
  • Kerckhoffs's principle is the classic argument against relying on secrecy of design.

Related entries

Glossary term

Cryptographic design principle stating that a system should remain secure even if everything about it except the secret key is public knowledge.

Glossary term

Defense in Depth

Cybersecurity

Security strategy that layers multiple independent safeguards so that if one control fails, others still protect systems and data.

Glossary term

Approach to software in which source code is published under a license that lets anyone inspect, modify and redistribute it.

Glossary term

Principle, named after Linus Torvalds, that with enough reviewers and testers almost every software bug will be found quickly and easily fixed.

Glossary term

Process in which a security flaw is reported privately to the responsible party and made public only after a fix is ready or an agreed deadline passes.

Glossary term

Encryption

CybersecurityOPSECDevOps

The process of transforming readable data into ciphertext so that only parties holding the correct key can recover and understand it.

Glossary term

Security Hardening

CybersecurityDevOps

Process of reducing a system's vulnerability by removing unnecessary functions, tightening configuration and applying secure defaults and updates.

Glossary term

Vulnerability

Cybersecurity

A weakness in software, hardware, configuration or process that an attacker could exploit to compromise confidentiality, integrity or availability.

Referenced by

Other entries that discuss or point to Security Through Obscurity.