← Concepts

阅读中文版本

Default Credential Disabling

Default credential disabling removes the factory-set passwords and keys that ship with devices and services, eliminating the most exploited path where attackers scan for unchanged defaults at scale.

security

Definition

Default credential disabling is the practice of shipping products with no functional default password — first-boot forced enrollment, random per-device credentials, or disabled-by-default remote access — so that the device cannot be administered until a unique credential is established by the deployer.

Context and scope

Applied in IoT, network appliances, databases, and any product class whose history of default-password botnet takeovers (Mirai) made the practice mandatory.

Common misconceptions

  • A random default printed on the label is safe — it is a default; physical access or a photo leaks it, and bots scrape leaked labels
  • Forcing a password change on first login is sufficient — it helps, but unchanged-but-forced credentials are often set weakly and predictably

Anti-patterns

  • Shipping a service account with a documented default password that installers forget to change
  • Disabling default credentials on the admin interface but leaving a debug port with its own default open

Related concepts

Authoritative source

https://attack.mitre.org/techniques/T1078/001/

What it is

Default credential disabling is the practice of shipping products with no functional default password — first-boot forced enrollment, random per-device credentials, or disabled-by-default remote access — so that the device cannot be administered until a unique credential is established by the deployer. Applied in IoT, network appliances, databases, and any product class whose history of default-password botnet takeovers (Mirai) made the practice mandatory. The threat model determines which controls apply: preventive controls block exploits, detective controls surface violations, and corrective controls restore integrity after an incident.

How it works

Effective implementations layer controls so that no single bypass compromises the asset. Verification happens at trust boundaries, not just at the perimeter. Cryptographic primitives are selected for the concrete property needed — unforgeability, indistinguishability, or non-malleability — and never composed ad hoc. Failure modes fail closed: a verification error denies rather than allows.

When to enforce and pitfalls

Enforce wherever an attacker can influence input that crosses a trust boundary. Common pitfalls include treating obfuscation as a control, relying on secrecy of the algorithm rather than the key, and auditing the happy path while ignoring error-handling branches where bypasses often hide. Rate-limit and log every verification attempt so brute-force and oracle attacks become visible.