Pcornel
Security · Security Fundamentals

Authentication

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

Back to the Topic

Answer

Authentication binds a claim to evidence such as a secret, possession factor, biometric, certificate or workload credential, then creates an identity context with a defined assurance level and lifetime.

Remember

  • Identification/username ≠ authentication.
  • Authentication success ≠ authorization for the requested action.
  • MFA enabled ≠ every path requires phishing-resistant MFA.
  • Valid credential ≠ uncompromised subject, device or session.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 20 — Windows logons/failures
  • journalctl -u sshd --since -1h | grep -E 'Accepted|Failed' — SSH logins
  • MFA coverage report — accounts with MFA

Verify in this order

claimed identity → credentials/factors → verified

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Security Fundamentals → Authentication proof map

Evidence boundaryWhat to establishWhat it does not establish
Scope and contextAsset, owner, subject, action, data flow, time and expected security outcomeDoes not prove the inventory, threat model or business assumptions are complete
Design and effective stateIntended policy/control plus the identity, configuration, coverage and dependencies actually in forceConfiguration presence does not prove consistent enforcement or operating effectiveness
Outcome evidenceAllowed, denied, failure and recovery tests correlated with telemetryOne successful test does not prove every path, time or attacker condition
AcceptanceGap, residual risk, owner, review trigger and retest result are recordedAcceptance does not remove the risk or make it permanent

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

Confirmation

Confirm action

Continue?