Cybersecurity Field Guide Beginner's Reference & Study Companion

Cybersecurity: A Beginner's Field Guide

A single-page reference covering the vocabulary, concepts, threats, defences, and career paths of modern cybersecurity β€” written for people starting from zero. Read it top to bottom, or jump straight to whatever you need.

20 chapters Plain-language explanations Tables & checklists Searchable glossary No prior experience needed
Chapter 01

What Is Cybersecurity?

Cybersecurity is the practice of protecting computers, networks, programs, and data from unauthorised access, damage, disruption, or theft β€” and doing so while the systems remain usable by the people who are supposed to use them.

It is not a product you buy, and it is not a problem you solve once. It is an ongoing process of managing risk: deciding what you need to protect, understanding what could go wrong, and putting reasonable controls in place. Perfect security does not exist. The goal is to make attacks expensive, slow, noisy, and unlikely to succeed.

Why it matters

  • Money. Ransomware and business email compromise cost organisations billions every year.
  • Privacy. Breaches expose personal data β€” health records, addresses, financial details.
  • Safety. Security failures in hospitals, power grids, water systems, and vehicles can kill people.
  • Trust. A single incident can destroy customer confidence and a company's reputation.
  • Legal duty. Laws such as GDPR, HIPAA, and PCI-DSS require organisations to protect data.

The three ideas beginners must separate

Asset

What you have

Anything valuable: data, laptops, servers, source code, accounts, reputation, or the ability to keep operating.

Vulnerability

A weakness

A flaw or gap that could be exploited β€” an unpatched bug, a weak password, a misconfigured firewall, a careless habit.

Threat

Who or what exploits it

A person, group, or event that can act on a vulnerability: a criminal, a nation-state, a malicious insider, a natural disaster.

The core equation

Risk = Likelihood Γ— Impact. A vulnerability with no one able to exploit it is low risk. A threat with nothing to attack is low risk. You reduce risk by reducing the likelihood (hardening, patching, training) or the impact (backups, segmentation, insurance, incident plans).

Who attacks, and why?

Common threat actor categories
Actor Motivation Skill / Resources Typical Targets
Script kiddie / opportunist Curiosity, bragging rights, easy money Low β€” uses ready-made tools Anything unpatched and internet-facing
Cybercriminal Profit (ransomware, fraud, data sale) Medium to high, well organised, "crime-as-a-service" Businesses of all sizes, individuals
Insider Revenge, money, ideology, negligence Varies β€” but already has access Their own employer's data and systems
Hacktivist Political or social message Low to medium Governments, corporations, media
Nation-state / APT Espionage, sabotage, influence Very high, heavily funded, patient Governments, critical infrastructure, defence, research
Competitor Trade secrets, advantage Medium to high Rival firms, their suppliers

Defence in depth

No single control stops everything. Defence in depth means layering independent protections so that when one fails, another still stands between the attacker and the asset. A typical layering might be:

  1. Physical β€” locks, badges, guards, cameras.
  2. Perimeter β€” firewalls, VPN gateways, DDoS protection.
  3. Network β€” segmentation, intrusion detection, encrypted traffic.
  4. Endpoint β€” patching, antivirus/EDR, disk encryption.
  5. Application β€” secure code, input validation, WAF.
  6. Data β€” encryption at rest, access controls, backups.
  7. Identity β€” MFA, least privilege, privileged access management.
  8. People β€” awareness training, phishing simulations, clear policy.
  9. Process β€” monitoring, incident response, recovery, lessons learned.
Chapter 02

Core Security Principles

These principles appear again and again in every framework, standard, and job interview. Learn them properly and the rest of the field becomes much easier to navigate.

The CIA Triad

The CIA Triad is the foundation of information security. Every control you ever implement exists to protect one or more of these three properties.

C

Confidentiality

Only authorised people can read the data. Protected by encryption, access control, and classification.

Broken by: data breaches, eavesdropping, stolen laptops, oversharing.

I

Integrity

Data is accurate and has not been tampered with. Protected by hashing, checksums, version control, and digital signatures.

Broken by: unauthorised edits, malware, transmission errors.

A

Availability

Systems and data are accessible when needed. Protected by redundancy, backups, DDoS mitigation, and capacity planning.

Broken by: ransomware, DDoS, hardware failure, accidental deletion.

Quick test

When you evaluate any security decision, ask: "Which leg of the triad does this protect, and which leg might it hurt?" A very strict password policy improves confidentiality but can hurt availability if users get locked out β€” good security balances all three.

AAA: Authentication, Authorisation, Accounting

  • Authentication β€” proving who you are. ("Are you really Alice?")
  • Authorisation β€” deciding what you are allowed to do. ("Alice may read the finance folder but not delete it.")
  • Accounting / Auditing β€” recording what you did, so it can be reviewed later. ("Alice opened the file at 14:02.")

Other principles worth memorising

Foundational security principles
Principle Meaning in practice
Least privilege Give every user, service, and process the minimum access needed to do its job β€” and nothing more.
Need to know Access to information is granted based on relevance to the person's role, not on seniority or convenience.
Separation of duties Split sensitive tasks between multiple people so no single person can commit fraud alone.
Fail securely When a system errors, it should default to a safe state (deny access) rather than an open one.
Defence in depth Layer independent controls so no single failure is catastrophic.
Zero trust "Never trust, always verify." Do not assume anything inside the network is safe; authenticate and authorise every request.
Assume breach Design as though an attacker is already inside: segment networks, log everything, limit lateral movement.
Attack surface reduction Every open port, service, account, and feature is something that can be attacked. Remove what you don't need.
Keep it simple Complex systems are hard to secure and hard to audit. Simplicity is a security feature.
Non-repudiation Prove that an action happened and who did it, so they cannot deny it later. Digital signatures enable this.
Security through obscurity is not enough Hiding something (a port number, a secret URL) can be an extra layer, but never the only one.

Control types

By function

Preventive β€” stops an event (firewall, lock).
Detective β€” notices an event (IDS, log alerts).
Corrective β€” fixes after an event (restore from backup, patch).

By nature

Technical β€” software/hardware (encryption, MFA).
Administrative β€” policy, process, training.
Physical β€” fences, locks, guards.

Chapter 03

Networking Fundamentals

You cannot secure what you do not understand. Nearly every attack travels over a network, so a working knowledge of how data moves is essential.

The OSI model (and why anyone cares)

The OSI model is a seven-layer description of how network communication works. It is a teaching tool, but security professionals use it constantly to describe where an attack happens and where a defence belongs.

The OSI model with security relevance
# Layer What it does Examples Security angle
7 Application Interfaces users and apps interact with HTTP, DNS, SMTP, FTP Phishing, SQL injection, XSS, malware downloads
6 Presentation Formatting, encoding, encryption TLS, JPEG, ASCII Encryption failures, weak cipher suites
5 Session Opens and manages conversations RPC, NetBIOS, session cookies Session hijacking, cookie theft
4 Transport End-to-end delivery, ports TCP, UDP Port scanning, SYN floods, UDP amplification
3 Network Routing between networks, logical addressing IP, ICMP, IPSec IP spoofing, ICMP tunnels, routing attacks
2 Data Link Local delivery on the same link, MAC addresses Ethernet, ARP, Wi-Fi (802.11) ARP spoofing, MAC flooding, rogue access points
1 Physical Cables, radio waves, signals Copper, fibre, radio Cable tapping, wire cutting, jamming

Handy mnemonic (7β†’1): All People Seem To Need Data Processing.

IP addresses and subnets

  • IPv4 β€” 32-bit address, written as four octets, e.g. 192.168.1.10. About 4.3 billion possible addresses, which ran out.
  • IPv6 β€” 128-bit address, e.g. 2001:0db8::1428:57ab. Effectively unlimited.
  • Private ranges (not routable on the internet): 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. Devices here reach the internet via NAT.
  • Loopback β€” 127.0.0.1 (localhost), the machine talking to itself.
  • Subnet mask / CIDR β€” /24 means the first 24 bits identify the network, leaving 254 usable host addresses.

TCP vs UDP

TCP β€” reliable

Three-way handshake (SYN β†’ SYN-ACK β†’ ACK), ordered delivery, retransmits lost packets. Used by HTTP, SSH, email.

Attacked with: SYN floods, session hijacking, TCP reset attacks.

UDP β€” fast, fire-and-forget

No handshake, no delivery guarantee. Used by DNS, streaming, VoIP, online games.

Attacked with: spoofed-source amplification floods (DNS, NTP, memcached).

Ports you should recognise

Well-known ports and their security relevance
Port Protocol Notes
20 / 21FTPUnencrypted file transfer β€” credentials sent in clear text. Use SFTP or FTPS instead.
22SSHEncrypted remote shell. Hardened with keys, not passwords.
23TelnetUnencrypted remote shell. Should be disabled everywhere.
25SMTPMail transfer. Frequently abused for spam relaying.
53DNSName resolution. Target of spoofing, tunnelling, and amplification attacks.
67 / 68DHCPAutomatic IP configuration. Rogue DHCP servers can redirect traffic.
80HTTPUnencrypted web. Should redirect to 443.
110 / 143POP3 / IMAPMail retrieval. Prefer the encrypted variants 995 / 993.
123NTPTime sync. Bad time breaks TLS and log correlation.
161 / 162SNMPDevice management. Default community strings are a classic weakness.
389 / 636LDAP / LDAPSDirectory services β€” the backbone of enterprise authentication.
443HTTPSEncrypted web traffic.
445SMBWindows file sharing. Historically the vector for WannaCry and similar worms.
1433 / 1521 / 3306 / 5432MSSQL / Oracle / MySQL / PostgreSQLDatabases. Never expose directly to the internet.
3389RDPRemote Desktop. A favourite ransomware entry point when exposed.
5900VNCRemote desktop. Often weak or absent authentication.
6379 / 27017Redis / MongoDBDatabases that have shipped with no auth by default β€” a recurring breach cause.

DNS, in one paragraph

DNS translates human names (example.com) into IP addresses. It is a hierarchical, cached, distributed database. Because it was designed without authentication, it is vulnerable to spoofing and cache poisoning. DNSSEC adds cryptographic signatures to DNS records to prove they are genuine, and DoH/DoT (DNS over HTTPS/TLS) encrypts the queries themselves.

NAT, proxies, and VPNs

  • NAT (Network Address Translation) lets many private devices share one public IP. It hides internal structure but is not a security control by itself.
  • Proxy β€” an intermediary that forwards requests. Can filter, log, and cache. A reverse proxy sits in front of servers; a forward proxy sits in front of clients.
  • VPN β€” an encrypted tunnel between two points. Useful on untrusted Wi-Fi and for remote access. It hides traffic from the local network but not from the VPN provider or the destination.
Chapter 04

Threats & Attacks

A tour of the techniques attackers actually use, grouped by what they are trying to achieve. You do not need to memorise every variant β€” you need to recognise the patterns.

The attack lifecycle

Most intrusions follow a recognisable sequence. Security teams map their defences to each stage in the hope of breaking the chain somewhere.

  1. Reconnaissance β€” gathering information (public records, job ads, port scans, social media).
  2. Initial access β€” phishing, exposed service, stolen credentials, supply chain.
  3. Execution β€” running code on the target.
  4. Persistence β€” ensuring access survives reboots and password changes.
  5. Privilege escalation β€” moving from a normal user to administrator/root.
  6. Defence evasion β€” disabling logs, obfuscating code, hiding in legitimate tools.
  7. Credential access β€” dumping password hashes, keylogging, token theft.
  8. Discovery β€” mapping the internal network and finding valuable systems.
  9. Lateral movement β€” hopping from machine to machine.
  10. Collection & exfiltration β€” gathering and stealing data.
  11. Impact β€” encryption (ransomware), deletion, sabotage, extortion.

Attack categories

Common attack types and their defences
Attack What it is Primary defence
Phishing Deceptive email/message that tricks a user into clicking, downloading, or handing over credentials. Email filtering, MFA, user training, DMARC/SPF/DKIM.
Spear phishing Highly targeted phishing, personalised using research on the victim. Training, verification procedures, MFA.
Vishing / Smishing Phishing by voice call or SMS. Callback verification, awareness, number filtering.
Business Email Compromise Impersonating an executive or supplier to trigger a fraudulent payment. Dual approval for payments, out-of-band verification.
Credential stuffing Replaying username/password pairs leaked from other sites. MFA, breach monitoring, unique passwords.
Brute force / password spraying Guessing passwords β€” many per account, or one common password across many accounts. Rate limiting, lockout policies, MFA, long passwords.
Man-in-the-Middle Intercepting traffic between two parties (rogue Wi-Fi, ARP spoofing). TLS with certificate validation, VPN, HSTS.
DoS / DDoS Flooding a service with traffic to make it unavailable. CDN/DDoS scrubbing, rate limiting, autoscaling.
SQL injection Injecting database commands through unsanitised input. Parameterised queries, input validation, least-privilege DB accounts.
Cross-site scripting (XSS) Injecting script that runs in another user's browser. Output encoding, Content Security Policy, input validation.
Cross-site request forgery (CSRF) Tricking a logged-in user's browser into sending an unwanted request. Anti-CSRF tokens, SameSite cookies.
Zero-day Exploiting a vulnerability before the vendor has a patch. Defence in depth, EDR behaviour monitoring, network segmentation.
Supply chain attack Compromising a trusted vendor, library, or update mechanism. Vendor risk management, SBOMs, code signing, dependency pinning.
Insider threat Malicious or negligent action by someone with legitimate access. Least privilege, monitoring, offboarding procedures, culture.
Privilege escalation Gaining higher permissions than intended. Patching, secure configuration, removing unnecessary privileges.
Lateral movement Moving through the network after initial access. Network segmentation, tiered admin accounts, monitoring.
Eavesdropping / sniffing Capturing traffic on a network to read data or credentials. Encryption everywhere, switched networks, 802.1X.
Session hijacking Stealing a valid session token to impersonate a user. HTTPS, HttpOnly/Secure cookies, short session lifetimes.
DNS poisoning Corrupting DNS records so users are sent to attacker-controlled servers. DNSSEC, trusted resolvers, DoH/DoT.
Watering hole Compromising a website the target group is known to visit. Endpoint protection, patching browsers, sandboxing.
Evil twin / rogue AP A fake Wi-Fi access point that mimics a legitimate one. WPA3, VPN, certificate validation, user awareness.
Terminology note

Vulnerability = the weakness. Exploit = the technique or code that uses it. Payload = what the exploit delivers (a shell, a ransomware binary). Zero-day = a vulnerability with no available patch. People use these loosely, but precision helps when reading reports.

Chapter 05

Malware Deep Dive

Malware is any software written to cause harm, gain unauthorised access, or steal information. Categories overlap heavily β€” real samples often combine several.

Malware families
Type Behaviour Spread
Virus Attaches to a file or program; runs when the host runs. Needs a user action (opening a file, sharing a USB stick).
Worm Self-replicating; spreads without any user action. Network vulnerabilities, shared folders, email.
Trojan Pretends to be legitimate software but performs hidden malicious actions. Downloads, cracked software, fake updates.
Ransomware Encrypts files and demands payment for the decryption key; often also steals data for double extortion. Phishing, exposed RDP, exploit kits, supply chain.
Spyware Secretly monitors activity and reports it back. Bundled software, malicious ads, phishing.
Keylogger Records keystrokes to capture passwords and messages. Software install or physical hardware device.
Rootkit Hides itself and other malware deep in the operating system. Privilege escalation, bootkit installation.
Botnet client Turns the device into a remotely controlled "bot" for DDoS, spam, or crypto-mining. Phishing, exploit kits, insecure IoT devices.
Adware Forces unwanted advertising; sometimes a delivery vehicle for worse payloads. Bundled installers, browser extensions.
Cryptominer Uses the victim's CPU/GPU to mine cryptocurrency, driving up costs and heat. Web pages (cryptojacking), compromised servers.
Fileless malware Lives in memory or in legitimate tools (PowerShell, WMI) and leaves little on disk. Macro documents, exploitation frameworks.
Logic bomb Triggers malicious action when a condition is met (a date, a departure from the company). Planted by an insider.
Wiper Destroys data with no recovery option β€” sabotage rather than profit. Targeted intrusion, nation-state operations.

How malware gets in

  • Phishing attachments and links β€” still the number-one entry point.
  • Unpatched, internet-facing services β€” VPN appliances, web servers, RDP.
  • Malicious or compromised websites β€” drive-by downloads and exploit kits.
  • USB drives and removable media β€” especially in air-gapped environments.
  • Supply chain compromise β€” a trusted update channel turned hostile.
  • Pirated software and fake installers β€” a reliable delivery mechanism.
  • Misconfigured cloud storage β€” not malware, but a direct path to the data.

Defences that actually work

  • Patch promptly. Most successful attacks use known vulnerabilities with available fixes.
  • Use EDR, not just antivirus. Signature-based AV misses new and fileless threats; EDR watches behaviour.
  • Block macros by default in Office documents from the internet.
  • Application allow-listing β€” only approved software runs.
  • Backups, offline and tested. The 3-2-1 rule: 3 copies, 2 media types, 1 off-site/offline.
  • Network segmentation to slow lateral movement.
  • Disable unused services and ports.
Ransomware reality check

Paying does not guarantee recovery, funds further crime, and may be illegal if the recipient is a sanctioned entity. The only reliable recovery is a tested backup. Test restores regularly β€” an untested backup is a hope, not a plan.

Chapter 06

Social Engineering

Social engineering attacks people rather than machines. It is often cheaper and more reliable than finding a software vulnerability β€” which is why it works so well.

Why it works: the psychological levers

Authority

"I'm calling from IT, I need your password to fix an issue." People comply with perceived authority.

Urgency

"Your account will be deleted in 30 minutes." Time pressure short-circuits careful thinking.

Familiarity & liking

Impersonating a colleague, supplier, or friend lowers suspicion.

Reciprocity

Offering small help first makes the target more willing to return the favour.

Social proof

"Everyone else has already completed this form."

Fear & curiosity

"Your account has been compromised, click here" or "See who viewed your profile."

Common techniques

  • Pretexting β€” inventing a scenario to justify the request (an auditor, a new starter, a delivery driver).
  • Baiting β€” leaving a tempting USB stick or download where it will be found.
  • Tailgating / piggybacking β€” following an authorised person through a secure door.
  • Quid pro quo β€” offering a service in exchange for information.
  • Whaling β€” targeting senior executives, who often have the most access and the least time.
  • Deepfake & voice cloning β€” using AI-generated audio or video to impersonate an executive on a call.
  • Shoulder surfing β€” watching someone type a PIN or password.
  • Dumpster diving β€” recovering documents from discarded waste.

Spotting a phishing email

  • Unexpected message, especially about invoices, passwords, or deliveries.
  • Urgency or threats β€” "immediate action required", "account suspended".
  • Sender address looks almost right: support@micros0ft.com.
  • Links whose visible text differs from the actual destination (hover to check).
  • Generic greeting when the sender should know your name.
  • Grammar, spelling, or formatting that feels slightly off.
  • Requests for credentials, payment details, gift cards, or MFA codes.
  • Attachments you did not expect β€” especially .zip, .iso, .html, macro-enabled Office files.
  • Reply-to address different from the "from" address.
  • Pressure to bypass a normal process "just this once".
The universal rule

Verify out of band. If someone contacts you asking for money, credentials, or access, hang up and call them back on a number you already trust β€” not the one they gave you. No legitimate organisation will object to this.

Building a human firewall

  • Regular, short, relevant awareness training β€” not a once-a-year video.
  • Simulated phishing campaigns with constructive follow-up, never punishment.
  • A blame-free reporting culture: reward people who report mistakes quickly.
  • Simple, documented verification procedures for payments and access requests.
  • Technical backstops so a single click is not catastrophic: MFA, least privilege, EDR.
Chapter 07

Cryptography

Cryptography protects confidentiality, integrity, and authenticity. You do not need the mathematics to use it safely β€” but you do need to know which tool does what.

The three pillars

Confidentiality

Encryption

Scrambles data so only someone with the key can read it. Reversible by design.

Integrity

Hashing

Produces a fixed-length fingerprint. Any change to the input changes the hash. One-way.

Authenticity

Signatures

Proves who created a message and that it has not been altered. Uses asymmetric keys.

Symmetric encryption

One shared key encrypts and decrypts. It is fast and efficient β€” ideal for bulk data like files and disk volumes. The hard part is distributing the key securely.

  • AES β€” the modern standard. AES-128 and AES-256 are both considered strong.
  • ChaCha20 β€” fast in software, common on mobile.
  • 3DES, DES, RC4, Blowfish β€” legacy or broken. Do not use for new work.
  • Modes matter. Use AES-GCM or ChaCha20-Poly1305 (authenticated encryption). Avoid ECB, which leaks patterns.

Asymmetric encryption

A mathematically linked key pair: a public key anyone may have, and a private key only you hold. It solves key distribution but is much slower, so it is normally used to exchange a symmetric key rather than to encrypt bulk data.

  • RSA β€” widely used; key sizes of 2048 bits minimum, 4096 preferred.
  • Elliptic Curve (ECC) β€” equivalent strength with much smaller keys; common in TLS and mobile.
  • Diffie-Hellman / ECDH β€” lets two parties agree on a shared secret over a public channel.
Encrypt vs sign β€” a common confusion

Encrypting with someone's public key gives confidentiality (only their private key can decrypt). Signing with your private key gives authenticity (anyone can verify with your public key). They are different operations with different goals.

Hashing

A hash function takes any input and produces a fixed-size output. It is deterministic, fast, and effectively impossible to reverse. Hashes verify integrity and store passwords safely (with the right construction).

Hash algorithms: use, avoid, and why
Algorithm Output Status Notes
MD5128-bitBrokenCollisions are trivial to produce. Only useful for non-security checksums.
SHA-1160-bitBrokenChosen-prefix collisions demonstrated. Deprecated everywhere.
SHA-256 / SHA-512256 / 512-bitStrongPart of the SHA-2 family; the current default.
SHA-3VariableStrongA different internal design; a good alternative to SHA-2.
bcrypt / scrypt / Argon2VariableStrong (passwords)Deliberately slow and salted. Designed for password storage.

Salting and stretching

  • Salt β€” random data added to each password before hashing, so identical passwords produce different hashes. Defeats rainbow tables.
  • Pepper β€” a secret value added in addition to the salt and stored separately.
  • Stretching / key derivation β€” deliberately repeating the hash many thousands of times so brute-force guessing becomes expensive.

TLS: how HTTPS actually works

TLS (Transport Layer Security) protects data in transit. A simplified handshake:

  1. The client sends a ClientHello with supported cipher suites and a random value.
  2. The server replies with a ServerHello, its certificate, and its own random value.
  3. The client validates the certificate against trusted Certificate Authorities and checks the hostname.
  4. Both sides use Diffie-Hellman to derive a shared session key.
  5. Traffic is encrypted with fast symmetric encryption (AES-GCM or ChaCha20).
  6. Forward secrecy (ephemeral keys) ensures past sessions stay safe even if the server's long-term key is later stolen.

Public Key Infrastructure (PKI)

  • Certificate Authority (CA) β€” a trusted entity that signs certificates.
  • Certificate β€” binds a public key to an identity (a domain name, an organisation).
  • Root store β€” the set of root CAs your OS or browser trusts. Compromise here is catastrophic.
  • Chain of trust β€” root β†’ intermediate β†’ leaf certificate.
  • Revocation β€” CRL and OCSP mechanisms for invalidating certificates early.
  • Let's Encrypt β€” a free, automated CA that made HTTPS universal.

Encryption at rest vs in transit

At rest

Data stored on disk, in databases, or in backups. Full-disk encryption (BitLocker, FileVault, LUKS), database encryption, object-storage encryption.

Protects against: stolen devices, discarded drives, some insider access.

In transit

Data moving across a network. TLS for web and APIs, SSH for shells, VPNs for network links, S/MIME or PGP for email.

Protects against: eavesdropping, tampering, man-in-the-middle.

Cryptographic rules of thumb

  • Never invent your own algorithm or protocol. Use vetted libraries and standard constructions.
  • Never hard-code keys in source code or repositories. Use a secrets manager or KMS.
  • Generate randomness with a CSPRNG, never rand() or timestamps.
  • Use authenticated encryption (AES-GCM, ChaCha20-Poly1305) so tampering is detected.
  • Plan for key rotation and for what happens when a key is compromised.
  • Prepare for post-quantum β€” organisations are already migrating to quantum-resistant algorithms.
Don't roll your own crypto

This is the single most repeated piece of advice in the field, and it is repeated because people keep ignoring it. Even experts get it wrong. Use TLS, use libsodium, use your platform's crypto APIs, and keep them updated.

Chapter 08

Authentication & Identity

Most breaches do not involve clever exploits β€” they involve valid credentials used by the wrong person. Identity is the modern security perimeter.

The three (plus two) authentication factors

Authentication factors
Factor Category Examples Weaknesses
Something you know Knowledge Password, PIN, security question Reused, phished, guessed, leaked
Something you have Possession Phone, hardware token, smart card Lost, stolen, SIM-swapped
Something you are Inherence Fingerprint, face, iris, voice Not revocable, spoofable, privacy concerns
Somewhere you are Location IP range, GPS, office network Spoofable, unreliable
Something you do Behaviour Typing rhythm, gait, mouse patterns Emerging, false positives

Multi-factor authentication (MFA) requires two or more different categories. A password plus a PIN is not MFA β€” both are knowledge factors. A password plus an authenticator app is MFA.

MFA methods ranked

  1. Hardware security keys (FIDO2/WebAuthn) β€” phishing-resistant. The best option available today.
  2. Passkeys β€” FIDO2 credentials synced across your devices. Phishing-resistant and user-friendly.
  3. Authenticator apps (TOTP) β€” time-based codes. Good, but a real-time phishing proxy can relay them.
  4. Push notifications β€” convenient, but vulnerable to "MFA fatigue" β€” attackers spamming prompts until you approve one.
  5. SMS codes β€” better than nothing, but vulnerable to SIM swapping, interception, and SS7 attacks.
  6. Email codes β€” weakest; if your email is compromised, so is everything else.
Number matching

If your organisation uses push-based MFA, enable number matching β€” the user must type a code shown on the login screen. This defeats MFA fatigue attacks almost entirely.

Password guidance that reflects reality

  • Length beats complexity. A long passphrase of four random words is stronger and easier to remember than P@ssw0rd1!.
  • Never reuse passwords. One breach should not unlock ten accounts.
  • Use a password manager. It generates and stores unique credentials; you only memorise one strong master passphrase.
  • Do not force arbitrary rotation. Modern guidance (NIST SP 800-63B) says change passwords on evidence of compromise, not on a calendar.
  • Check breach exposure. Services like Have I Been Pwned tell you if your address appears in known leaks.
  • Block common passwords against a list of known-breached credentials.

Single Sign-On and federation

  • SSO β€” one login grants access to many applications. Fewer passwords, centralised control, easier deprovisioning.
  • SAML β€” XML-based federation protocol, common in enterprise apps.
  • OAuth 2.0 β€” an authorisation framework: it lets an app access resources on your behalf without your password. It is not an authentication protocol on its own.
  • OpenID Connect (OIDC) β€” an authentication layer built on OAuth 2.0. This is what "Sign in with Google" uses.
  • Risks: a compromised identity provider becomes a skeleton key; token theft bypasses MFA; misconfigured redirect URIs leak tokens.

Identity lifecycle

  1. Joiner β€” account created, role assigned, least privilege applied.
  2. Mover β€” role changes; old access must be removed, not just added.
  3. Leaver β€” accounts disabled promptly, tokens revoked, devices wiped, credentials rotated.

Access reviews and periodic recertification catch the permissions that accumulate over years. Orphaned accounts are a favourite target for attackers.

Chapter 09

Access Control

Authentication answers "who are you?". Access control answers "what may you do?".

Access control models

Access control models
Model How it decides Typical use
DAC β€” Discretionary The owner of a resource decides who gets access. Traditional file permissions on Windows and Linux.
MAC β€” Mandatory System-wide labels and clearances; users cannot override. Military, government classified systems (SELinux, AppArmor).
RBAC β€” Role-Based Permissions attach to roles; users are assigned roles. The most common model in business systems.
ABAC β€” Attribute-Based Decisions use many attributes: user, resource, action, environment. Fine-grained, context-aware policies ("managers can approve expenses under $5k during business hours").
Rule-Based Explicit if/then rules applied globally. Firewall rules, network ACLs.

Privileged Access Management (PAM)

Administrative accounts are the keys to the kingdom. PAM tools and practices reduce that risk:

  • Just-in-time access β€” elevate only when needed, for a limited window.
  • Credential vaulting β€” administrators never see the actual password.
  • Session recording β€” every privileged session is logged and reviewable.
  • Separate admin accounts β€” never browse the web or read email from a domain admin account.
  • Tiered administration β€” tier 0 (domain controllers), tier 1 (servers), tier 2 (workstations). Credentials never move downward.

Linux permissions in 60 seconds

# -rwxr-x---  1 alice developers  4096 Jan 1 12:00 report.sh
#  β”‚β””β”¬β”˜β””β”¬β”˜β””β”¬β”˜     β”‚       β”‚
#  β”‚ β”‚  β”‚  └── others: none
#  β”‚ β”‚  └───── group:  read + execute
#  β”‚ └──────── owner:  read + write + execute
#  └────────── file type (- file, d directory, l symlink)

chmod 750 report.sh      # rwxr-x---  (owner 7, group 5, other 0)
chmod u+x script.sh      # add execute for the owner
chown alice:developers f # change owner and group

# Numeric values: r=4, w=2, x=1
The classic mistake

chmod 777 gives everyone full access. It "fixes" permission errors and creates a security hole. If you are tempted to run it, you have not understood the problem yet.

Windows access control

  • Security Identifier (SID) β€” the unique ID behind every user and group name.
  • Discretionary Access Control List (DACL) β€” who is allowed or denied what.
  • Access tokens β€” issued at logon and attached to every process the user runs.
  • User Account Control (UAC) β€” prompts for elevation before administrative actions.
  • Group Policy β€” centralised configuration and restriction of thousands of settings.
  • Local Administrator Password Solution (LAPS) β€” randomises local admin passwords so one compromise does not spread.
Chapter 10

Operating System Security

The operating system is where most of your data lives and most attacks land. Hardening it is one of the highest-value things you can do.

Universal hardening steps

  • Keep the OS and all software patched β€” enable automatic updates where practical.
  • Remove or disable software and services you do not use.
  • Use a standard (non-administrator) account for daily work.
  • Enable full-disk encryption (BitLocker, FileVault, LUKS).
  • Enable the host firewall and block inbound traffic by default.
  • Turn on automatic screen lock after a short idle period.
  • Require a password/PIN/biometric to unlock.
  • Disable autorun/autoplay for removable media.
  • Enable audit logging and forward logs somewhere central.
  • Use application allow-listing where feasible.
  • Uninstall or disable legacy protocols (SMBv1, TLS 1.0/1.1, Telnet, LLMNR, NetBIOS).
  • Back up regularly and test restores.

Windows specifics

  • BitLocker β€” full-disk encryption; store recovery keys safely and separately.
  • Windows Defender / Defender for Endpoint β€” built-in AV and EDR; keep real-time protection on.
  • Credential Guard β€” isolates secrets so they cannot be dumped from memory.
  • Attack Surface Reduction rules β€” block Office macros, script execution, and other common vectors.
  • Disable SMBv1 β€” it is the protocol WannaCry exploited.
  • Restrict RDP β€” never expose it to the internet; require VPN or a bastion host, plus MFA.
  • Event logs to watch: 4624 (logon), 4625 (failed logon), 4720 (account created), 4672 (special privileges assigned), 7045 (service installed).

Linux specifics

  • Disable root SSH login and password authentication β€” use key pairs.
  • Keep sudo access minimal and log it.
  • Use a host firewall β€” ufw, firewalld, or nftables.
  • Install automatic security updates (unattended-upgrades on Debian/Ubuntu).
  • Enable SELinux or AppArmor for mandatory access control.
  • Harden SSH: change the port only as a noise reducer, not as a control; use fail2ban, disable empty passwords, restrict users.
  • Logs to watch: /var/log/auth.log, journalctl, auditd.
# A minimal SSH hardening snippet (/etc/ssh/sshd_config)
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
PermitEmptyPasswords no
MaxAuthTries 3
X11Forwarding no
AllowUsers alice bob

Patching and vulnerability management

  1. Inventory β€” you cannot patch what you do not know about.
  2. Scan β€” use authenticated vulnerability scanners (Nessus, OpenVAS, Qualys) on a schedule.
  3. Prioritise β€” not all vulnerabilities are equal. Weigh exploitability, exposure, and business impact. CVSS scores help, but context decides.
  4. Patch β€” emergency patches within days, routine patches within weeks.
  5. Verify β€” rescan to confirm the fix worked.
  6. Compensate β€” where patching is impossible, add a compensating control (segmentation, virtual patching, WAF rule).
Chapter 11

Web Application Security

Web apps are the most exposed part of most organisations. The OWASP Top 10 is the best-known catalogue of what goes wrong β€” and it is remarkably stable year to year.

OWASP Top 10 (2021)

OWASP Top 10 β€” the most critical web application risks
# Risk What it means Mitigation
A01 Broken Access Control Users can act outside their permissions β€” viewing others' data by changing an ID, reaching admin pages. Deny by default, server-side checks on every request, ownership validation.
A02 Cryptographic Failures Sensitive data exposed through weak or missing encryption. TLS everywhere, strong algorithms, encrypt sensitive fields at rest, no secrets in code.
A03 Injection Untrusted input interpreted as code β€” SQL, NoSQL, OS command, LDAP injection. Parameterised queries, safe APIs, input validation, least-privilege DB users.
A04 Insecure Design The architecture itself lacks security requirements and threat modelling. Threat modelling, secure design patterns, abuse-case testing.
A05 Security Misconfiguration Default accounts, verbose errors, open cloud buckets, unnecessary features. Hardened baselines, automated config checks, remove defaults, minimal installs.
A06 Vulnerable & Outdated Components Known-vulnerable libraries and frameworks. Dependency scanning, SBOMs, prompt updates, remove unused packages.
A07 Identification & Authentication Failures Weak passwords, credential stuffing, broken session handling. MFA, breach-password checks, secure session management, rate limiting.
A08 Software & Data Integrity Failures Trusting updates, plugins, or serialised data without verification. Code signing, integrity checks, signed CI/CD artefacts, no untrusted deserialisation.
A09 Security Logging & Monitoring Failures Attacks go unnoticed because nothing is logged or reviewed. Log authentication and access events, centralise logs, alert on anomalies, test detection.
A10 Server-Side Request Forgery (SSRF) The server is tricked into making requests to internal systems on the attacker's behalf. Allow-list destinations, block internal ranges, validate and sanitise URLs.

Injection in practice

Vulnerable code concatenates user input directly into a query:

// DANGEROUS β€” never do this
query = "SELECT * FROM users WHERE name = '" + userName + "'";

// If userName is:  ' OR '1'='1' --
// The query becomes: SELECT * FROM users WHERE name = '' OR '1'='1' --'
// ...which returns every user.

The fix is parameterisation β€” the database treats input as data, never as code:

// SAFE β€” parameterised query
stmt = db.prepare("SELECT * FROM users WHERE name = ?");
stmt.execute([userName]);

Cross-site scripting (XSS)

  • Stored XSS β€” the payload is saved on the server (a comment, a profile) and served to every visitor. Most dangerous.
  • Reflected XSS β€” the payload comes back in the immediate response, usually via a crafted link.
  • DOM-based XSS β€” client-side JavaScript writes untrusted data into the page.

Defence: context-aware output encoding, a strict Content Security Policy, avoiding innerHTML, and treating all input as untrusted.

Security headers worth setting

Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: geolocation=(), camera=(), microphone=()

Cookie security

Set-Cookie: session=abc123; Secure; HttpOnly; SameSite=Strict; Path=/; Max-Age=3600
  • Secure β€” only sent over HTTPS.
  • HttpOnly β€” invisible to JavaScript, which blunts XSS session theft.
  • SameSite=Strict|Lax β€” mitigates CSRF.
  • Short lifetimes and server-side revocation reduce the damage of a stolen token.

Secure development practices

  • Threat modelling early β€” ask "how would we attack this?" before writing code.
  • Validate on the server, always. Client-side validation is for user experience only.
  • Encode on output, based on context (HTML, attribute, JavaScript, URL, CSS).
  • Never trust client input β€” headers, cookies, hidden fields, and file names included.
  • Fail safely β€” generic error messages to users, detailed logs for developers.
  • Manage secrets properly β€” vaults, environment injection, rotation; never in Git.
  • Automate security testing β€” SAST in the IDE, DAST in staging, SCA for dependencies.
Chapter 12

Network Security

Network security is about controlling what can talk to what, and knowing when something unexpected happens.

Firewalls

Packet filtering

Inspects headers only β€” source, destination, port, protocol. Fast but shallow.

Stateful inspection

Tracks connection state, so replies to outbound requests are allowed automatically.

Next-generation (NGFW)

Adds application awareness, intrusion prevention, TLS inspection, and user identity.

Default deny

A well-configured firewall blocks everything and permits only what is explicitly required. The opposite β€” allowing everything and blocking known-bad β€” is a losing game because you cannot enumerate all the bad things.

IDS vs IPS

  • IDS (Intrusion Detection System) β€” watches traffic and raises alerts. Passive; it does not block.
  • IPS (Intrusion Prevention System) β€” sits inline and can drop malicious traffic. Faster response, higher risk of false positives disrupting business.
  • Detection methods: signature-based (known patterns), anomaly-based (deviations from baseline), and behaviour-based.
  • Common tools: Snort, Suricata, Zeek, and cloud-native equivalents.

Network segmentation

Segmentation limits how far an attacker can move after initial access. Without it, one compromised laptop can reach everything.

  • VLANs β€” logically separate networks on shared hardware.
  • DMZ β€” a buffer zone for internet-facing services, isolated from the internal network.
  • Microsegmentation β€” fine-grained, per-workload policies, common in modern data centres.
  • Air gaps β€” physically separate networks for the most sensitive systems. Even these are not immune to USB-borne attacks.

Wireless security

Wi-Fi security protocols
Protocol Status Notes
WEPBrokenCrackable in minutes. Never use.
WPA (TKIP)DeprecatedAlso crackable. Replace.
WPA2 (AES-CCMP)AcceptableStill widely deployed. Vulnerable to KRACK and offline dictionary attacks against weak passphrases.
WPA3RecommendedAdds SAE (simultaneous authentication of equals), forward secrecy, and better protection on open networks.
WPA2/WPA3 Enterprise (802.1X)Best for businessPer-user credentials via RADIUS; no shared passphrase to leak.

Wireless hygiene:

  • Use a long, random passphrase β€” 20+ characters.
  • Change default router admin credentials and disable remote administration.
  • Disable WPS (Wi-Fi Protected Setup) β€” its PIN is brute-forceable.
  • Create a separate guest network for visitors and IoT devices.
  • Keep router firmware updated.
  • Use a VPN on untrusted networks, or better, use your phone's hotspot.

Virtual Private Networks

  • Remote-access VPN β€” individual users connect to the corporate network.
  • Site-to-site VPN β€” permanent tunnels between locations.
  • IPSec β€” operates at layer 3; used for site-to-site and some client VPNs.
  • WireGuard β€” modern, fast, small codebase; increasingly the default choice.
  • Zero Trust Network Access (ZTNA) β€” replaces broad network access with per-application access, verified continuously.

Other network controls

  • NAC (Network Access Control) β€” checks device compliance before allowing connection.
  • 802.1X β€” port-based authentication for wired and wireless.
  • DHCP snooping / Dynamic ARP Inspection β€” stop rogue DHCP and ARP spoofing.
  • Honeypots β€” decoy systems that attract attackers and generate early warnings.
  • Email authentication β€” SPF, DKIM, and DMARC make domain spoofing much harder.
  • DDoS protection β€” content delivery networks, scrubbing centres, and rate limiting.
Chapter 13

Endpoint & Data Security

Endpoints β€” laptops, desktops, phones, servers β€” are where users work and where attackers land. Data security is about protecting the information itself, wherever it goes.

The endpoint toolkit

Endpoint security technologies
Technology What it does Limitation
Antivirus (AV) Matches files against known malware signatures. Misses new, polymorphic, and fileless threats.
EDR Records process, file, network, and registry activity; detects suspicious behaviour; supports response. Requires tuning and skilled analysts.
XDR Correlates telemetry across endpoint, network, email, and cloud. Cost and complexity.
Application allow-listing Only approved software may execute. Administrative overhead in dynamic environments.
Host firewall Filters traffic at the device level. Often misconfigured or disabled by users.
Disk encryption Protects data if the device is lost or stolen. Useless if the device is powered on and unlocked.
DLP Detects and blocks sensitive data leaving the organisation. False positives; cannot catch everything.
MDM / UEM Enforces policy on mobile and desktop fleets; enables remote wipe. Privacy concerns on personal devices.

Data classification

You cannot protect everything equally. Classify data so you know what deserves the strongest controls. A common scheme:

  1. Public β€” marketing material, published docs.
  2. Internal β€” most business information.
  3. Confidential β€” customer data, contracts, financials.
  4. Restricted / Secret β€” trade secrets, health records, credentials, M&A plans.

Data states

At rest

Stored on disk, tape, or in cloud storage. Protect with encryption, access control, and secure disposal.

In transit

Moving across networks. Protect with TLS, SSH, VPNs, and encrypted messaging.

In use

Being processed in memory. The hardest to protect. Confidential computing and memory encryption are emerging answers.

The 3-2-1 backup rule

  • 3 copies of the data.
  • 2 different storage media or technologies.
  • 1 copy off-site or offline (immutable, air-gapped, or write-once).

Add a "0" and you get 3-2-1-0: zero errors on restore, verified by testing. Ransomware specifically hunts for backups, so at least one copy must be unreachable from the production network.

Secure disposal

  • Shredding β€” physical destruction of paper and drives.
  • Degaussing β€” magnetic erasure (does not work on SSDs).
  • Cryptographic erasure β€” destroy the key, and the encrypted data becomes unreadable.
  • Overwriting β€” multiple passes; less relevant now that full-disk encryption is common.
  • Always obtain a certificate of destruction from the vendor.
Chapter 14

Cloud & Container Security

The cloud is not inherently less secure β€” but the responsibility model changes, and the mistakes are different. Most cloud breaches come down to misconfiguration and excessive permissions.

The shared responsibility model

Who secures what
Layer IaaS PaaS SaaS
Data & accessCustomerCustomerCustomer
ApplicationsCustomerCustomerProvider
Runtime / middlewareCustomerProviderProvider
Operating systemCustomerProviderProvider
VirtualisationProviderProviderProvider
Physical / networkProviderProviderProvider

The simple rule: the provider secures the cloud; you secure what you put in it. Identity, data, configuration, and access are always your responsibility.

Top cloud risks

  • Misconfigured storage β€” public buckets exposing sensitive data. Still the single most common cloud headline.
  • Over-permissive IAM β€” wildcard permissions, unused access keys, roles that can escalate.
  • Exposed management interfaces β€” databases, Kubernetes dashboards, and admin panels reachable from the internet.
  • Leaked secrets β€” API keys committed to public repositories.
  • Insecure APIs β€” the primary attack surface of modern applications.
  • Insufficient logging β€” no audit trail to investigate an incident.
  • Account takeover β€” no MFA on the cloud root account. Always enable MFA on root/global admin.

Cloud security best practices

  • Enable MFA on all privileged accounts, especially the root/global admin.
  • Apply least privilege to every IAM policy; review unused permissions regularly.
  • Use roles and short-lived credentials instead of long-lived access keys.
  • Encrypt data at rest and in transit; manage keys in a KMS/HSM.
  • Block public access at the account level, then allow exceptions deliberately.
  • Enable audit logging (CloudTrail, Activity Log, Cloud Audit Logs) and ship logs to a separate account.
  • Use infrastructure as code with security scanning built into the pipeline.
  • Enable cloud security posture management (CSPM) to catch drift and misconfiguration.
  • Segment workloads with security groups, private subnets, and network policies.
  • Define a data residency and retention policy that matches legal requirements.

Container and Kubernetes security

  • Image hygiene β€” minimal base images, scan for vulnerabilities, sign images, and verify signatures.
  • Do not run as root inside containers; use read-only filesystems where possible.
  • Secrets management β€” never bake secrets into images or environment files committed to Git.
  • Network policies β€” default-deny pod-to-pod communication.
  • RBAC β€” restrict who can create pods, mount volumes, or exec into containers.
  • Runtime security β€” detect unexpected process execution and file changes.
  • Keep the orchestrator patched β€” Kubernetes CVEs are high impact.

DevSecOps: shifting left

Instead of testing security at the end, integrate it throughout the development pipeline:

  1. Pre-commit β€” secret scanning, linting.
  2. Build β€” software composition analysis (SCA) for vulnerable dependencies, SAST for code flaws.
  3. Test β€” DAST against a running environment, container image scanning.
  4. Deploy β€” infrastructure-as-code scanning, policy-as-code gates.
  5. Run β€” runtime protection, continuous monitoring, CSPM.
Chapter 15

Mobile & IoT Security

Phones and connected devices have become the largest and least-managed part of most networks. They deserve explicit attention.

Mobile threats

  • Malicious apps β€” sideloaded APKs, fake apps in official stores, over-permissioned utilities.
  • Smishing and vishing β€” SMS and voice phishing are far more effective on a phone screen.
  • Juice jacking β€” malicious charging ports. Carry your own charger or a data blocker.
  • Shoulder surfing and device theft β€” physical access defeats most software controls.
  • Insecure data storage β€” apps writing sensitive data to unencrypted storage or backups.
  • Excessive permissions β€” a flashlight app does not need your contacts.

Mobile hardening

  • Keep the OS and apps updated.
  • Use a 6+ digit passcode, not just biometrics (biometrics can be compelled in some jurisdictions).
  • Enable device encryption (default on modern iOS and Android).
  • Install apps only from official stores; review permissions before granting.
  • Enable remote wipe and "find my device".
  • Disable Bluetooth and NFC when not in use.
  • Avoid jailbreaking/rooting β€” it disables core protections.
  • Use a VPN on untrusted networks; disable auto-join for open Wi-Fi.
  • Enrol in MDM if your organisation provides one.

IoT: the security debt of convenience

Cameras, thermostats, doorbells, printers, TVs, and industrial sensors are often shipped with weak defaults and rarely patched. The Mirai botnet built one of the largest DDoS attacks in history almost entirely from compromised cameras and routers.

Common IoT weaknesses and mitigations
Weakness Mitigation
Default credentialsChange immediately; use unique passwords.
No firmware update mechanismPrefer devices with a documented update policy; replace abandoned devices.
No encryptionIsolate on a separate VLAN; encrypt where supported.
Always-on internet exposureBlock inbound access; use a VPN to reach devices remotely.
Excessive data collectionReview privacy settings; disable cloud features you do not need.
No loggingMonitor network traffic from IoT VLANs for anomalies.

OT and ICS: a different world

Operational technology (industrial control systems, SCADA, PLCs) prioritises availability and safety over confidentiality. These systems were often designed without security and cannot simply be patched. Controls focus on segmentation (Purdue model), unidirectional gateways, and strict change control. Never scan or test an OT network without explicit authorisation β€” you can physically damage equipment.

Chapter 16

Security Operations & Incident Response

Prevention eventually fails. What separates a minor incident from a catastrophe is how quickly you detect it and how calmly you respond.

The SOC

A Security Operations Centre is the team and facility responsible for monitoring, detecting, and responding to security events around the clock. Typical tiers:

  • Tier 1 β€” Triage. Monitors the alert queue, filters false positives, escalates real incidents.
  • Tier 2 β€” Investigation. Deep-dives into escalated alerts, correlates data, contains threats.
  • Tier 3 β€” Threat hunting & forensics. Proactively searches for hidden threats and handles complex intrusions.
  • Engineers. Build and maintain the detection tooling and automation.
  • Detection engineers. Write and tune the rules that generate alerts.

SIEM and log sources

A SIEM (Security Information and Event Management) platform collects logs from across the environment, correlates them, and generates alerts. Key sources:

  • Authentication logs (successful and failed logins)
  • Endpoint telemetry (process creation, file writes, registry changes)
  • Network flow data and firewall logs
  • DNS queries
  • Web proxy and email gateway logs
  • Cloud audit trails
  • Application and database logs
  • Physical access control systems
Time matters

Correlating logs across systems requires synchronised clocks. If your servers disagree by minutes, your timeline is fiction. Run reliable NTP on everything, and use UTC in logs.

Detection engineering

  • Signature-based detections β€” match known-bad patterns (a specific hash, filename, or command line).
  • Anomaly-based detections β€” flag deviations from a baseline (a user logging in at 3 a.m. from a new country).
  • TTP-based detections β€” focus on attacker behaviours rather than tools. These survive tool changes.
  • MITRE ATT&CK β€” a knowledge base of adversary tactics and techniques. Use it to map coverage: "which techniques can we detect?"
  • Purple teaming β€” red and blue teams work together to test and improve detections.

Incident response phases (NIST SP 800-61)

Phase 1

Preparation

Write the plan, define roles, build tooling, train people, run exercises, establish communication channels. Most of the work happens before anything goes wrong.

Phase 2

Detection & Analysis

Confirm that an incident has occurred, determine its scope and severity, and preserve evidence. Avoid acting too fast and destroying logs.

Phase 3

Containment, Eradication & Recovery

Stop the spread (isolate hosts, disable accounts), remove the threat (rebuild, patch, rotate credentials), then restore services carefully while monitoring for re-entry.

Phase 4

Post-Incident Activity

Hold a blameless lessons-learned review. Update detections, policies, and training. Document what worked and what did not.

First responder priorities

  1. Stay calm and follow the plan.
  2. Do not power off a compromised machine if you can avoid it β€” memory contains valuable evidence. Isolate it from the network instead.
  3. Preserve evidence β€” take memory captures, disk images, and logs before making changes. Maintain chain of custody.
  4. Document everything with timestamps, who did what, and why.
  5. Communicate through pre-agreed channels, not the possibly-compromised corporate email.
  6. Involve the right people β€” legal, PR, executives, and external IR firms as needed.
  7. Do not tip off the attacker. Public statements and obvious countermeasures can cause them to accelerate or destroy evidence.

Digital forensics basics

  • Order of volatility β€” collect the most perishable evidence first: CPU registers, RAM, network connections, running processes, then disk, then archival backups.
  • Write blockers β€” hardware that prevents modification of the source drive during imaging.
  • Hashing β€” hash the image on acquisition and verify it later to prove integrity.
  • Timeline analysis β€” reconstruct what happened and when, using file system timestamps and logs.
  • Common tools: Volatility (memory), Autopsy/Sleuth Kit (disk), FTK Imager, KAPE, Wireshark (network).

Threat intelligence

  • Tactical β€” indicators of compromise (IOCs): IP addresses, domains, file hashes. Useful but short-lived.
  • Operational β€” attacker campaigns, tools, and infrastructure patterns.
  • Strategic β€” long-term trends and threats to the organisation's sector, for leadership.
  • Frameworks: MITRE ATT&CK, the Diamond Model, and the Cyber Kill Chain.
Chapter 17

Risk, Frameworks & Law

Security is a business discipline as much as a technical one. These are the structures that let organisations make consistent, defensible decisions.

Risk management

Risk is the combination of the likelihood of a threat exploiting a vulnerability and the impact if it does. There are four ways to treat risk:

Risk treatment options
Option Description Example
MitigateApply controls to reduce likelihood or impact.Patch the server, add MFA.
AvoidStop doing the risky activity.Turn off an unnecessary legacy service.
TransferShare the risk with someone else.Cyber insurance, outsourced SOC.
AcceptDocument and acknowledge the risk knowingly.A low-value internal system with no sensitive data.

Quantitative vs qualitative risk

  • Qualitative β€” high/medium/low ratings based on expert judgement. Fast, subjective, widely used.
  • Quantitative β€” monetary values. Uses terms like SLE (single loss expectancy), ARO (annualised rate of occurrence), and ALE (annualised loss expectancy = SLE Γ— ARO). Slower, but easier to justify spending.

Major frameworks and standards

Frameworks you will meet in the workplace
Name Type Purpose
NIST Cybersecurity Framework (CSF) Framework Five functions: Identify, Protect, Detect, Respond, Recover. Widely used as an organising structure.
NIST SP 800-53 Control catalogue Comprehensive list of security and privacy controls, used heavily by US government and contractors.
NIST SP 800-61 Guideline Incident handling lifecycle.
ISO/IEC 27001 Standard Requirements for an information security management system (ISMS). Certifiable.
ISO/IEC 27002 Guidance Implementation guidance for the controls in 27001.
CIS Controls Prioritised controls 18 practical, prioritised safeguards β€” an excellent starting point for small organisations.
PCI-DSS Industry standard Mandatory for anyone handling payment card data.
SOC 2 Audit report Independent attestation of controls, common for SaaS vendors.
MITRE ATT&CK Knowledge base Adversary tactics and techniques, used for detection coverage mapping.
OWASP ASVS / SAMM Application security Verification standard and maturity model for software security.

Laws and regulations you may encounter

  • GDPR (EU) β€” protects personal data of EU residents; requires breach notification within 72 hours; heavy fines.
  • CCPA/CPRA (California) β€” consumer privacy rights and data sale restrictions.
  • HIPAA (US) β€” protects health information.
  • PCI-DSS β€” payment card data security.
  • SOX (US) β€” financial reporting controls for public companies.
  • CFAA (US) / Computer Misuse Act (UK) β€” criminalise unauthorised access. Relevant to what counts as "hacking".
  • NIS2 (EU) β€” cybersecurity requirements for critical infrastructure and essential services.
  • DORA (EU) β€” digital operational resilience for the financial sector.

Ethics and the law in practice

The only rule that matters

Never test, scan, or access a system you do not own or have explicit written authorisation to test. "I was just curious", "it was a public site", and "I did not mean any harm" are not legal defences. Unauthorised access is a criminal offence in most countries, regardless of intent or impact.

  • Authorisation must be written, scoped, time-limited, and signed by someone with the authority to grant it.
  • Rules of Engagement define what is in scope, what is off-limits, testing windows, and emergency contacts.
  • Responsible disclosure β€” if you find a vulnerability, report it privately to the vendor and give them reasonable time to fix it before publishing.
  • Bug bounty programmes provide legal safe harbour β€” but only within their stated scope and rules.
  • Handle data responsibly β€” if you encounter personal data during a test, do not copy, share, or retain it.
Chapter 18

Practical Checklists

Theory is useful; checklists get things done. These are starting points you can adapt to your own situation.

Personal security β€” do these today

  • Install a password manager and start replacing reused passwords with generated ones.
  • Turn on MFA everywhere it is offered, starting with email, banking, and cloud accounts.
  • Update your devices, browsers, and apps β€” then enable automatic updates.
  • Enable full-disk encryption on every laptop and phone.
  • Set a screen lock with a short timeout.
  • Review app permissions on your phone and revoke anything unnecessary.
  • Check haveibeenpwned.com for your email addresses and change exposed passwords.
  • Freeze your credit or set up fraud alerts if you have been breached.
  • Set up a separate, backed-up recovery email for account recovery.
  • Back up important files using the 3-2-1 rule.
  • Use a privacy screen in public and be aware of who is behind you.
  • Never plug in unknown USB drives or charge from unknown ports.

Small business β€” the first 20 things

  • Enable MFA on all email, banking, and admin accounts.
  • Ensure the person who set up your cloud account is not the only admin β€” and that the root account has MFA.
  • Turn on automatic patching for OS and applications.
  • Deploy endpoint protection with centralised monitoring.
  • Enable email filtering and set up SPF, DKIM, and DMARC.
  • Back up critical data daily, keep one copy offline, and test restores quarterly.
  • Create a written incident response plan with names and phone numbers.
  • Remove accounts for staff who have left, on the day they leave.
  • Apply least privilege β€” most people do not need admin rights.
  • Encrypt laptops and mobile devices.
  • Secure the Wi-Fi: WPA3 or WPA2 with a long passphrase, guest network for visitors.
  • Never expose RDP or databases directly to the internet.
  • Train staff on phishing at least quarterly.
  • Establish a payment verification process requiring a callback on a known number.
  • Inventory your hardware and software β€” you cannot protect what you cannot see.
  • Require a vendor security review before onboarding new SaaS tools.
  • Get cyber insurance and understand exactly what it covers.
  • Write down your data classification and retention rules.
  • Review who has access to your cloud storage and make buckets private by default.
  • Run a tabletop exercise: "Ransomware hits on a Friday afternoon. What do we do?"

Developer security checklist

  • Never commit secrets to version control β€” use pre-commit hooks and secret scanning.
  • Parameterise every database query.
  • Encode output based on context; never trust client input.
  • Hash passwords with bcrypt, scrypt, or Argon2 β€” never MD5 or SHA-1 alone.
  • Validate and re-validate on the server.
  • Keep dependencies updated and scan them automatically.
  • Set security headers and use HTTPS everywhere with HSTS.
  • Implement proper session management: secure cookies, timeouts, server-side revocation.
  • Return generic error messages to users; log details for developers.
  • Apply least privilege to database and service accounts.
  • Threat model new features before building them.
  • Add security tests to the CI pipeline and fail the build on critical findings.

Password manager setup in ten minutes

  1. Choose a reputable, audited manager (Bitwarden, 1Password, KeePassXC, and others).
  2. Create a long, unique master passphrase β€” four or five random words.
  3. Enable MFA on the password manager account itself.
  4. Export your browser's saved passwords and import them.
  5. Change the most important passwords first: email, banking, cloud, work.
  6. Let the manager generate 16+ character random passwords for everything else.
  7. Store recovery codes somewhere safe and offline.
  8. Set up a trusted emergency contact or recovery method.
Your email is the master key

Almost every account can be reset through your email address. If you secure only one thing, secure your email: a unique long password, hardware-key or app-based MFA, and recovery options you actually control.

Chapter 19

Learning Path & Careers

Cybersecurity is broad, and there is no single correct entry point. The best route depends on what you already enjoy doing.

A suggested learning path for beginners

  1. IT fundamentals. Hardware, operating systems, file systems, command line. You cannot secure what you do not understand.
  2. Networking. TCP/IP, DNS, HTTP, subnets, routing, and packet analysis with Wireshark.
  3. Operating systems in depth. Linux command line and Windows administration, including permissions, services, and logs.
  4. Security fundamentals. CIA triad, authentication, access control, cryptography basics, risk.
  5. Scripting. Python and Bash (or PowerShell). Automation is a force multiplier.
  6. Hands-on practice. Build a home lab with virtual machines; use TryHackMe, Hack The Box, and OWASP Juice Shop.
  7. Specialise. Blue team, red team, cloud, application security, GRC, or forensics.
  8. Keep learning. Follow security news, read incident reports, join communities, attend local meetups.

Common roles

Cybersecurity roles and what they actually do
Role Focus Typical activities
SOC AnalystBlue teamMonitor alerts, triage, investigate, escalate.
Incident ResponderBlue teamContain and recover from active incidents; forensics.
Threat HunterBlue teamProactively search for undetected threats using hypotheses and ATT&CK.
Detection EngineerBlue teamWrite and tune detection rules; build pipelines.
Penetration TesterRed teamAuthorised simulated attacks on systems, networks, and apps.
Red TeamerRed teamLong-term, stealthy adversary emulation, including physical and social.
Application Security EngineerAppSecReview code, run SAST/DAST, train developers, design secure patterns.
Cloud Security EngineerCloudIAM design, posture management, cloud-native tooling.
Security Engineer / ArchitectEngineeringDesign and build security controls and infrastructure.
GRC AnalystGovernancePolicy, risk assessment, audits, compliance, vendor reviews.
Malware AnalystResearchReverse engineer malicious software.
DFIR ConsultantForensicsInvestigate breaches and produce legal-grade evidence.
CISOLeadershipOwn the security strategy, budget, and risk posture.

Certifications, roughly in order of difficulty

Certification landscape
Certification Focus Best for
CompTIA ITF+ / A+IT basicsAbsolute beginners.
CompTIA Network+NetworkingBuilding the networking foundation.
CompTIA Security+Security fundamentalsThe classic first security certification; often required for government roles.
ISC2 CCEntry-level securityA free, accessible starting point.
CompTIA CySA+Blue team / analystMoving into a SOC role.
CompTIA PenTest+Penetration testingEntry-level offensive work.
EC-Council CEHEthical hacking theoryBroad offensive overview; theory-heavy.
OffSec OSCPHands-on pentestingHighly respected practical certification; hard.
GIAC GSEC / GCIH / GPENVariousDeep, expensive, well regarded.
ISACA CISA / CISMAudit / managementGRC and security leadership tracks.
ISC2 CISSPManagement-level securitySenior roles; requires five years of experience.
AWS / Azure / GCP security certsCloud securityCloud-focused roles.
Certifications vs skills

Certifications open doors and prove baseline knowledge, but employers increasingly hire on demonstrated ability. A home lab, a blog write-up of a CTF challenge, a GitHub repo of security tooling, or a bug bounty report will often matter more than a certificate. Do both if you can.

Practice platforms and labs

  • TryHackMe β€” guided, beginner-friendly rooms with a strong learning path.
  • Hack The Box β€” more challenging, less hand-holding; excellent for offensive skills.
  • Blue Team Labs Online β€” defensive and forensic challenges.
  • LetsDefend β€” a simulated SOC environment.
  • PicoCTF β€” a great entry point to capture-the-flag competitions.
  • OWASP Juice Shop / DVWA / WebGoat β€” deliberately vulnerable web apps for practice.
  • Metasploitable β€” a deliberately vulnerable VM for safe practice.
  • Your own home lab β€” VirtualBox or VMware with Kali, Windows, and a vulnerable target VM on an isolated network.

Tools worth learning

Offensive

Nmap, Wireshark, Burp Suite, OWASP ZAP, Metasploit, sqlmap, Hydra, John the Ripper, Hashcat, Impacket, BloodHound, Mimikatz (in labs only), Cobalt Strike (commercial).

Defensive

Splunk, Elastic Stack, Wazuh, Snort, Suricata, Zeek, Velociraptor, Sysmon, Volatility, Autopsy, Nessus, OpenVAS, YARA, Sigma.

Learn legally

Use these tools only in labs you own or on platforms built for practice. Running Nmap against a network you do not control, or testing a website without permission, can be a crime β€” even if you find nothing and mean no harm.

Staying current

  • Vendor research blogs β€” Microsoft, Google Threat Intelligence, Cisco Talos, Mandiant, CrowdStrike, Sophos.
  • Advisories β€” CISA KEV catalogue, NVD, vendor security bulletins.
  • Communities β€” r/cybersecurity, r/netsec, OWASP chapters, local BSides and DEF CON groups.
  • Podcasts and newsletters β€” a low-effort way to keep up with trends.
  • Conferences β€” DEF CON, Black Hat, BSides (often free or cheap), RSA.
Chapter 20

Extended Attack Reference

A deeper catalogue of attack techniques with real-world examples. Use this as a lookup reference when reading threat reports, studying for certifications, or designing defences. Attacks are grouped by domain so you can find them quickly.

20.1 Network Infrastructure Attacks

These target the protocols and devices that move data β€” routers, switches, DNS, and the trust relationships between them. Many are possible because older protocols were designed without authentication.

Network-layer and infrastructure attacks
Attack How it works Real-world example Defence
ARP Spoofing Sends forged ARP replies so the attacker's MAC address is associated with another host's IP. Traffic is then intercepted or modified. Common on cafΓ©, hotel, and conference Wi-Fi. Tools like Ettercap and Bettercap automate it in seconds. Dynamic ARP Inspection (DAI), static ARP entries for critical hosts, 802.1X, encrypted protocols.
DNS Cache Poisoning Injects forged DNS responses into a resolver's cache so users are sent to attacker-controlled IPs. The 2008 Kaminsky attack forced a global DNS patch. In 2019, DNSpionage compromised DNS records of government and private entities in the Middle East. DNSSEC, source-port randomisation, trusted resolvers, DoH/DoT, monitoring for unexpected record changes.
BGP Hijacking Announces false BGP routes, causing internet traffic to flow through an attacker's network. In 2008, Pakistan Telecom accidentally hijacked YouTube globally. In 2018, a Russian ISP briefly hijacked Amazon Route 53 traffic. RPKI (Resource Public Key Infrastructure), route filtering, prefix limits, monitoring services like BGPStream.
VLAN Hopping Escapes a VLAN via switch spoofing (DTP) or double tagging to reach other VLANs. Frequently demonstrated in penetration tests on corporate networks with default switch configurations. Disable DTP and unused ports, set native VLAN to an unused ID, prune VLANs, use private VLANs.
MAC Flooding Fills a switch's CAM table with fake MAC addresses, forcing it to flood traffic to all ports β€” allowing capture. Used with tools like macof in red team engagements and hacking courses. Port security, MAC address limits per port, 802.1X, monitoring for CAM table exhaustion.
Rogue DHCP / DHCP Starvation Exhausts the DHCP pool or runs a fake DHCP server to hand out attacker-controlled gateway and DNS settings. Observed in insider attacks and physical penetration tests where an attacker plugs into a wall port. DHCP snooping, port security, 802.1X, monitoring for unauthorised DHCP servers.
SSL Stripping Downgrades HTTPS connections to HTTP so the attacker can read or modify traffic. Popularised by Moxie Marlinspike's 2009 tool sslstrip. Still works on sites without HSTS. HSTS with preload, HTTPS-only mode, certificate pinning, user awareness of the padlock.
DNS Tunneling Encapsulates non-DNS data inside DNS queries and responses to exfiltrate data or establish C2 channels. Used by malware families including DNSChanger, OilRig, and numerous APT toolkits because DNS is rarely blocked. DNS monitoring and anomaly detection, response-size limits, blocking of unauthorised resolvers.
LLMNR / NBT-NS Poisoning Responds to broadcast name-resolution requests, tricking Windows hosts into sending credentials to the attacker. The Responder tool makes this trivial on internal networks. A staple of internal penetration tests. Disable LLMNR and NBT-NS via Group Policy, use DNS, enable SMB signing, network segmentation.
SMB Relay Captures an authentication attempt and relays it to another service to gain access β€” the hash never needs to be cracked. Frequently successful in internal networks where SMB signing is not enforced. Enforce SMB signing, disable LLMNR/NBT-NS, use tiered admin accounts, credential guard.
Pass-the-Hash Uses a captured NTLM hash directly to authenticate, without knowing the plaintext password. Core technique in many breaches. Mimikatz popularised it; it remains effective where NTLM is enabled and patching is poor. Disable NTLM where possible, use Kerberos, Credential Guard, tiered administration, LAPS.
Kerberoasting Requests service tickets for accounts with SPNs and cracks them offline to recover service-account passwords. A standard step in Active Directory attack chains; service accounts often have weak, old passwords. Use managed service accounts, long random passwords, AES encryption, monitor for unusual SPN ticket requests.
Golden Ticket Forged Kerberos TGT using the KRBTGT account hash β€” grants domain-wide access that persists until the hash is rotated twice. Used in numerous APT intrusions after full domain compromise. Very difficult to detect without monitoring for anomalous TGT use. Protect domain controllers, rotate KRBTGT twice after compromise, monitor for forged-ticket indicators, tiered admin model.
DCSync Impersonates a domain controller to request password hashes from Active Directory replication. Implemented in Mimikatz; used in the 2020 SolarWinds follow-on activity and many ransomware intrusions. Restrict replication permissions, monitor for DCSync events (4662), tiered admin, EDR.

20.2 Advanced Web & API Attacks

Beyond the OWASP Top 10, these are the techniques that appear repeatedly in bug bounty reports and breach post-mortems.

Advanced web application and API attacks
Attack How it works Real-world example Defence
Server-Side Request Forgery (SSRF) The server is tricked into making requests to internal systems, cloud metadata endpoints, or other protected resources. The 2019 Capital One breach: SSRF against a misconfigured WAF led to theft of 100 million customer records from S3. Allow-list outbound destinations, block metadata IPs (169.254.169.254), use IMDSv2, network segmentation.
Insecure Deserialization Untrusted serialised data is deserialised, allowing remote code execution. Apache Struts, WebLogic, JBoss, and .NET ViewState have all had critical deserialization flaws. The 2017 Equifax breach involved Apache Struts. Avoid native deserialization of untrusted data, use safe formats (JSON), integrity checks, patching.
HTTP Request Smuggling Conflicting Content-Length and Transfer-Encoding headers cause front-end and back-end servers to disagree about request boundaries. Found in numerous CDN and load-balancer configurations; can lead to cache poisoning, credential theft, and request hijacking. Consistent parsing, reject ambiguous requests, keep proxies and servers patched, use HTTP/2 end-to-end.
Web Cache Poisoning Injects malicious content into a shared cache so it is served to many users. Discovered in countless sites; can turn a reflected XSS into a stored one affecting every visitor. Cache-key normalisation, don't cache responses with user input, validate and encode all reflected data.
JWT Attacks Exploits weak JSON Web Token implementations: alg:none, key confusion (RS256 β†’ HS256), weak secrets, or missing signature verification. Recurring finding in API security assessments; many libraries have historically defaulted to unsafe behaviour. Explicitly allow only expected algorithms, use strong secrets, validate all claims, short expiry, rotate keys.
OAuth / OIDC Misconfiguration Open redirect URIs, missing state parameter, implicit flow, or token leakage allow account takeover. Numerous "Sign in with…" implementations have been exploited via redirect URI manipulation. Strict redirect URI allow-list, PKCE, state parameter, avoid implicit flow, short-lived tokens.
GraphQL Attacks Introspection reveals the schema; batching and deeply nested queries cause DoS; missing field-level auth exposes data. Common in modern API assessments; introspection is often left enabled in production. Disable introspection in production, query depth and complexity limits, field-level authorisation, rate limiting.
Mass Assignment Sending extra fields in a request that the application blindly binds to an object, e.g. {"role":"admin"}. Historically affected Ruby on Rails, Laravel, and many REST APIs. Explicit allow-lists for bindable fields, avoid auto-binding, validate on the server.
Prototype Pollution Injecting properties into JavaScript object prototypes, altering application behaviour or achieving RCE. Affected numerous npm packages and client-side frameworks. Freeze prototypes, validate keys, avoid unsafe merge functions, keep libraries updated.
Race Conditions Exploits the timing gap between a check and its use (TOCTOU) β€” e.g. redeeming a gift card twice simultaneously. Found in e-commerce, banking, and API endpoints across many bug bounty programmes. Atomic operations, database locks, idempotency keys, server-side validation.
Server-Side Template Injection (SSTI) User input is embedded unsafely in a template engine, leading to RCE. Affected Jinja2, Twig, Freemarker, Velocity, and others in popular frameworks. Never concatenate user input into templates, use sandboxed environments, validate input.
XML External Entity (XXE) XML parsers process external entities that read local files or make network requests. Found in SOAP APIs, document processors, and file upload features for years. Disable external entities and DTDs, use safe parsers, prefer JSON.
Subdomain Takeover A DNS record points to a de-provisioned cloud service; an attacker claims that service and serves content on the trusted subdomain. Recurring bug bounty finding for organisations with large, fast-changing DNS estates. Inventory DNS records, remove stale entries, monitor for dangling CNAMEs, claim resources before decommissioning.
Open Redirect A parameter controls where the user is sent after login or logout, enabling phishing on a trusted domain. Common on login pages; frequently chained with OAuth flaws. Allow-list redirect destinations, use relative paths, warn on external redirects.
Business Logic Flaws Abusing intended functionality β€” negative quantities, skipped steps, currency confusion, discount stacking. Regularly found in e-commerce and financial applications; cannot be detected by scanners. Threat modelling, abuse-case testing, server-side validation of all assumptions.

20.3 Cryptographic Attacks

Attacks against cryptographic systems
Attack How it works Real-world example Defence
Downgrade Attack Forces two parties to negotiate a weaker protocol or cipher than they support. POODLE (SSL 3.0), FREAK (export ciphers), Logjam (weak Diffie-Hellman). All forced emergency patches. Disable legacy protocols entirely, support only strong cipher suites, HSTS.
Padding Oracle Uses error messages or timing differences to decrypt data one byte at a time. POODLE and Lucky13 against TLS; ASP.NET padding oracle (2010) affected millions of sites. Use authenticated encryption (AES-GCM), constant-time comparison, generic error messages.
Heartbleed A buffer over-read in OpenSSL's heartbeat extension leaked up to 64 KB of server memory per request. CVE-2014-0160. Affected a huge portion of the internet; leaked private keys, session tokens, and passwords. Patch promptly, rotate keys and certificates after exposure, use memory-safe languages where possible.
Hash Collision Two different inputs produce the same hash, breaking integrity guarantees. SHAttered (2017) produced a SHA-1 collision. MD5 collisions are trivial and have been used in malware code-signing attacks. Use SHA-256 or SHA-3; retire MD5 and SHA-1 entirely.
Side-Channel Attack Extracts secrets from timing, power consumption, electromagnetic emissions, or cache behaviour. Meltdown and Spectre (2018) exploited CPU speculative execution. Timing attacks have broken numerous implementations. Constant-time algorithms, hardware mitigations, key isolation, avoid secret-dependent branching.
Weak Randomness Predictable keys or tokens generated with non-cryptographic PRNGs or poor seeding. Numerous IoT devices and embedded systems have shipped with predictable keys, enabling mass compromise. Use a CSPRNG seeded from a hardware entropy source; never use rand() or timestamps for secrets.
Rainbow Table A precomputed table of password hashes used to reverse unsalted hashes quickly. Effective against any database storing unsalted MD5 or SHA-1 password hashes. Salt every password, use bcrypt/scrypt/Argon2, add a pepper.
Key Reuse / Nonce Reuse Reusing a nonce or key in a stream cipher allows XOR recovery of plaintext. Historically broken WEP and numerous custom protocols; also seen in flawed implementations of AES-GCM. Use well-reviewed libraries, never reuse nonces, rotate keys per session.

20.4 Wireless & RF Attacks

Wireless and radio-frequency attacks
Attack How it works Real-world example Defence
Evil Twin A fake access point with the same SSID as a legitimate one, capturing credentials or serving malware. Common at airports, hotels, and conferences. Users' devices auto-connect to the stronger signal. WPA3, 802.1X with certificate validation, VPN, disable auto-connect to open networks.
Deauthentication Attack Forged deauth frames disconnect clients, often as a precursor to capturing a WPA handshake. Used with tools like Aircrack-ng and bettercap in wireless assessments. WPA3 (protected management frames), 802.11w, monitoring for deauth floods.
WPA/WPA2 Handshake Capture & Cracking Captures the four-way handshake and cracks the passphrase offline with a dictionary or brute force. Trivial against weak passphrases; tools like Hashcat make it fast on GPUs. Long random passphrases (20+ characters), WPA3, 802.1X, regular passphrase rotation.
KRACK Key Reinstallation Attack against WPA2's four-way handshake, allowing traffic decryption. Disclosed in 2017; affected virtually every WPA2 implementation. Patched widely. Patch clients and APs, prefer WPA3, use HTTPS everywhere.
Dragonblood A set of weaknesses in WPA3's SAE handshake, including side-channel leaks and downgrade attacks. Disclosed in 2019; largely mitigated by updates, but highlights that new protocols need scrutiny. Keep firmware updated, use strong passwords, monitor vendor advisories.
Bluetooth Attacks BlueBorne, KNOB, BlueSnarf, and related techniques exploit Bluetooth stack flaws or misconfigurations. BlueBorne (2017) affected billions of devices across Android, Windows, Linux, and iOS. Disable Bluetooth when not needed, patch promptly, avoid pairing in public, use LE Secure Connections.
RFID / NFC Cloning Reads and clones unencrypted RFID/NFC tags used for building access or payments. Demonstrated against many access-control badges; payment cards use additional protections. Use encrypted tags (MIFARE DESFire), mutual authentication, shielding, multi-factor access.
Jamming Overwhelms a wireless frequency with noise to deny service. Illegal in most jurisdictions but used in physical attacks against alarms and GPS. Frequency hopping, redundant communication paths, monitoring for signal loss.

20.5 Physical & Hardware Attacks

Physical and hardware attack techniques
Attack How it works Real-world example Defence
USB Drop / BadUSB Leaves infected USB drives where they will be found; when plugged in, they execute keystrokes or malware. The 2008 "baiting" study by CompTIA found 60% of dropped drives were plugged in. Rubber Ducky and similar tools automate keystroke injection. Disable USB mass storage via policy, endpoint controls, train staff never to plug in unknown devices.
Cold Boot Attack Chills RAM to preserve its contents, then extracts encryption keys from memory after a reboot. Demonstrated against disk-encryption implementations; requires physical access. Full-disk encryption with pre-boot authentication, memory encryption, tamper-resistant hardware.
Evil Maid An attacker with brief physical access installs a hardware implant or modifies the boot process. A recurring theme in physical penetration tests and nation-state operations. Secure boot, TPM-based measured boot, full-disk encryption, tamper-evident seals, physical security.
DMA Attack Uses high-speed ports (Thunderbolt, PCIe) to read memory directly, bypassing the OS. Demonstrated with tools like PCILeech against unlocked machines. Disable unused high-speed ports, IOMMU/VT-d, kernel DMA protection, lock screens.
Firmware / UEFI Implant Malware persists in firmware below the operating system, surviving reinstallation. LoJax (2018) was the first UEFI rootkit found in the wild, attributed to APT28. MoonBounce and BlackLotus followed. Secure Boot, firmware updates, hardware root of trust, attestation, replace compromised hardware.
Supply Chain Hardware Implant Malicious components or chips inserted during manufacturing or transit. The 2018 Bloomberg "Big Hack" report (disputed) alleged implants in server motherboards. The 2014 NSA ANT catalogue revealed hardware implants. Trusted suppliers, tamper-evident packaging, inspection, attestation, diversity of supply.
Tailgating / Piggybacking Following an authorised person through a secure door without presenting credentials. A perennial finding in physical security assessments of offices and data centres. Mantraps, turnstiles, security awareness, challenge culture, visitor escorts.
Dumpster Diving Recovering sensitive documents, drives, or notes from discarded waste. Classic social engineering technique; still effective where shredding is inconsistent. Cross-cut shredding, secure disposal contracts, clean-desk policy.

20.6 Cloud & Container Attacks

Cloud and container-specific attacks
Attack How it works Real-world example Defence
Metadata Service SSRF Reaches the cloud instance metadata endpoint (169.254.169.254) to steal temporary credentials. The 2019 Capital One breach used exactly this technique to obtain AWS credentials and access S3. IMDSv2 (token-based), block metadata IP at the network layer, least-privilege instance roles.
IAM Privilege Escalation Chains overly permissive policies (e.g. iam:CreatePolicyVersion, iam:PassRole) to gain admin. Researchers have documented dozens of AWS, Azure, and GCP escalation paths; tools like Pacu automate discovery. Least privilege, permission boundaries, regular access reviews, automated IAM analysis.
Public Storage Bucket S3 buckets, Azure blobs, or GCS buckets left publicly readable or writable. Hundreds of breaches from exposed buckets β€” Accenture (2017), Verizon (2017), and many more. Block public access at the account level, encryption, access logging, CSPM monitoring.
Container Escape Breaks out of a container to the host via privileged mode, mounted Docker socket, kernel exploits, or misconfigured cgroups. Documented in Kubernetes environments; a common goal after compromising a pod. Run as non-root, drop capabilities, read-only root filesystems, seccomp/AppArmor, pod security standards.
Kubernetes API Abuse Exploits anonymous access, over-permissive RBAC, or exposed dashboards to deploy malicious pods. Tesla (2018) had a Kubernetes dashboard exposed, used for cryptomining. Many similar incidents since. Disable anonymous auth, strict RBAC, network policies, private API endpoints, audit logging.
Serverless Injection Event-data injection, dependency confusion, or over-permissive function roles. Research has shown AWS Lambda functions can be manipulated via event sources and environment variables. Least-privilege execution roles, validate event input, isolate functions, secrets management.
Cloud Credential Theft Steals access keys from environment variables, config files, CI/CD pipelines, or metadata services. A root cause in many cloud breaches; keys committed to GitHub are found within minutes by scanners. Use short-lived roles, never long-lived keys, secret scanning, secrets managers, OIDC federation.

20.7 Identity & Authentication Attacks

Attacks against identity and authentication systems
Attack How it works Real-world example Defence
Credential Stuffing Automated login attempts using username/password pairs leaked from other breaches. Affected countless services; the 2020 Nintendo accounts compromise used this technique. MFA, breach-password detection, rate limiting, CAPTCHA, anomaly detection.
Password Spraying Tries one common password against many accounts to avoid lockout thresholds. Frequently used against Microsoft 365 and VPN portals; the 2020 SolarWinds attackers used it for initial access. MFA, lockout policies, banned password lists, monitoring for distributed login attempts.
MFA Fatigue / Push Bombing Floods a user with MFA push notifications until they approve one out of frustration or confusion. Used in the 2022 Uber breach and the 2022 Cisco breach. Number matching, rate limiting, context-aware prompts, FIDO2 keys.
SIM Swapping Convinces or bribes a mobile carrier to transfer the victim's number to an attacker-controlled SIM, intercepting SMS MFA. High-profile attacks on cryptocurrency investors and executives; the 2019 Twitter breach involved SIM swapping. Use app-based or hardware MFA, carrier PIN, avoid SMS for critical accounts.
SAML Assertion Forgery Exploits misconfigured SAML implementations to forge authentication assertions. Documented in multiple identity-provider integrations; allows authentication as any user. Validate signatures strictly, use well-tested libraries, avoid XML parsing pitfalls.
Session Fixation Forces a victim to use a session ID known to the attacker, then hijacks it after login. A long-standing web vulnerability; still found when session IDs are not rotated on login. Rotate session ID on authentication, HttpOnly/Secure cookies, short timeouts.
OAuth Token Theft Steals access or refresh tokens from insecure storage, logs, or redirects. Microsoft reported token theft as a major attack vector in 2022–2023, bypassing MFA. Short-lived tokens, token binding, secure storage, conditional access, continuous evaluation.

20.8 Supply Chain Attacks

Software and hardware supply chain attacks
Attack How it works Real-world example Defence
Compromised Build Pipeline Attackers modify the build process so every release contains backdoor code. SolarWinds Orion (2020): attackers inserted the SUNBURST backdoor into a routine update, reaching 18,000+ customers including US government agencies. Harden CI/CD, code signing, reproducible builds, build attestation, monitoring for unexpected changes.
Dependency Confusion Publishes malicious packages with the same name as internal packages to a public registry, hoping the build system picks them up. Demonstrated by security researcher Alex Birsan in 2021 against Apple, Microsoft, PayPal, and others. Use scoped namespaces, pin dependencies, private registries, verify package integrity.
Typosquatting Publishes packages with names similar to popular ones (e.g. reqeusts instead of requests), hoping for typos. npm, PyPI, and RubyGems have all hosted malicious typosquatted packages. Verify package names, use lockfiles, automated dependency scanning, private registries.
Malicious Package Update A legitimate package maintainer account is compromised and a malicious version is published. event-stream (2018), ua-parser-js (2021), and colors/faker (2022) all affected millions of projects. Lockfiles, dependency pinning, monitoring for unexpected version changes, vendor security reviews.
Compromised Update Mechanism Attackers hijack the update server or signing process to distribute malware. NotPetya (2017) spread through a compromised update of M.E.Doc, Ukrainian accounting software, causing over $10 billion in damage. Code signing with hardware keys, update integrity verification, certificate pinning, network monitoring.
XZ Utils Backdoor A maintainer was socially engineered over years to grant commit access, then inserted a backdoor into a widely used compression library. CVE-2024-3094: discovered by chance in 2024 by a Microsoft engineer; could have enabled SSH compromise on many Linux systems. Review maintainer access, reproducible builds, code review, monitoring for anomalous commits, SBOMs.

20.9 AI & Machine Learning Attacks

Attacks against and using AI/ML systems
Attack How it works Real-world example Defence
Prompt Injection Malicious instructions hidden in content the model reads, causing it to leak data or perform unintended actions. Demonstrated against numerous LLM-powered assistants and browser extensions; a top risk in the OWASP LLM Top 10. Input sanitisation, output filtering, privilege separation, human confirmation for sensitive actions.
Jailbreaking Carefully crafted prompts bypass safety guardrails to produce prohibited content or actions. An ongoing cat-and-mouse game with every major LLM provider. Robust alignment training, red teaming, output moderation, rate limiting.
Adversarial Examples Subtly perturbed inputs cause a model to misclassify β€” e.g. a stop sign with stickers read as a speed limit. Extensively demonstrated against image classifiers; relevant to autonomous vehicles and security cameras. Adversarial training, input validation, ensemble models, human oversight for critical decisions.
Data Poisoning Corrupts training data so the model learns incorrect or malicious behaviour. Demonstrated against recommendation systems, malware classifiers, and chatbot training sets. Data provenance, anomaly detection in training sets, robust training methods, periodic retraining.
Model Inversion / Membership Inference Extracts sensitive training data or determines whether a specific record was in the training set. Research has recovered faces and medical information from models trained on sensitive data. Differential privacy, output limiting, avoid training on sensitive data, regular privacy audits.
Deepfake Social Engineering AI-generated video or voice impersonates an executive to authorise payments or access. A 2024 Hong Kong finance worker was tricked into paying $25 million after a deepfake video call with "colleagues". Verification procedures, code words, out-of-band confirmation, awareness training, deepfake detection tools.

20.10 OT, ICS & SCADA Attacks

Industrial control system attacks
Attack How it works Real-world example Defence
Stuxnet Worm that targeted Siemens PLCs, manipulating centrifuge speeds while hiding its actions from operators. Discovered in 2010; destroyed roughly 1,000 Iranian centrifuges. The first known cyber weapon to cause physical damage. Network segmentation (Purdue model), unidirectional gateways, strict change control, monitoring for anomalous PLC commands.
Industroyer / CrashOverride Malware designed to directly control electricity substation switches and circuit breakers. Used in the 2016 Ukraine power grid attack, causing a blackout in Kyiv. Protocol-aware monitoring, segmentation, manual overrides, incident response for OT.
Triton / TRISIS Targets safety instrumented systems (SIS), potentially disabling the last line of defence against physical catastrophe. Discovered in 2017 at a Saudi petrochemical plant; could have caused an explosion. Physical isolation of SIS, strict access control, monitoring for firmware changes.
Colonial Pipeline Ransomware on IT systems forced a precautionary shutdown of OT operations. 2021: the largest fuel pipeline in the US shut down for days, causing fuel shortages and panic buying. IT/OT segmentation, MFA on VPN, incident response plans that include OT, offline backups.
Modbus / DNP3 Manipulation Legacy industrial protocols lack authentication; commands can be spoofed or replayed. Demonstrated repeatedly in OT security research and red team exercises. Protocol gateways, deep packet inspection for OT protocols, network monitoring, physical security.

20.11 Denial-of-Service Variants

Denial-of-service attack types
Attack How it works Real-world example Defence
SYN Flood Sends many TCP SYN packets without completing the handshake, exhausting the connection table. A classic attack; still effective against unprotected servers. SYN cookies, connection limits, rate limiting, DDoS scrubbing.
UDP / ICMP Flood Overwhelms a target with useless packets to saturate bandwidth. Frequent in volumetric DDoS attacks. Upstream filtering, rate limiting, CDN absorption.
DNS Amplification Sends small spoofed DNS queries to open resolvers, which send large responses to the victim. A favourite of DDoS-for-hire services; amplification factors can exceed 50Γ—. Close open resolvers, response-rate limiting, BCP38 ingress filtering.
NTP / Memcached Amplification Similar reflection using misconfigured NTP or memcached servers, with amplification factors up to 50,000Γ—. GitHub suffered a 1.35 Tbps memcached amplification attack in 2018. Disable UDP on memcached, patch NTP, block amplification vectors at the edge.
HTTP Flood / Slowloris Exhausts application resources with legitimate-looking requests or by holding connections open. Slowloris can take down a web server with a single machine. Reverse proxies, connection timeouts, rate limiting, WAF, bot detection.
Ransom DDoS Attackers demand payment to stop a DDoS attack. Increasingly common against financial services, gaming, and e-commerce. DDoS protection service, incident response plan, do not pay.
Mirai Botnet Built from compromised IoT devices (cameras, routers), launched massive DDoS attacks. 2016: took down Dyn DNS, affecting Twitter, Netflix, Reddit, and many others. Change default IoT credentials, segment IoT devices, firmware updates, DDoS protection.

20.12 Evasion & Anti-Forensics

Techniques attackers use to avoid detection
Technique How it works Real-world example Defence
Living off the Land (LOLBins) Uses legitimate built-in tools (PowerShell, WMI, certutil, mshta) to avoid introducing malware. Used by numerous APT groups; hard to detect because the tools are legitimate. Behavioural monitoring, command-line logging, application allow-listing, EDR.
Fileless Malware Operates entirely in memory or through legitimate tools, leaving little on disk. Used by APT groups including Astaroth and Poweliks. EDR with memory scanning, PowerShell logging, AMSI, script block logging.
Process Hollowing / Injection Injects malicious code into a legitimate running process to hide its origin. Common in malware loaders and ransomware families. EDR behavioural detection, code integrity, API monitoring.
Obfuscation & Packing Encrypts or encodes malware to evade signature detection, unpacking only at runtime. Used by virtually every malware family to some degree. Behavioural analysis, sandboxing, entropy analysis, machine learning classifiers.
Anti-VM / Anti-Debugging Detects analysis environments and refuses to run or behaves benignly. Common in banking trojans and ransomware. Hardened sandboxes, bare-metal analysis, evasive behaviour detection.
Log Tampering Deletes or modifies system and application logs to cover tracks. Standard practice in intrusions; often one of the first things an attacker does. Centralised, write-once logging, log forwarding, integrity monitoring.
Timestomping Modifies file timestamps to confuse forensic timelines. Used by APT groups to make malicious files look legitimate. NTFS journal analysis, timeline correlation, file system forensics.
Tunneling Encapsulates C2 traffic in DNS, ICMP, HTTP, or other allowed protocols. Used by many malware families to bypass egress filtering. Protocol anomaly detection, deep packet inspection, egress filtering, DNS monitoring.
Domain Fronting Uses a legitimate CDN domain for the TLS SNI while routing to a different backend. Used by APT29 and other groups to hide C2 traffic. CDN policies blocking domain fronting, TLS inspection, network monitoring.
Fast Flux / DGA Rapidly changes DNS records or generates many domain names to keep C2 alive. Used by botnets including Conficker and Necurs. DNS reputation services, machine learning detection, sinkholing.
Rootkit / Bootkit Hides deep in the OS kernel or boot process, invisible to normal tools. TDL-4, ZeroAccess, and various APT rootkits. Secure Boot, kernel integrity monitoring, offline forensics, reimaging.
How to use this chapter

Do not try to memorise every row. Instead, use this as a reference: when you read a threat report or hear about an attack, look it up here. Over time, you will internalise the patterns β€” most attacks are variations on a small number of themes: trust abuse, input mishandling, weak credentials, and unpatched systems.

Defence themes that cut across everything

Notice how often the same defences appear: patching, MFA, least privilege, segmentation, logging and monitoring, input validation, encryption, and user awareness. Master these fundamentals and you have addressed the majority of the threats in this chapter.

Chapter 21

Glossary

A quick-reference dictionary of the terms you will meet most often. Use the search box to filter.

Access Control
The process of determining and enforcing what a subject (user, process) may do with an object (file, service).
Adversary
An individual or group attempting to compromise a system. Also called a threat actor.
Air Gap
A physical separation between a system and untrusted networks, typically for highly sensitive environments.
ALE (Annualised Loss Expectancy)
Expected yearly financial loss from a risk: single loss expectancy Γ— annual rate of occurrence.
APT (Advanced Persistent Threat)
A well-resourced, patient attacker β€” usually nation-state β€” that maintains long-term covert access.
ARP Spoofing
Sending forged ARP messages to associate the attacker's MAC address with another host's IP, enabling traffic interception on a local network.
Attack Surface
The total set of points where an attacker could try to enter or extract data. Smaller is better.
Authentication
Verifying a claimed identity. Distinct from authorisation.
Authorisation
Determining what an authenticated identity is permitted to do.
Backdoor
A hidden method of bypassing normal authentication, planted intentionally or left accidentally.
Bastion Host
A hardened server that provides controlled access from an untrusted network to an internal one.
Blue Team
The defensive side of security: monitoring, detection, and response.
Botnet
A network of compromised devices controlled remotely, used for DDoS, spam, or cryptocurrency mining.
Brute Force Attack
Systematically trying every possible credential or key until one works.
BYOD (Bring Your Own Device)
A policy allowing employees to use personal devices for work, which expands the attack surface.
CIA Triad
Confidentiality, Integrity, Availability β€” the three core goals of information security.
CISO
Chief Information Security Officer β€” the executive responsible for an organisation's security strategy and risk.
Clickjacking
Tricking a user into clicking something different from what they perceive, often via transparent overlays.
Cloud Security Posture Management (CSPM)
Tools that continuously check cloud configurations against security best practices.
Command and Control (C2)
The infrastructure an attacker uses to communicate with compromised systems.
Credential Stuffing
Automated login attempts using username/password pairs leaked from other breaches.
Cross-Site Request Forgery (CSRF)
Forcing a logged-in user's browser to submit an unwanted request to a site they trust.
Cross-Site Scripting (XSS)
Injecting malicious script into a page viewed by other users.
Cryptojacking
Secretly using a victim's computing resources to mine cryptocurrency.
CVE
Common Vulnerabilities and Exposures β€” a unique identifier for a publicly known vulnerability, e.g. CVE-2021-44228.
CVSS
Common Vulnerability Scoring System β€” a 0–10 severity score for vulnerabilities. Useful but not a substitute for business context.
Dark Web
Parts of the internet reachable only through anonymising networks such as Tor, often used for selling stolen data and malware.
Defence in Depth
Layering multiple independent security controls so a single failure is not fatal.
DMZ (Demilitarised Zone)
A network segment between the internet and the internal network that hosts internet-facing services.
DNS Sinkhole
Redirecting malicious domain lookups to a controlled server so malware cannot reach its C2 infrastructure.
DNSSEC
Cryptographic signatures added to DNS records to prove authenticity and integrity.
EDR (Endpoint Detection and Response)
Software that continuously records endpoint activity, detects suspicious behaviour, and supports investigation and response.
Encryption
Transforming readable data into an unreadable form using a key, reversible only with the correct key.
Exploit
Code or a technique that takes advantage of a vulnerability.
Exfiltration
Unauthorised transfer of data out of an organisation.
Firewall
A device or software that controls network traffic based on rules.
FIDO2 / WebAuthn
Standards for phishing-resistant authentication using hardware keys or passkeys.
Forensics
The collection, preservation, and analysis of digital evidence in a defensible manner.
GDPR
General Data Protection Regulation β€” EU law governing personal data protection and breach notification.
Hashing
A one-way function producing a fixed-length fingerprint of data, used for integrity checks and password storage.
Honeypot
A decoy system designed to attract attackers and reveal their techniques.
IDS / IPS
Intrusion Detection System (alerts) and Intrusion Prevention System (blocks).
IOC (Indicator of Compromise)
Evidence suggesting a breach: a malicious IP, domain, file hash, or registry key.
IAM (Identity and Access Management)
Systems and processes for managing digital identities and their permissions.
Incident Response
The organised approach to handling a security incident: preparation, detection, containment, eradication, recovery, and lessons learned.
Injection
Supplying untrusted input that is interpreted as code by the receiving system (SQL, command, LDAP).
Keylogger
Software or hardware that records keystrokes, capturing passwords and messages.
Lateral Movement
Moving from one compromised system to another within a network.
Least Privilege
Granting only the minimum access required to perform a task.
MFA (Multi-Factor Authentication)
Requiring two or more different authentication factors, such as a password plus a hardware key.
MITM (Man-in-the-Middle)
An attacker secretly intercepting and possibly altering communication between two parties.
MITRE ATT&CK
A curated knowledge base of adversary tactics, techniques, and procedures, used to structure detection and threat hunting.
Non-repudiation
Assurance that someone cannot deny having performed an action, typically achieved with digital signatures.
Patch
A software update that fixes a bug or vulnerability.
Payload
The part of an attack that performs the malicious action after exploitation.
Penetration Test
An authorised, simulated attack against systems to identify weaknesses, performed under a defined scope and rules of engagement.
Phishing
Fraudulent communication designed to trick recipients into revealing information or installing malware.
PII (Personally Identifiable Information)
Data that can identify an individual, alone or combined with other data.
Pivoting
Using a compromised host as a jumping-off point to reach other systems.
PKI (Public Key Infrastructure)
The system of certificate authorities, certificates, and policies that enables trusted public-key cryptography.
Privilege Escalation
Gaining higher permissions than intended, either vertically (more rights) or horizontally (other users' rights).
Ransomware
Malware that encrypts data and demands payment for the decryption key, often with data theft for double extortion.
Red Team
Security professionals who emulate adversaries to test an organisation's defences.
Rootkit
Malware that conceals its presence, often by modifying the operating system itself.
Salt
Random data added to a password before hashing so identical passwords produce different hashes.
SBOM (Software Bill of Materials)
A machine-readable inventory of the components in a piece of software, used for supply chain risk management.
SIEM
Security Information and Event Management β€” a platform that aggregates logs and correlates events to detect incidents.
Smishing
Phishing conducted via SMS text messages.
Social Engineering
Manipulating people into breaking normal security procedures or revealing information.
Spear Phishing
Highly targeted phishing tailored to a specific individual using research.
SPF / DKIM / DMARC
Email authentication mechanisms that help prevent domain spoofing and improve deliverability.
SQL Injection
Injecting SQL statements through unsanitised input to read or modify a database.
SSRF (Server-Side Request Forgery)
Tricking a server into making requests to internal resources on the attacker's behalf.
Supply Chain Attack
Compromising a trusted third party β€” a vendor, library, or update mechanism β€” to reach their customers.
Symmetric Encryption
Encryption using a single shared key for both encryption and decryption. Fast, but key distribution is the challenge.
Threat Hunting
Proactively searching for threats that have evaded existing detection, using hypotheses and data analysis.
Threat Modelling
A structured process for identifying what can go wrong in a system and how to address it. Often uses STRIDE or attack trees.
TLS (Transport Layer Security)
The protocol that encrypts and authenticates data in transit, underlying HTTPS.
Trojan
Malware disguised as legitimate software.
TTP (Tactics, Techniques, Procedures)
The behavioural patterns of an attacker β€” more durable indicators than specific tools.
Vishing
Phishing conducted over a voice call.
Vulnerability
A weakness that could be exploited to compromise a system.
WAF (Web Application Firewall)
A filter placed in front of a web application to block common attacks such as SQL injection and XSS.
Whaling
Phishing specifically targeting senior executives.
Worm
Self-replicating malware that spreads across networks without user interaction.
Zero Trust
A security model that assumes no implicit trust based on network location, verifying every request explicitly.
Zero-Day
A vulnerability with no available patch, or an exploit for such a vulnerability.

No terms matched your search.

← Back Cybersecurity Field Guide ⌂ Encyclopedia Next →