Security Fundamentals
Before threats, frameworks, or tools — the two ideas everything else is built on: what we protect (CIA) and how we measure danger (risk).
The CIA Triad
Three properties define what “secure” means for any asset. Every threat violates at least one of them.
Confidentiality
STRIDE: Information DisclosureOnly those who should see the data can see it — at rest, in transit, and in use.
Disclosure — secrets leak to someone who was never authorized.
A misconfigured S3 bucket exposes millions of customer records to the open internet.
- Encryption at rest & in transit (TLS)
- Access control & least privilege
- Data classification & masking
Integrity
STRIDE: TamperingData and systems stay correct and unaltered — no unauthorized changes go unnoticed.
Tampering — someone modifies data, code, or a message in flight.
An attacker alters a bank transfer amount, or poisons a software update before it ships.
- Hashing, signatures & checksums
- Input validation & integrity constraints
- Audit logs & version control
Availability
STRIDE: Denial of ServiceThe system and its data are there when legitimate users need them.
Denial of service — the system is knocked over, slowed, or made unreachable.
A DDoS flood or a ransomware lockout takes the service offline for paying customers.
- Redundancy, backups & failover
- Rate limiting & DDoS protection
- Capacity planning & monitoring
Beyond the triad
Two properties the classic triad doesn’t capture on its own — added when accountability matters.
Authenticity
Identities and origins are genuine — you are who you claim to be (counters spoofing).
Non-repudiation
An actor cannot credibly deny an action they took — there is proof (counters repudiation).
The Risk Equation
Security is not about eliminating every risk — it’s about spending finite effort where it buys the most safety.
A threat only becomes risk when it has a vulnerability to exploit and an asset worth the trouble. Remove any factor and the risk falls.
The vocabulary
Six words that keep risk conversations precise. Mixing them up is the most common beginner mistake.
Asset
Something of value worth protecting — data, a system, a reputation, a life.
Threat
A potential cause of harm — a who or what that could exploit a weakness.
Vulnerability
A weakness a threat can use — a missing patch, a weak password, a logic flaw.
Threat actor
The adversary behind a threat — criminal, insider, nation-state, or careless user.
Control
A safeguard that reduces risk — preventive, detective, or corrective.
Risk
The expected loss: how likely a threat is to land × how much it would hurt.
What you do with a risk
Once a risk is scored, every risk has exactly four possible responses.
Mitigate
Add controls to lower the likelihood or the impact. The default move.
Example: Enforce MFA to cut account-takeover risk.
Transfer
Shift the loss to someone else — insurance or a third-party provider.
Example: Buy cyber-insurance; use a managed payment processor.
Avoid
Stop doing the risky thing entirely — remove the exposure at the source.
Example: Don’t collect data you don’t need; retire a legacy service.
Accept
Knowingly live with the residual risk — and have someone formally own that choice.
Example: A low-impact bug on an internal tool, accepted by the owner.
Now put a number on it
You know what to protect and how to talk about risk. Next: score and rank threats with a real likelihood × impact matrix.