Pcornel
Identity · Authentication

Password Authentication

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

Back to the Topic

Answer

A service accepts a password only over an authenticated protected channel, compares it using a salted password-hashing verifier, limits online guessing, detects compromised values and converts success into a controlled session.

Remember

  • Password ≠ account identity.
  • Complex-looking password ≠ high entropy or uncompromised secret.
  • TLS ≠ safe server-side password storage.
  • Correct password ≠ legitimate user intent or safe device.

First checks

  • Get-ADDefaultDomainPasswordPolicy — AD policy
  • grep -E 'PASS_MAX_DAYS|minlen' /etc/login.defs /etc/security/pwquality.conf — Linux policy
  • Breached password screening — blocklist

Verify in this order

user → password → hash compare → (MFA)

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.

Authentication → Password Authentication proof map

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative workflow completion alone is not closure

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

Confirmation

Confirm action

Continue?