The Security Mindset

The CIA Triad, key security concepts, and how attackers think.

Easy 35m 4 tasks

Learning Objectives

  • Explain the CIA Triad with real-world examples
  • Define asset, threat, vulnerability, risk, and exploit
  • Describe the Cyber Kill Chain phases
  • Think like an attacker using threat modelling

The CIA Triad

Every security decision should be measured against three goals:

Pillar Definition Example attack
Confidentiality Data accessible only to authorised parties Data breach, eavesdropping
Integrity Data is accurate and unmodified SQL injection altering records
Availability Systems are accessible when needed DDoS attack

Some models add Non-Repudiation (you can't deny an action you took) and Authentication.

Threat Actors

Actor Motivation Sophistication
Script kiddie Fun, curiosity Low
Hacktivist Ideology, politics Medium
Cybercriminal Financial gain Medium-High
Insider threat Grievance, money Varies
Nation-state (APT) Espionage, sabotage Very High

Attack Surface

The attack surface is everything that can be attacked: open ports, web applications, employee email addresses, physical access points, third-party software.

Reduce it by:
- Disable unused services and ports
- Remove unused software (fewer dependencies)
- Apply least privilege
- Segment the network

Defence in Depth

No single control is perfect. Layer multiple defences so that if one fails, others still protect:

Perimeter (firewall) → Network (IDS/IPS) → Host (antivirus, EDR)
→ Application (WAF, secure coding) → Data (encryption, DLP)
→ People (security awareness training)

Risk = Likelihood × Impact

A vulnerability with high likelihood of exploitation and high impact = critical risk. Patch it immediately.

Low likelihood + low impact = accept the risk or mitigate later.

Every security decision revolves around three pillars. The CIA Triad is the foundation of information security — memorise it, internalise it, apply it to every problem.

CIA Triad
PillarGoalAttack that breaks itDefence
ConfidentialityOnly authorised users see dataData breach, sniffingEncryption, ACLs, MFA
IntegrityData is accurate and unmodifiedSQL injection, MITM tamperingHashing, digital signatures
AvailabilitySystems reachable when neededDoS/DDoS, ransomwareRedundancy, backups, CDN
A good security control should strengthen at least one pillar without severely weakening another. Trade-offs are constant — heavy encryption can hurt availability if keys are lost.
✦ Answer the questions to complete this task

Which CIA pillar is violated in a ransomware attack that encrypts your files?

Hashing a file to verify it hasn't changed protects which pillar?

Security professionals share a precise vocabulary. These six terms appear in every risk assessment, pentest report, and CVE description.

TermDefinitionExample
AssetWhat you're protectingCustomer database, source code, reputation
ThreatA potential harmful eventHacker exploiting a web app, insider theft
VulnerabilityA weakness that can be exploitedUnpatched Log4j, default password
RiskLikelihood × Impact of a threatHigh-likelihood + high-impact = critical risk
ExploitCode or technique that triggers a vulnMetasploit module, proof-of-concept script
ControlA safeguard that reduces riskWAF, firewall rule, security training
Risk = Threat × Vulnerability × Asset Value. You can't eliminate all risk — you manage it by reducing likelihood (patches) or impact (backups).
✦ Answer the questions to complete this task

An unpatched Apache server running outdated software is a:

Which term describes the overall chance and impact of a harmful event?

The Cyber Kill Chain (Lockheed Martin, 2011) describes the 7 stages of a cyberattack. Defenders use it to identify where to interrupt an attacker's progress.

Cyber Kill Chain — 7 Phases
PhaseWhat attacker doesDefender action
1. ReconnaissanceScan ports, OSINT on LinkedInMonitor for port scans, restrict public info
2. WeaponisationBuild exploit + payloadThreat intel feeds, sandbox detection
3. DeliveryPhishing email, malicious USBEmail gateway, user awareness training
4. ExploitationTrigger vulnerabilityPatch management, WAF, EDR
5. InstallationDrop malware/backdoorAV/EDR, application allowlisting
6. C2Phone home to attacker serverBlock suspicious outbound, DNS filtering
7. ActionsExfiltrate data, ransom, destroyDLP, SIEM alerts, incident response
⚠ Security: The earlier you detect and block the attacker, the less damage they cause. Stopping at Delivery (phase 3) is far better than stopping at Actions (phase 7).
✦ Answer the questions to complete this task

In the Kill Chain, which phase involves sending a phishing email?

An attacker's malware connecting back to their server is which Kill Chain phase?

Threat modelling is a structured process for identifying what can go wrong in a system. STRIDE is the most widely used framework, developed at Microsoft.

LetterThreatCIA Pillar violatedExample
S — SpoofingPretending to be someone elseConfidentialityForged JWT token
T — TamperingModifying data without permissionIntegritySQL injection altering records
R — RepudiationDenying an action occurredIntegrityNo audit logs = can't prove who did what
I — Information DisclosureExposing data to unauthorised usersConfidentialityVerbose error messages
D — Denial of ServiceMaking a service unavailableAvailabilityDDoS flood
E — Elevation of PrivilegeGaining higher permissionsAll threeLocal privesc to root/SYSTEM
Threat modelling answer: What are we building? What can go wrong? What are we doing about it? Did we do a good job?
✦ Answer the questions to complete this task

In STRIDE, an attacker performing a DDoS attack represents which threat?

A user forging another user's authentication token is an example of:

💪 Exercises & Challenges

📝 MCQ Easy +20 XP

CIA Triad Quiz

Test your understanding of the CIA Triad and core security concepts.

Start →
🚩 Challenge Easy +15 XP

Classify the Security Incident

Identify which CIA pillar is violated in a real-world scenario.

Start →
⚙️ Practical Easy +25 XP

System Hardware Inventory

## Explore Your System Hardware ```bash # CPU info lscpu cat /proc/cpuinfo | grep "model name" | head -1 # RAM free -h cat /proc/meminfo | head -10 # Storage lsblk df -h # All hardware summary sud

Start →
🚩 Challenge Easy +50 XP

Hex to Decimal

Convert hex value `0xC0` to decimal. Submit as `FLAG{decimal_value}`.

Start →