Authentication
Cheat sheet · https://pcornel.dk/topic.php?topic=4415
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/failuresjournalctl -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 boundary | What to establish | What it does not establish |
|---|---|---|
| Scope and context | Asset, owner, subject, action, data flow, time and expected security outcome | Does not prove the inventory, threat model or business assumptions are complete |
| Design and effective state | Intended policy/control plus the identity, configuration, coverage and dependencies actually in force | Configuration presence does not prove consistent enforcement or operating effectiveness |
| Outcome evidence | Allowed, denied, failure and recovery tests correlated with telemetry | One successful test does not prove every path, time or attacker condition |
| Acceptance | Gap, residual risk, owner, review trigger and retest result are recorded | Acceptance 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