Pcornel
Security · Hardening

Secure Defaults

Cheat sheet · https://pcornel.dk/topic.php?topic=4846

Back to the Topic

Answer

Secure Defaults make the safest supportable state the initial and fallback behavior, requiring explicit authorization to enable risky access, features or trust and preventing installation or reset paths from silently restoring insecure behavior.

Remember

  • Vendor default ≠ secure default for every deployment context.
  • Secure initial state ≠ secure upgraded, migrated or factory-reset state.
  • Desired baseline ≠ deployed, effective and persistent runtime state.
  • Compliant score ≠ secure workload, correct recovery or acceptable residual risk.

First checks

  • Default credentials check — changed
  • Vulnerability scanner default-credential checks — default creds
  • Secure-by-default product settings — review

Verify in this order

install → secure defaults reviewed → hardened

Where it usually breaks

First mismatch in asset inventory → applicable baseline/finding → risk/exception decision → remediation → verification → compliance/reporting; preserve identity/policy/pre-state before mutation.

Hardening → Secure Defaults proof map

BoundaryEstablishDoes not establish
ScopeExact platform/version, role, threat model, required functions and approved profileGeneric benchmark selection does not prove suitability
Effective stateDesired source, deployment, precedence and loaded/runtime valueFile, policy or compliance result alone does not prove enforcement
BehaviorCorrelated allowed/denied test, events and protected workload resultOne blocked action does not prove the intended control caused it
AssurancePersistence, drift monitoring, exception state, recovery and regressionOne-time hardening does not prove maintained secure state

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4846

Confirmation

Confirm action

Continue?