Cybersecurity Fundamentals

CIA Triad, threat actors, common attack types, defence-in-depth, and how security teams operate.

Easy 40m 4 tasks

Learning Objectives

  • Apply the CIA Triad to real security decisions
  • Classify threat actors by motivation and capability
  • Describe defence-in-depth and the principle of least privilege
  • Identify common attack categories: phishing, injection, MITM, DoS

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 control either protects Confidentiality, Integrity, or Availability — or trades one for another. The CIA Triad is your decision-making framework.

CIA Triad
ScenarioViolated PillarCorrect Response
Ransomware encrypts all filesAvailability (+ Integrity)Offline backups, incident response, restore
Employee leaks customer PIIConfidentialityDLP, access control review, encrypt at rest
Attacker modifies a financial recordIntegrityAudit logs, hashing, digital signatures
DDoS knocks down e-commerce siteAvailabilityCDN scrubbing, rate limiting, failover
SQL injection exposes user databaseConfidentialityInput validation, parameterised queries, WAF
Security trade-offs are constant: more Confidentiality (encrypt everything, require MFA) can hurt Availability (users get locked out). Balance is the job.
✦ Answer the questions to complete this task

A DDoS attack that takes down a website violates which CIA pillar?

Digital signatures protect which pillar?

Not all attackers are the same. Knowing who might attack you determines what controls make sense. A nation-state and a script kiddie require very different defences.

Threat ActorMotivationCapabilityExample
Script KiddieNotoriety, boredomLow — uses existing toolsRunning Metasploit modules with no understanding
CybercriminalFinancial gainMedium-HighRansomware gangs, phishing-as-a-service operators
HacktivistPolitical/social messageMediumAnonymous DDoS of government sites
Insider ThreatRevenge, money, coercionHigh (has access)Sysadmin selling database to competitor
Nation-State (APT)Espionage, sabotageVery HighStuxnet (Iran nuclear), SolarWinds supply chain
⚠ Security: Insider threats are the hardest to detect — they already have legitimate access. Defence: least privilege, separation of duties, DLP, and behaviour analytics (UEBA).
✦ Answer the questions to complete this task

Which threat actor type is motivated by financial gain and commonly uses ransomware?

What makes insider threats particularly dangerous?

Defence-in-depth means layering multiple security controls so that when one fails, others still protect you. No single control is perfect.

Defence-in-Depth Layers
LayerExamplesWhat it stops
PerimeterFirewall, DDoS scrubbing, DMZBlocks most unsolicited inbound traffic
NetworkIDS/IPS, VPN, NAC, VLANsDetects lateral movement, segments traffic
EndpointEDR, AV, patch management, disk encryptionCatches malware, protects stolen hardware
ApplicationWAF, input validation, SAST/DASTBlocks SQLi, XSS, injection attacks
DataEncryption at rest, DLP, backupsLimits impact of breach; enables recovery
Zero Trust extends defence-in-depth: never trust, always verify. Even traffic already inside the network must authenticate and be authorised for every resource request.
✦ Answer the questions to complete this task

In defence-in-depth, what does the 'endpoint' layer include?

Zero Trust assumes:

Most attacks fall into a small number of categories. Recognising the category instantly tells you what family of defences applies.

🎣 Phishing / Social Engineering

Trick humans into credentials or access. Spear-phishing targets specific individuals. Vishing = voice phishing. Pretexting = fake scenario.

Defence: awareness training, MFA, email filtering

💉 Injection Attacks

SQL injection, command injection, XSS — attacker sends malicious data that gets executed. Most common web vulnerability category (OWASP #1).

Defence: input validation, parameterised queries, CSP

🕵️ Man-in-the-Middle (MITM)

Attacker intercepts communication between two parties. ARP spoofing (LAN), evil twin WiFi, SSL stripping. Enables eavesdropping + modification.

Defence: TLS everywhere, HSTS, certificate pinning

💥 DoS / DDoS

Flood targets with traffic or requests to exhaust resources. DDoS uses botnets of thousands of machines. Amplification attacks (DNS/NTP) multiply traffic.

Defence: rate limiting, CDN scrubbing, anycast routing
✦ Answer the questions to complete this task

Spear phishing differs from regular phishing because:

Parameterised queries (prepared statements) prevent:

💪 Exercises & Challenges

⚙️ Practical Easy +25 XP

Attack Surface Mapping

## Task: Map Your Own Attack Surface **Step 1 — Port scan your own system:** ```bash sudo nmap -sV localhost ``` **Step 2 — List listening services:** ```bash ss -tlnp # TCP listening ports ss -

Start →
🚩 Challenge Easy +50 XP

CIA Classification

An attacker intercepts HTTPS traffic between a user and their bank by performing a MITM attack, reading account balances without modifying anything. Which CIA pillar is violated? Submit: `FLAG{CIA_pi

Start →