Security Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=4410
Answer
Security begins with assets and required outcomes, maps data and requests across trust boundaries, authenticates subjects, authorizes least-privilege actions, applies preventive/detective/corrective controls, accounts for activity and reassesses residual risk from evidence.
Remember
- Security ≠ a product or a one-time hardening task.
- Compliance ≠ proven security against the relevant threat model.
- Control present ≠ control effective or correctly scoped.
- No alert ≠ no compromise unless visibility and detection coverage are proven.
First checks
- Asset and data inventory — what must be protected
- Threat model for the system — who could attack and how
- Control mapping (e.g. CIS Controls) — which controls exist
Verify in this order
assets → threats → vulnerabilities → risk → controls → monitoring
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 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=4410