Courses3 levels
Level 1 · Foundations11 courses
Level 2 · Core5 courses
Level 3 · Advanced5 courses
Labs8 topics
Library Practice exams AI Range Pricing Start free

Practice library / Security fundamentals

Workbook · Easy · 3 hours

Cybersecurity Essentials

The CIA triad, threat actors, vulnerability lifecycle, and security frameworks.

  • cia-triad
  • threat-modeling
  • security-frameworks
  • pentest-lifecycle
On this page 10 sections
  1. ·Chapter 1 — The CIA Triad
  2. ·Chapter 2 — Threat Actors
  3. ·Chapter 3 — Attack Types
  4. ·Chapter 4 — Vulnerability Management
  5. ·Chapter 5 — Penetration Testing Methodology
  6. ·Chapter 6 — OWASP Top 10 (2021)
  7. ·Chapter 7 — Cryptography Basics
  8. ·Chapter 8 — Authentication & Access Control
  9. ·Chapter 9 — Defence Concepts
  10. ·Chapter 10 — Certifications Roadmap

Every security engineer shares one vocabulary: the CIA triad, threat actors, vulnerabilities, defences, and the lifecycle that turns them into a test. This workbook covers that vocabulary. It walks through confidentiality, integrity, availability and the extra principles; the classes of threat actor and attack; CVE and CVSS; the OWASP Top 10; and the six phases of a professional penetration test. It also sketches a certification roadmap, from Security+ to OSCP, so that you can plan your own path. The chapters are deliberately conceptual, because the terms here show up in every later workbook and every lab report that you will write.

Chapter 1 — The CIA Triad

The CIA Triad is the foundational model for information security. Every security control, threat, and attack can be mapped to at least one of its three pillars.

Confidentiality

Information is only accessible to those authorised to see it. Broken by: eavesdropping, credential theft, data breaches.

Integrity

Data is accurate and has not been altered. Broken by: man-in-the-middle, SQL injection, ransomware.

Availability

Systems and data are accessible when needed. Broken by: DDoS attacks, ransomware, hardware failure.

Additional Principles

  • Non-repudiation — A user cannot deny an action they performed (digital signatures prove this)
  • Authentication — Verifying identity (something you know/have/are)
  • Authorisation — What an authenticated user is permitted to do
  • Accounting/Auditing — Logging who did what and when

Chapter 2 — Threat Actors

ActorMotivationSkillExample
Script KiddieThrill, notorietyLowRunning downloaded tools without understanding them
HacktivistPolitical/socialMediumAnonymous DDoS campaigns
CybercriminalFinancial gainMedium–HighRansomware gangs, card skimming
Insider ThreatRevenge, profitVariableDisgruntled employee stealing data
Nation-State APTEspionage, sabotageVery HighStuxnet, SolarWinds
Penetration TesterAuthorised testingHighHired to find weaknesses before attackers do

Chapter 3 — Attack Types

Network Attacks

  • Reconnaissance — Passive (OSINT, Google dorking) and active (port scanning, ping sweeps)
  • Man-in-the-Middle (MitM) — ARP spoofing, SSL stripping, DNS poisoning
  • DoS/DDoS — SYN flood, UDP flood, volumetric attacks, application layer (Layer 7)
  • Packet Sniffing — Capturing cleartext credentials on unencrypted protocols

Application Attacks

  • SQL Injection — Manipulating database queries via unsanitised input
  • XSS (Cross-Site Scripting) — Injecting malicious JavaScript into web pages
  • CSRF — Tricking authenticated users into performing unintended actions
  • File Inclusion — LFI/RFI: including local or remote files through vulnerable parameters
  • Command Injection — Executing OS commands via web application input

Social Engineering

  • Phishing — Deceptive emails to steal credentials or deliver malware
  • Spear Phishing — Targeted phishing using personal information
  • Vishing — Phone-based social engineering
  • Pretexting — Creating a fabricated scenario to manipulate a target

Chapter 4 — Vulnerability Management

CVE & CVSS

CVE (Common Vulnerabilities and Exposures) is the standardised naming system for known vulnerabilities. Each CVE has an ID like CVE-2021-44228 (Log4Shell).

CVSS (Common Vulnerability Scoring System) scores vulnerabilities 0–10:

ScoreSeverity
0.0None
0.1–3.9Low
4.0–6.9Medium
7.0–8.9High
9.0–10.0Critical
# Search CVEs from command line
searchsploit apache 2.4.49
searchsploit -m 50383   # copy exploit to current dir

# Update searchsploit database
sudo searchsploit -u

Chapter 5 — Penetration Testing Methodology

Professional penetration testing follows a defined lifecycle. Every phase feeds information into the next.

1

Planning & Scoping

Define what is in scope (IPs, domains, applications), rules of engagement, testing windows, and emergency contacts. Get the Statement of Work (SoW) signed.

2

Reconnaissance

Passive: WHOIS, DNS records, Google dorking, LinkedIn, Shodan, Censys — no direct contact with the target. Active: Nmap scans, banner grabbing — direct interaction with target systems.

3

Scanning & Enumeration

Port scanning, service version detection, OS fingerprinting. Enumerate web directories, SMB shares, SNMP, SMTP users, FTP banners. Build a complete picture of the attack surface.

4

Exploitation

Gain initial access: exploit vulnerabilities, use found credentials, phish users. Document every step — screenshots, commands, output. Never modify or delete data.

5

Post-Exploitation

Establish persistence, escalate privileges, pivot to other systems, dump credentials. Demonstrate business impact: "We accessed the payroll database" is more compelling than "We got a shell."

6

Reporting

Write an executive summary (non-technical) and a technical report with: finding severity, affected systems, proof-of-concept steps, and remediation recommendations.

Chapter 6 — OWASP Top 10 (2021)

#CategoryExample
A01Broken Access ControlAccessing another user's account by changing an ID in the URL
A02Cryptographic FailuresStoring passwords in MD5, transmitting data over HTTP
A03InjectionSQL injection, command injection, LDAP injection
A04Insecure DesignNo rate limiting on login page, no security in SDLC
A05Security MisconfigurationDefault credentials, exposed admin panels, verbose errors
A06Vulnerable & Outdated ComponentsRunning Apache 2.4.49 (CVE-2021-41773)
A07Identification & Auth FailuresWeak passwords, no MFA, broken session management
A08Software & Data Integrity FailuresInsecure deserialization, unsigned updates
A09Security Logging & Monitoring FailuresNo logs, no alerts for brute force attacks
A10Server-Side Request Forgery (SSRF)Fetching internal metadata endpoints via user-supplied URL

Chapter 7 — Cryptography Basics

Symmetric vs Asymmetric

  • Symmetric — The same key encrypts and decrypts. It is fast, but key sharing is the problem. Examples: AES-256, ChaCha20, DES (weak)
  • Asymmetric — The public key encrypts and the private key decrypts. It is slow, but it solves key distribution. Examples: RSA, ECC, Diffie-Hellman

Hashing

A hash is a one-way function that turns input into a fixed-length digest. Hashes are used for password storage, file integrity, and digital signatures. Never encrypt passwords — hash them.

# Generate hashes on Linux
echo -n "password" | md5sum
echo -n "password" | sha256sum
echo -n "password" | sha512sum

# OpenSSL
openssl dgst -sha256 file.txt
openssl rand -hex 32   # generate random key

# Base64 (NOT encryption — just encoding)
echo "hello" | base64
echo "aGVsbG8K" | base64 -d

Chapter 8 — Authentication & Access Control

Authentication Factors

  • Something you know — Password, PIN, security question
  • Something you have — Hardware token, smart card, phone (OTP)
  • Something you are — Fingerprint, face recognition, retina scan

Common Auth Weaknesses

  • Default credentials not changed (admin:admin, admin:password)
  • No account lockout policy (allows unlimited brute force)
  • Weak password policy (minimum 6 chars, no complexity)
  • Session tokens predictable or transmitted over HTTP
  • Passwords stored in plaintext or weak hash (MD5)

Chapter 9 — Defence Concepts

Defence in Depth

Layer multiple security controls so that if one fails, others still protect the asset. Examples: firewall + IDS + endpoint AV + network segmentation + MFA + logging.

Key Defensive Technologies

TechnologyWhat it Does
FirewallFilters traffic by IP/port/protocol rules
IDS/IPSDetects (IDS) or blocks (IPS) malicious patterns
WAFFilters HTTP requests — blocks SQLi, XSS, etc.
SIEMAggregates and correlates logs from all sources
EDREndpoint detection — behaviour-based AV replacement
MFASecond factor prevents credential-only attacks
Network SegmentationVLANs and ACLs limit lateral movement
Patch ManagementClose known CVEs before attackers exploit them

Chapter 10 — Certifications Roadmap

Certifications show employers that a candidate's skills are validated. The following is a recommended progression for offensive security.

1

CompTIA Security+ — Start Here

This is an entry-level certification. It covers fundamental security concepts, threats, cryptography, and compliance. It is a US DoD baseline requirement. It has no prerequisites.

2

eJPT (eLearnSecurity Junior Penetration Tester)

A practical, beginner-friendly exam. It is a suitable first certification for aspiring penetration testers. It is relatively inexpensive.

3

CompTIA PenTest+ / CEH

Mid-level certifications. PenTest+ is more practical; CEH is more theory-heavy. Employers sometimes list them as job requirements.

4

OSCP (Offensive Security Certified Professional)

A widely recognised certification. The 24-hour hands-on exam requires candidates to compromise a series of machines. Prepare with HackTheBox and the labs on this site.

5

OSEP / OSED / OSWE — Advanced Specialisations

Offensive Security's advanced tracks: Evasion (OSEP), Exploit Dev (OSED), Web Expert (OSWE). Take these after OSCP.

Workbook complete. You now have a solid conceptual foundation. Continue with the CCNA Foundation workbook or start the labs.

Sign in to track progress and send feedback.

Related

This workbook is extra practice for the course Security fundamentals. Do the lessons first.Open the course