Cybersecurity From First Principles - Volume 1 — Living Reader
This candidate demonstrates the reader structure and the recovered Chapters 5-9 journey slice. Canonical chapter and topic prose is imported from the verified control edition; depth projections, AI threads and labs remain governed future work. Feature states below are truthful for this build.
- CAPABILITIES IN THIS CANDIDATE
- depthSelectorBETA
- packetJourneyBETA
- topicInteractionsBETA
- readerProgressLIVE
- updatePassportLIVE
- changeBadgesCOMING
- talkToBookCOMING
- learningPassCOMING
- shareableMomentsBETA
- reducedMotionSupportLIVE
Become the packet: the Chapters 5-9 journey
One continuous journey from your device to an encrypted web response - through the same concepts Chapters 5-9 teach in print.
What is a network?
Endpoints + links + agreed protocols. Start with the simplest truth: devices need a path and shared rules before anything useful can happen.
Follow one message
Wi-Fi or Internet?
Packet vs frame
Addresses, DHCP and NAT
No single number identifies a person on the Internet. IP, MAC, DHCP and NAT solve different parts of the delivery journey.
Your phone joins home Wi-Fi
Spec mapping CYB-NET-009; the prototype badge (CYB-NET-010-A01) is overridden per the CFP-LIVING-005 spec.
Which identifier answers which question?
NAT translation table
Switches, routers, gateways and Wi-Fi
Name the function before blaming the box. A consumer "router" may be a router, switch, access point, DHCP server, NAT device and firewall at once.
Local delivery or default gateway?
Spec mapping CYB-NET-011,012; the prototype badge (CYB-NET-014-A01) is overridden per the CFP-LIVING-005 spec.
SSID myth check
Spec mapping CYB-NET-013,014; the prototype badge (CYB-NET-014-C01) is overridden per the CFP-LIVING-005 spec.
Segmentation changes blast radius
Ports, protocols, TCP and UDP
An IP address reaches a system. A port helps reach the intended service. Transport behavior determines how the conversation is carried.
Build the connection
TCP three-way handshake
Choose transport behavior
DNS, HTTP, HTTPS and TLS
You press Enter once. The network asks several questions: where is it, how do I connect, what do I request, and how do I protect the conversation?
The whole web journey
Spec mapping CYB-WEB-001,003,005; the prototype badge (CYB-WEB-005-A01) is the resolved presentation anchor.
Read the URL
TLS session builder
A padlock does not prove an honest website
Journey finish - generate your own share summary
No tracking. This journey only generates text locally.
Journey depth
The same Topic ID can unfold in layers instead of forcing the reader into a separate "advanced" book.
| Topic ID | State | Title | Progress |
|---|---|---|---|
| CYB-CAP-001 | LIVE | The scenario: Asha opens the learning portal | |
| CYB-CAP-002 | LIVE | Step 2: local network and addressing | |
| CYB-CAP-003 | LIVE | Step 5: authentication, authorization and session | |
| CYB-CAP-004 | LIVE | Something goes wrong: read the evidence SIMPLIFIED INCIDENT TIMELINE | |
| CYB-CRY-001 | LIVE | Plaintext, ciphertext and the key | |
| CYB-CRY-002 | LIVE | Symmetric encryption: the same secret protects and unlocks | |
| CYB-CRY-003 | LIVE | Hashing: a fingerprint-like transformation | |
| CYB-CRY-004 | LIVE | Encoding changes representation - not secrecy | |
| CYB-CRY-005 | LIVE | Digital signatures: integrity, origin and non-repudiation context | |
| CYB-DEF-001 | LIVE | Firewall: a traffic decision point | |
| CYB-DEF-002 | LIVE | Endpoint protection: defend the device where work happens | |
| CYB-DEF-003 | LIVE | IDS and IPS: observe or intervene in suspicious traffic | |
| CYB-DEF-004 | LIVE | Endpoint Detection and Response (EDR) | |
| CYB-DEF-005 | LIVE | Patching closes known doors - but safely | |
| CYB-DIG-001 | LIVE | What is a computer, really? | |
| CYB-DIG-002 | LIVE | Processor, working memory and storage | |
| CYB-DIG-003 | LIVE | Hardware and software: machine + instructions | |
| CYB-DIG-004 | LIVE | Files, folders, applications and data | |
| CYB-DIG-005 | LIVE | A file is a container for information | |
| CYB-DIG-006 | LIVE | Program versus process | |
| CYB-DIG-007 | LIVE | The operating system is the coordinator | |
| CYB-DIG-008 | LIVE | Updates, patches and versions | |
| CYB-ETH-001 | LIVE | Authorization: the first security tool | |
| CYB-ETH-002 | LIVE | Scope: permission has boundaries | |
| CYB-ETH-003 | LIVE | Evidence, privacy and minimum necessary access | |
| CYB-ETH-004 | LIVE | Responsible vulnerability disclosure | |
| CYB-ETH-005 | LIVE | Ethical AI-assisted security practice | |
| CYB-FND-001 | LIVE | Chapter opener - Cybersecurity: Assets, Threats, Vulnerabilities and Risk | |
| CYB-FND-002 | LIVE | Start with the asset: what are we trying | |
| CYB-FND-003 | LIVE | Threat: something capable of causing harm | |
| CYB-FND-004 | LIVE | Vulnerability: a weakness that matters in context | |
| CYB-FND-005 | LIVE | Exploit and attack surface | |
| CYB-FND-006 | LIVE | Risk connects likelihood, consequence and context | |
| CYB-FND-007 | LIVE | The CIA triad: three ways security can fail | |
| CYB-IAM-001 | LIVE | A person and an account are not the same thing | |
| CYB-IAM-002 | LIVE | Permissions turn identity into boundaries | |
| CYB-IAM-003 | LIVE | Administrator and root: powerful, not magical | |
| CYB-IAM-004 | LIVE | Least privilege: give only what is needed | |
| CYB-IAM-005 | LIVE | LIFE -> CYBER: the visitor at the door | |
| CYB-IAM-006 | LIVE | Passwords: length, uniqueness and management | |
| CYB-IAM-007 | LIVE | Multi-Factor Authentication (MFA) | |
| CYB-IAM-008 | LIVE | Phishing-resistant MFA and passkeys | |
| CYB-LAB-001 | LIVE | Build the lab before the tools | |
| CYB-LAB-002 | LIVE | The built-in toolkit is already powerful | |
| CYB-LAB-003 | LIVE | Network observation tools | |
| CYB-LAB-004 | LIVE | Packet capture: watch communication, not magic | |
| CYB-LAB-005 | LIVE | Port scanning: learn the question before the tool | |
| CYB-LAB-006 | LIVE | Logs: practise being an investigator | |
| CYB-LAB-007 | LIVE | Keep a cyber notebook | |
| CYB-NET-001 | LIVE | A network lets devices communicate | |
| CYB-NET-002 | LIVE | LAN, WAN, Internet and intranet | |
| CYB-NET-003 | LIVE | Client and server describe a relationship | |
| CYB-NET-004 | LIVE | Large messages travel as smaller pieces | |
| CYB-NET-005 | LIVE | An IP address tells the network where to deliver | |
| CYB-NET-006 | LIVE | IPv4: the familiar dotted address | |
| CYB-NET-007 | LIVE | Private and public IPv4 addresses solve different problems | |
| CYB-NET-008 | LIVE | A MAC address works on the local link | |
| CYB-NET-009 | LIVE | DHCP gives devices usable network settings | |
| CYB-NET-010 | LIVE | NAT lets private addresses share public connectivity | |
| CYB-NET-011 | LIVE | A switch connects devices on a local network | |
| CYB-NET-012 | LIVE | A router connects different networks | |
| CYB-NET-013 | LIVE | Wi-Fi and the access point | |
| CYB-NET-014 | LIVE | Your “router” may actually be several devices in one box | |
| CYB-NET-015 | LIVE | A protocol is an agreed set of communication rules | |
| CYB-NET-016 | LIVE | Ports help traffic find the intended service | |
| CYB-NET-017 | LIVE | A socket combines address, port and transport context | |
| CYB-NET-018 | LIVE | UDP sends datagrams without a TCP-style connection | |
| CYB-NET-019 | LIVE | Common ports are conventions, not identities | |
| CYB-OS-001 | LIVE | Windows and Linux: different families, similar jobs | |
| CYB-OS-002 | LIVE | GUI and CLI are two doors to the same system | |
| CYB-OS-003 | LIVE | Paths are addresses inside a file system | |
| CYB-OS-004 | LIVE | Command output is part of the conversation | |
| CYB-SOC-001 | LIVE | Logs and telemetry: the digital trail | |
| CYB-SOC-002 | LIVE | Security Information and Event Management (SIEM) | |
| CYB-SOC-003 | LIVE | Event, alert and incident are not synonyms | |
| CYB-SOC-004 | LIVE | Incident response is a cycle, not a dramatic button | |
| CYB-SOC-005 | LIVE | The Blue Team: defend, detect and respond | |
| CYB-THR-001 | LIVE | Social engineering: influence before intrusion | |
| CYB-THR-002 | LIVE | Phishing: a message designed to trigger a harmful action | |
| CYB-THR-003 | LIVE | Malware: software used for malicious purpose | |
| CYB-THR-004 | LIVE | Ransomware is an incident, not merely an encrypted file | |
| CYB-THR-005 | LIVE | AI-assisted deception: text, voice, image and video | |
| CYB-WEB-001 | LIVE | What happens after you press Enter? | |
| CYB-WEB-002 | LIVE | Domain, URL and address are not the same thing DOMAIN NAME | |
| CYB-WEB-003 | LIVE | Hypertext Transfer Protocol (HTTP): a conversation | |
| CYB-WEB-004 | LIVE | Why HTTPS exists | |
| CYB-WEB-005 | LIVE | Try it: inspect a secure web connection SAFE ON YOUR OWN DEVICE |
Read CYB-CAP-001 - The scenario: Asha opens the learning portal
Chapter opening (page 193)
You have learned the parts. Now watch them become one system. [p. 193]
Cybersecurity becomes easier when you stop seeing isolated terms and start seeing a journey: user -> process -> identity -> network -> service -> data -> logs -> security decisions.
[p. 193]By the end of this chapter, you should be able to:
- follow one user action from device to network to web service and back;
- identify where identity, Domain Name System (DNS), Internet Protocol (IP), ports and Transport Layer Security (TLS) appear;
- spot where threats and controls enter the same journey;
- read a simple incident timeline;
- use the journey as a map for future Red, Blue, cloud, forensics and Artificial Intelligence (AI) security learning.
Asha opens her laptop at home, connects to Wi-Fi and visits a fictional learning portal. She signs in, opens a lesson and downloads a harmless lab file. This ordinary action touches almost every foundation in Volume 1. [p. 194]
- DEVICE
Operating system, browser, files and processes.
- NETWORK
Wi-Fi, router, IP addressing and routing.
- NAME
DNS turns the domain into an IP address.
- SERVICE
HTTPS reaches a web service on an appropriate port.
- IDENTITY
Authentication establishes Asha's account and session.
CYB-CAP-001-A01 follows one request through the entire chain. At any stop, open the relevant Quick Recall and return to the same point in Asha's journey.
[p. 194]Think of following one parcel from sender to address lookup, local courier, regional route, secure reception, identity check and delivery receipt. Each hand-off answers a different question.
[p. 194]Step 1: device, operating system and process
Asha clicks the browser icon. The operating system loads program code, creates a process, allocates resources and applies the permissions associated with Asha's user account. [p. 195]
- PROGRAM
Browser code exists on storage.
- PROCESS
A running instance now has memory and execution state.
- USER
The process runs in Asha's session.
- PERMISSIONS
The operating system limits what the process and user may access.
A malicious browser extension, vulnerable component or stolen local session could change this stage. Endpoint protection, patching and least privilege reduce risk.
[p. 195]CYB-DIG-006 / CYB-IAM-004 - Program vs process; least privilege.
[p. 195]Source: control edition, PDF pages 194-195.
- Mapping note: Multi-section topic: governed topic spans printed sections 18.1-18.2 of chapter 18.
Read CYB-CAP-002 - Step 2: local network and addressing
Available in the full edition - not included in this free preview.
Read CYB-CAP-003 - Step 5: authentication, authorization and session
Available in the full edition - not included in this free preview.
Read CYB-CAP-004 - Something goes wrong: read the evidence SIMPLIFIED INCIDENT TIMELINE
Something goes wrong: read the evidence
09:12 login_success user=asha device=known-laptop 09:14 course_file_download user=asha file=lab1.zip 11:47 login_success user=asha device=unknown-browser 11:48 mfa_method_added user=asha 11:51 bulk_download user=asha count=428 11:54 alert_created rule=unusual_account_activity
[p. 201]Which events are ordinary? Which change the story? What evidence would you request before deciding the account is compromised? A timeline turns isolated events into a sequence that can be investigated.
[p. 201]An AI assistant could summarise this timeline and propose questions. The analyst must verify every claim against original logs and decide whether containment is justified.
[p. 201]Volume 1 checkpoint: you can now see the system
Device -> process -> identity -> local network -> IP/gateway -> DNS -> port/transport -> TLS -> web service -> authorization -> data -> logs -> detection -> response. Each later volume deepens part of this map.
[p. 202]If you can explain this journey in your own words, you have crossed the most important beginner barrier: cybersecurity terms are no longer disconnected vocabulary. [p. 202]
- VOLUME 2
Networks, systems and cloud foundations in greater depth.
- VOLUME 3
Ethical hacking, offensive security and authorised Red Team practice.
- VOLUME 4-5
SOC, threat hunting, incident response, forensics, malware and Purple Team.
- VOLUME 6
AI security, governance, risk and future systems.
You have now touched identity, networking, cloud/web, offensive security, defensive operations, privacy, incident response, forensics and AI security. “Cybersecurity” is an ecosystem of careers - hacking is only one part.
[p. 202]This standalone PDF provides the complete Volume 1 foundation. Separate Living Edition features, guided labs, multilingual explanations and professional-training pathways may be offered later; they are not included unless a product page explicitly says so.
[p. 202]Source: control edition, PDF pages 201-202.
- Mapping note: Multi-section topic: governed topic spans printed sections 18.8-18.9 of chapter 18.
Read CYB-CRY-001 - Plaintext, ciphertext and the key
Available in the full edition - not included in this free preview.
Read CYB-CRY-002 - Symmetric encryption: the same secret protects and unlocks
Available in the full edition - not included in this free preview.
Read CYB-CRY-003 - Hashing: a fingerprint-like transformation
Available in the full edition - not included in this free preview.
Read CYB-CRY-004 - Encoding changes representation - not secrecy
Available in the full edition - not included in this free preview.
Read CYB-CRY-005 - Digital signatures: integrity, origin and non-repudiation context
Available in the full edition - not included in this free preview.
Read CYB-DEF-001 - Firewall: a traffic decision point
Available in the full edition - not included in this free preview.
Read CYB-DEF-002 - Endpoint protection: defend the device where work happens
Endpoints include laptops, desktops, servers and mobile devices. Traditional antivirus focused heavily on known malicious files. Modern endpoint protection uses multiple techniques: signatures, behaviour, reputation, exploit prevention, application controls and cloud-assisted analysis. [p. 157]
- PREVENT
Block known or suspicious activity before it succeeds.
- DETECT
Identify malicious or abnormal files, processes, scripts and behaviours.
- CONTAIN
Quarantine files, isolate devices or stop processes where the product and policy permit.
Endpoint protection is not permission to ignore updates, backups or safe identity controls. Security products can fail, be bypassed or be misconfigured.
[p. 157]AI/ML techniques can help classify behaviour and prioritise suspicious activity, but false positives and false negatives still exist. Human and automated controls must work together.
[p. 157]Source: control edition, PDF pages 157-157.
Read CYB-DEF-003 - IDS and IPS: observe or intervene in suspicious traffic
Available in the full edition - not included in this free preview.
Read CYB-DEF-004 - Endpoint Detection and Response (EDR)
Available in the full edition - not included in this free preview.
Read CYB-DEF-005 - Patching closes known doors - but safely
Available in the full edition - not included in this free preview.
Read CYB-DIG-001 - What is a computer, really?
Chapter opening (page 13)
Before we talk about attacks or defence, we need a clear picture of the digital world itself - what it is made of, what it does and what is worth protecting. [p. 13]
Look at your phone for a moment. It may hold photographs, messages, banking applications, contacts, passwords, work documents and years of personal history. If the phone disappears, the device matters. If somebody silently copies everything inside it, the information may matter even more.
[p. 13]- explain, in ordinary language, what a computer actually does;
- distinguish hardware, software, applications and data;
- explain the different jobs of the processor, working memory and storage;
- identify your own digital assets and why they may need protection.
| READ | TRY | DIGITAL | LEVEL |
|---|---|---|---|
| ~18 min | 1 activity | 2 extensions | Zero assumptions |
No technical word is supposed to impress you. If a term is needed, we will explain it before asking you to use it.
[p. 13]A computer is a machine that receives information, follows instructions, stores information and produces a result. That sentence covers a laptop, a smartphone, a server, a smart television and many devices hiding inside larger machines. [p. 14]
Figure 1.1 · The four jobs are simple; modern computers perform them extraordinarily quickly. (A captioned CORE IDEA box.) [p. 14]
A computer does not “understand” a task the way a person does. It follows instructions represented in forms the machine can process.
[p. 14]Example. You tap a photograph on your phone. The tap is input. Software tells the device what to do. The picture data is read from storage, worked on using the processor and memory, and then shown on the screen as output. [p. 14]
Curious about the parts doing that work? Jump to “processor, memory and storage” on the next page. [p. 14]
A computer is the whole system. The processor is only one component inside it. Calling the processor “the computer” is like calling an engine “the car.”
[p. 14]Source: control edition, PDF pages 14-14.
Read CYB-DIG-002 - Processor, working memory and storage
You will hear three terms constantly: processor, memory and storage. Do not memorise them as labels. First give each one a job in your mind. [p. 15]
Figure 1.2 · A useful mental model. The analogy helps us learn; the electronics underneath are more complex. (A three-column table with the columns term, job and analogy.) [p. 15]
| TERM | JOB | ANALOGY |
|---|---|---|
| Central Processing Unit (CPU) | Carries out instructions and calculations | A worker doing the immediate task |
| Random Access Memory (RAM) | Holds working information while it is in active use | The desk space in front of the worker |
| Storage | Keeps files, applications and other information for later | The filing cabinet |
Random Access Memory (RAM) is usually volatile: its working contents disappear when power is removed. Storage is designed to retain information. The Central Processing Unit (CPU) repeatedly fetches and executes instructions, while many other components help move data around the system.
[p. 15]↩ Return to the explanation of a computer. [p. 15]
Source: control edition, PDF pages 15-15.
Read CYB-DIG-003 - Hardware and software: machine + instructions
Available in the full edition - not included in this free preview.
Read CYB-DIG-004 - Files, folders, applications and data
Available in the full edition - not included in this free preview.
Read CYB-DIG-005 - A file is a container for information
Chapter opening (page 23)
You probably use files, apps and operating systems every day. The names are familiar; what happens underneath is less obvious. This chapter makes that hidden machinery visible. [p. 23]
A computer does not simply "have apps". It stores files, follows program instructions, creates running processes, and relies on an operating system to coordinate the whole machine.
[p. 23]By the end of this chapter, you should be able to:
- explain the difference between a file, a program and a process;
- understand why file extensions matter without treating them as proof of safety;
- describe what an operating system does in ordinary language;
- explain why services can run even when no window is open;
- understand updates, patches and versions;
- inspect your own computer safely without changing security settings.
- READ IT
Everything needed for the concept is on the printed page.
- PLANNED LIVING EDITION
A future animation can show a stored program becoming a running process step by step. Not included with this PDF.
- TRY IT
Safe observation exercises use your own device.
A file is a named collection of data stored somewhere: on a phone, laptop, server, memory card or cloud-storage system. A photograph, document, song, spreadsheet and application installer can all be files. What differs is the information inside and the way software interprets it. [p. 24]
Think of a labelled envelope. The label helps you recognise what kind of material you expect inside, but the label does not guarantee the contents are genuine or safe. A filename works in a similar way: useful, but not proof.
[p. 24]What a filename can tell you
- report.pdf
A document
- photo.jpg
An image
- budget.xlsx
A spreadsheet
- setup.exe
A Windows program
The ending after the final dot is commonly called the file extension. It often helps the operating system decide which application should open the file. [p. 24]
A file extension is a clue, not a security certificate. A dangerous file can be given a misleading name, and some systems may hide known extensions.
[p. 24]Source: control edition, PDF pages 24-24.
Read CYB-DIG-006 - Program versus process
This small distinction becomes surprisingly important later in cybersecurity: a program stored on a device is not the same thing as that program running. [p. 25]
- PROGRAM
Instructions stored on disk. Think: the recipe written down.
- PROCESS
A running instance of those instructions. Think: the recipe being cooked right now.
- MORE THAN ONE
The same program can create several processes at the same time.
If a browser program is installed on your computer, its files may sit on storage even when the browser is closed. When you open the browser, the operating system loads what it needs and creates one or more running processes. [p. 25]
A process receives working memory, execution time on the processor and access to resources according to rules enforced by the operating system. The exact details differ between systems, but this mental model is enough for now.
[p. 25]This definition is referenced later. Jump to the source example on page 28 Quick Recall requested from page 28. [p. 25]
Return to page 28 - where you were reading ↩ [p. 25]
A process has a life
Processes are not permanent objects. They start, do work, wait, use resources and eventually stop. Some last for seconds; others may run for days. [p. 26]
- START
Program is launched
- RUN
Instructions execute
- WAIT
Process may pause for input
- STOP
Process exits or is ended
Watch one process move through START, RUN, WAIT and STOP. Pause or step through the sequence and notice what changes at each stage.
[p. 26]Why cybersecurity cares
Malware also runs as processes. Security tools watch process behaviour because a running process can open files, create network connections, start other processes, request permissions or change system settings. [p. 26]
Stored instructions are not the same thing as instructions currently running. Program is the stored capability; process is the active execution.
[p. 26]Services: work that continues in the background
Not every useful process needs a visible window. Computers run many background components so important functions remain available even when you are not actively looking at them. [p. 27]
A hotel receptionist can remain on duty even when no guest is speaking to them. They are available to handle a request when one arrives. A computer service is similar: it may wait quietly in the background until needed.
[p. 27]Examples can include networking, printing, updates, security monitoring and time synchronisation. Different operating systems use different terminology and implementation details, so we will avoid memorising service names here. [p. 27]
Attackers sometimes try to abuse legitimate services or install malicious ones so code starts automatically. Defenders therefore care about which services exist, what account they run as, what they can access and whether they should be running at all.
[p. 27]Observe what is running - safely
You can inspect running applications and processes without becoming a system administrator. Observation is enough for this exercise. [p. 28]
Do not end, disable or delete processes simply because you do not recognise their names. Many normal system components look unfamiliar. This exercise is observation only.
[p. 28]On Windows, Task Manager can show applications, background processes and resource use. On macOS, Activity Monitor provides a similar view. [p. 28]
Linux systems offer graphical tools and command-line views, which we will cover later. [p. 28]
• Open the system's process viewer.
[p. 28]- Find one application you recognise.
- Notice that the application may have more than one process.
- Look at processor and memory use. Do not change anything.
- Close the application normally and observe what changes.
Forgot the difference between a program and a process? Open the Quick Recall on page [p. 28]
Classify items in a simulated process list as programs, processes or services. Check the explanation, then try again without hints.
[p. 28]Source: control edition, PDF pages 25-28.
- Mapping note: Multi-section topic: governed topic spans printed sections 2.2-2.5 of chapter 2.
Read CYB-DIG-007 - The operating system is the coordinator
Available in the full edition - not included in this free preview.
Read CYB-DIG-008 - Updates, patches and versions
Available in the full edition - not included in this free preview.
Read CYB-ETH-001 - Authorization: the first security tool
Chapter opening (page 173)
The same technical action can be legitimate security work or an unlawful intrusion. Permission changes everything. [p. 173]
Skill does not create permission. Professional cybersecurity starts with explicit authorization, defined scope, proportional methods and respect for people, data and systems.
[p. 173]By the end of this chapter, you should be able to:
- explain authorization, consent, scope and rules of engagement;
- distinguish observation from active testing;
- use safe-lab boundaries and stop conditions;
- understand responsible vulnerability disclosure at a foundation level;
- recognise that cyber practice is shaped by law, contracts, policy and regional regulation.
Before testing a system, ask who owns it, who is authorised to give permission, what exactly has been approved and how that approval is recorded. Curiosity is not authorization. Public visibility is not authorization. Owning an account on a service does not automatically grant permission to test the service itself. [p. 174]
Knowing how to pick a lock does not give you permission to try it on a neighbour's door. Security testing is similar: capability and authority are separate questions.
[p. 174]- WHO
Who can legally/contractually authorize the work?
- WHAT
Which systems, accounts, data and techniques are included?
- EVIDENCE
Where is the permission documented, and who can confirm it?
If you cannot clearly explain why you are permitted to perform an action, do not perform it outside your own controlled lab.
[p. 174]Source: control edition, PDF pages 174-174.
Read CYB-ETH-002 - Scope: permission has boundaries
Available in the full edition - not included in this free preview.
Read CYB-ETH-003 - Evidence, privacy and minimum necessary access
Available in the full edition - not included in this free preview.
Read CYB-ETH-004 - Responsible vulnerability disclosure
Available in the full edition - not included in this free preview.
Read CYB-ETH-005 - Ethical AI-assisted security practice
Available in the full edition - not included in this free preview.
Read CYB-FND-001 - Chapter opener - Cybersecurity: Assets, Threats, Vulnerabilities and Risk
Security begins by asking what matters, what could go wrong, and what we can reasonably do about it. [p. 113]
Cybersecurity is not the art of making everything impossible to attack. It is the disciplined protection of things that matter against realistic harm.
[p. 113]By the end of this chapter, you should be able to:
- explain asset, threat, vulnerability, exploit, attack surface, risk and control in plain language;
- use Confidentiality, Integrity and Availability (CIA) to describe what can be harmed;
- avoid treating every vulnerability as the same level of danger;
- build a simple personal or business risk picture;
- recognise how Artificial Intelligence (AI) can change the speed and scale of familiar threats.
Source: control edition, PDF pages 113-113.
- Mapping note: Governed topic has no dedicated printed section; content is the chapter opener (framing + CORE IDEA + objectives).
Read CYB-FND-002 - Start with the asset: what are we trying
Start with the asset: what are we trying to protect?
An asset is anything that has value to a person or organisation and therefore deserves appropriate protection. A laptop is an asset, but so are the information on it, the account that unlocks it, the reputation of the organisation, and the ability to keep operating. [p. 114]
A shop protects more than the front door. It protects stock, cash, staff, customer trust, supplier relationships and the ability to open tomorrow. Cybersecurity works the same way: devices are only part of the asset picture.
[p. 114]- DATA
Customer records, designs, messages, research, financial data.
- IDENTITY
Accounts, credentials, privileges, digital identities and trust.
- SYSTEMS
Laptops, servers, applications, networks, cloud services and AI systems.
- OPERATIONS
The ability to deliver services, receive payments, teach, manufacture or communicate.
CYB-FND-002 - Before asking “How do we secure it?”, ask “What is it worth, to whom, and what happens if it is lost, altered, exposed or unavailable?”
[p. 114]Source: control edition, PDF pages 114-114.
Read CYB-FND-003 - Threat: something capable of causing harm
Available in the full edition - not included in this free preview.
Read CYB-FND-004 - Vulnerability: a weakness that matters in context
Available in the full edition - not included in this free preview.
Read CYB-FND-005 - Exploit and attack surface
Available in the full edition - not included in this free preview.
Read CYB-FND-006 - Risk connects likelihood, consequence and context
Available in the full edition - not included in this free preview.
Read CYB-FND-007 - The CIA triad: three ways security can fail
The Confidentiality, Integrity and Availability (CIA) triad is a simple lens for describing what security is trying to preserve. [p. 119]
- CONFIDENTIALITY
Information and resources are disclosed only to authorised people, systems or processes.
- INTEGRITY
Information and systems remain accurate, complete and protected against unauthorised alteration.
- AVAILABILITY
Authorised users can access needed systems and information when required.
A medical report leaked to a stranger is a confidentiality failure. A bank balance silently changed is an integrity failure. A hospital system unavailable during treatment is an availability failure.
[p. 119]Many incidents affect more than one property. Ransomware can reduce availability, steal confidential information and alter or destroy data integrity. CIA is a lens, not three separate boxes.
[p. 119]Build a risk picture - not a fear list
Try this with an ordinary situation: a small training institute stores student records, collects fees, uses email and relies on an online learning system. [p. 120]
1. List assets: student data, payment records, staff accounts, website, classrooms and reputation. [p. 120]
2. Choose one scenario: an attacker steals a counsellor password through phishing. [p. 120]
3. Identify weaknesses: password reuse, no Multi-Factor Authentication, excessive access, weak verification. [p. 120]
4. Describe consequences: exposed student data, fraudulent messages, interrupted operations, loss of trust. [p. 120]
5. Choose controls: password manager, phishing-resistant MFA where available, least privilege, alerting and recovery procedures. [p. 120]
Pick one personal asset - email, photos, banking access or work files. Write one plausible threat, one weakness, one consequence and one control. The objective is not to frighten yourself; it is to turn vague concern into an actionable security decision.
[p. 120]AI changes tempo, scale and attack surface
Artificial Intelligence (AI) belongs on both sides of the risk picture. Attackers can use it to accelerate familiar work; defenders can use it to analyse information and automate parts of security. AI systems can also become new assets and new attack surfaces themselves. [p. 121]
- AI AS TOOL
Reconnaissance, persuasive social engineering, code assistance, data analysis and automation.
- AI AS TARGET
Models, prompts, data, retrieval stores, agent tools, permissions and connected systems can be attacked or manipulated.
- AI AS CONTROL
Defenders can use AI to summarise, correlate, triage and assist investigation - with human verification.
The UK National Cyber Security Centre assessed in 2025 that AI was already enhancing existing intrusion activity such as reconnaissance, vulnerability research, social engineering, basic malware generation and processing stolen data, and expected greater frequency and intensity through 2027.
[p. 121]CYB-AI-RISK-001 - dated AI-enabled attack and defence developments. This is a reference identifier, not a live update service.
[p. 121]Checkpoint: think like a risk owner
Asset = what matters. Threat = potential cause of harm. Vulnerability = weakness. Exploit = way to take advantage of a weakness. Attack surface = reachable opportunities. Risk = harmful scenario in context. Control = safeguard. CIA = confidentiality, integrity and availability.
[p. 122]Can you answer these without looking back?
- Why is a vulnerability not automatically a high business risk?
- Give one example where confidentiality, integrity and availability are all affected.
- Why can a useful new integration increase attack surface?
- Name one way AI can help an attacker and one way it can help a defender.
Risk thinking appears everywhere: security engineering, Governance Risk and Compliance (GRC), cloud security, penetration testing, Security Operations Centre (SOC), privacy, incident response and leadership. Different jobs use different tools, but they are all deciding what matters and how to reduce harm.
[p. 122]Chapter 11 moves from “what are we protecting?” to one of the most important controls in modern security: proving identity and deciding what that identity is allowed to do.
[p. 122]Source: control edition, PDF pages 119-123.
- Mapping note: Multi-section topic: governed topic spans printed sections 10.6-10.9 of chapter 10.
Read CYB-IAM-001 - A person and an account are not the same thing
Chapter opening (page 35)
Who are you to the computer, and what are you allowed to do? [p. 35]
A secure system does two different jobs: it identifies the account being used, then limits what that account is allowed to see or change. Identity without boundaries is not enough.
[p. 35]By the end of this chapter, you should be able to:
- distinguish a person, a user account and an identity claim;
- explain permissions, groups and roles in ordinary language;
- describe administrator or root access without treating it as magic;
- explain the principle of least privilege;
- understand why unique accounts and useful logs matter to security.
- READ IT
The printed chapter contains the complete conceptual lesson.
- PLANNED LIVING EDITION
A future animation can show an access request moving through identity and permission checks.
- TRY IT
A read-only exercise lets you inspect your own account without changing security settings.
You are a person. A user account is a record the system uses to represent a user, service or other identity. The account can have a name, settings, permissions and a history of activity. One person may have several accounts, and some accounts may not represent a human at all. [p. 36]
A building pass is not the visitor. It is the building's way of representing that visitor inside its access system. A computer account plays a similar role.
[p. 36]- PERSON
The human being using or responsible for the system.
- ACCOUNT
The system record that carries permissions, settings and activity.
- IDENTITY CLAIM
A statement such as “I am Asha” that still needs to be verified.
A sign-in name, email address or badge number can help identify an account, but it does not by itself prove who is actually using it. Proof of identity is the job of authentication, which we will explore properly in Chapter 11. [p. 36]
User, account and identity are related words, but they are not interchangeable. Cybersecurity becomes much clearer when you ask which one a sentence actually means.
[p. 36]Source: control edition, PDF pages 36-36.
Read CYB-IAM-002 - Permissions turn identity into boundaries
After the system knows which account is acting, it still needs to decide what that account may do. Permissions create those boundaries. [p. 37]
- READ
View a file, record or configuration.
- CHANGE
Create, edit, rename or delete something.
- RUN
Start or execute a program or script.
- ADMINISTER
Change settings that affect other users or the whole system.
Permissions can apply to many kinds of objects: files, folders, applications, databases, cloud resources, cameras, shared drives, mailboxes and even individual actions inside a business application. [p. 37]
When an account asks to open or change something, the operating system or application checks the request against its access rules. If the action is allowed, it proceeds. If not, the request is refused. “Permission denied” is often a security control doing exactly what it was designed to do.
[p. 37]Identity answers “which account is acting?” Permission answers “what may that account do?” Keep those two questions separate.
[p. 37]Groups and roles prevent permission chaos
Imagine giving permissions one by one to hundreds of people. It would be slow, inconsistent and easy to get wrong. Systems therefore often collect accounts into groups or assign them roles. [p. 38]
A training institute, for example, might need different access for learners, trainers, counsellors and administrators. Instead of rebuilding every permission for every new person, the organisation can attach common permissions to a group or role. [p. 38]
- LEARNER
Course material and own lab resources.
- TRAINER
Teaching material, learner progress and lab controls.
- COUNSELLOR
Admissions information and authorised student records.
- ADMINISTRATO R
System configuration and account administration.
An Access Control List (ACL) records which identities are allowed or denied particular actions on an object. Role-Based Access Control (RBAC) assigns permissions through defined roles. Real platforms can combine several models, and the details vary.
[p. 38]Groups and roles simplify administration, but a wrongly designed role can also spread excessive access to many accounts at once. Convenience and control must stay in balance.
[p. 38]Source: control edition, PDF pages 37-38.
- Mapping note: Multi-section topic: governed topic spans printed sections 3.2-3.3 of chapter 3.
Read CYB-IAM-003 - Administrator and root: powerful, not magical
Available in the full edition - not included in this free preview.
Read CYB-IAM-004 - Least privilege: give only what is needed
Available in the full edition - not included in this free preview.
Read CYB-IAM-005 - LIFE -> CYBER: the visitor at the door
Available in the full edition - not included in this free preview.
Read CYB-IAM-006 - Passwords: length, uniqueness and management
Available in the full edition - not included in this free preview.
Read CYB-IAM-007 - Multi-Factor Authentication (MFA)
Available in the full edition - not included in this free preview.
Read CYB-IAM-008 - Phishing-resistant MFA and passkeys
Available in the full edition - not included in this free preview.
Read CYB-LAB-001 - Build the lab before the tools
Chapter opening (page 183)
Tools become useful only when you understand what question each one answers. [p. 183]
The first cybersecurity toolkit is not a collection of “hacking apps.” It is a disciplined way to observe systems, ask questions, record evidence and practise safely.
[p. 183]By the end of this chapter, you should be able to:
- build a safe beginner practice environment;
- use built-in operating-system tools to observe identity, network and processes;
- understand what packet capture, port scanning and log viewing are for without misusing them;
- keep notes and evidence reproducibly;
- use AI as a learning assistant without surrendering understanding.
A lab is a controlled environment where mistakes are expected and boundaries are clear. For Volume 1, your safest lab can be remarkably simple: your own computer, a non-critical virtual machine if available, sample files, intentionally provided practice targets and a notebook. [p. 184]
- ISOLATE
Keep experiments away from production/busines s systems where practical.
- SNAPSHOT
Virtual-machine snapshots or backups let you return to a known state.
- LABEL
Know which devices/accounts are yours and which are lab-only.
- RESET
Have a documented way to undo changes before experimenting.
Never connect intentionally vulnerable machines directly to the public Internet unless the lab design explicitly requires and safely controls it.
[p. 184]CYB-LAB-001 - Safe Test Bench: platform-neutral setup checklist for Windows, macOS and Linux.
[p. 184]Source: control edition, PDF pages 184-184.
Read CYB-LAB-002 - The built-in toolkit is already powerful
Available in the full edition - not included in this free preview.
Read CYB-LAB-003 - Network observation tools
Available in the full edition - not included in this free preview.
Read CYB-LAB-004 - Packet capture: watch communication, not magic
Available in the full edition - not included in this free preview.
Read CYB-LAB-005 - Port scanning: learn the question before the tool
Available in the full edition - not included in this free preview.
Read CYB-LAB-006 - Logs: practise being an investigator
Available in the full edition - not included in this free preview.
Read CYB-LAB-007 - Keep a cyber notebook
Available in the full edition - not included in this free preview.
Read CYB-NET-001 - A network lets devices communicate
Chapter opening (page 57)
Before learning attacks on networks, understand what a network is actually doing. [p. 57]
A network is a group of devices that can exchange data through communication links and agreed rules. The Internet is a network of networks - not a mysterious cloud that begins at the Wi-Fi symbol.
[p. 57]By the end of this chapter, you should be able to:
- explain a network without using security jargon;
- distinguish a Local Area Network (LAN), Wide Area Network (WAN), Internet and intranet;
- recognise client-server and peer-to-peer relationships;
- explain why data is divided into packets and carried in frames;
- observe your own network connection safely without scanning other systems.
- READ IT
The complete foundation stays in print.
- PLANNED LIVING EDITION
A future animation can follow a moving “data parcel” from one device to another.
- TRY IT
Safe observation begins with the network you already use.
Two devices form a useful network when they have a way to reach each other and rules for exchanging information. The link may be a cable, radio signal, fibre connection or another medium. The devices still need compatible protocols - agreed ways to structure and interpret what is sent. [p. 58]
Two people can stand beside each other and still fail to communicate if they share no language or agreed signals. A cable alone does not create useful communication; devices also need rules they both understand.
[p. 58]- ENDPOINTS
Computers, phones, servers, cameras, printers and other devices that send or receive data.
- LINKS
Wired or wireless paths that carry signals between devices.
- PROTOCOLS
Agreed rules that define how information is formatted, addressed and exchanged.
Networking is communication plus structure. Cybersecurity later asks who should communicate, what should be allowed, how it should be protected and what evidence the communication leaves behind.
[p. 58]Source: control edition, PDF pages 58-58.
Read CYB-NET-002 - LAN, WAN, Internet and intranet
Networks are often described by their scope and purpose. These labels overlap, but they help us build a map of the digital world. [p. 59]
- LAN
A Local Area Network (LAN) covers a limited environment such as a home, office, lab or campus segment.
- WAN
A Wide Area Network (WAN) connects locations across a wider geographic area, often through a service provider.
- INTERNET
The global system of interconnected networks that exchange traffic using Internet technologies.
- INTRANET
A private network or private web environment intended for an organisation or defined community.
Wi-Fi is not the Internet. Wi-Fi is one way your device can connect to a nearby network. That network may then provide a route to the Internet - or it may be completely isolated.
[p. 59]A phone can therefore show strong Wi-Fi signal strength and still have no Internet access. The local wireless link is working; something farther along the path may not be. [p. 59]
Source: control edition, PDF pages 59-59.
Read CYB-NET-003 - Client and server describe a relationship
Available in the full edition - not included in this free preview.
Read CYB-NET-004 - Large messages travel as smaller pieces
Available in the full edition - not included in this free preview.
Read CYB-NET-005 - An IP address tells the network where to deliver
Chapter opening (page 67)
Networks need ways to identify interfaces, assign addresses and move traffic beyond the local link. [p. 67]
No single number “identifies a person on the Internet.” Networks use several kinds of addresses for different jobs. Internet Protocol (IP), Media Access Control (MAC), Dynamic Host Configuration Protocol (DHCP) and Network Address Translation (NAT) solve different parts of the journey.
[p. 67]By the end of this chapter, you should be able to:
- explain what an Internet Protocol (IP) address does;
- recognise Internet Protocol version 4 (IPv4) and version 6 (IPv6);
- distinguish public, private and local-link addressing ideas;
- explain the role of a Media Access Control (MAC) address;
- describe Dynamic Host Configuration Protocol (DHCP) and Network Address Translation (NAT) in a home-network journey.
- READ IT
Addresses are explained from first principles.
- PLANNED LIVING EDITION
A future animation can follow one device from joining Wi-Fi to reaching a public service.
- TRY IT
A safe lab reads your own network settings.
An Internet Protocol (IP) address is a logical address assigned to a network interface so Internet Protocol traffic can be routed toward it. “Logical” matters: the address is part of network configuration, not a permanent serial number engraved into the person or device. [p. 68]
A postal address tells a delivery network where an item should go. It does not prove who is holding the envelope, and the same person can use different addresses at different times. An Internet Protocol address works more like a delivery location than a human identity card.
[p. 68]A laptop can have one Internet Protocol address on home Wi-Fi, a different one at work, and another on a mobile hotspot. Virtual machines, Virtual Private Networks (VPNs), containers and cloud systems can add more interfaces and addresses. [p. 68]
An Internet Protocol address is useful evidence, but it is not automatically a person. Addresses can be shared, reassigned, translated, proxied or routed through other systems.
[p. 68]Source: control edition, PDF pages 68-68.
Read CYB-NET-006 - IPv4: the familiar dotted address
Available in the full edition - not included in this free preview.
Read CYB-NET-007 - Private and public IPv4 addresses solve different problems
Available in the full edition - not included in this free preview.
Read CYB-NET-008 - A MAC address works on the local link
Available in the full edition - not included in this free preview.
Read CYB-NET-009 - DHCP gives devices usable network settings
Typing an Internet Protocol address, gateway and Domain Name System (DNS) settings manually on every phone and laptop would be tedious. [p. 73]
Dynamic Host Configuration Protocol (DHCP) automates much of this configuration. [p. 73]
When a device joins a network, a Dynamic Host Configuration Protocol service can offer configuration such as an Internet Protocol address, network information, a default gateway and Domain Name System server addresses. The exact details depend on the network.
[p. 73]- DISCOVER
A new IPv4 client looks for DHCP service.
- OFFER
A DHCP server offers configuration.
- REQUEST
The client requests an offered configuration.
- ACKNOWLEDGE
The server confirms the lease.
This four-step memory aid describes a common Dynamic Host Configuration Protocol for IPv4 exchange. IPv6 has related but different mechanisms. The important concept is automatic configuration, not memorising packet names.
[p. 73]Source: control edition, PDF pages 73-73.
Read CYB-NET-010 - NAT lets private addresses share public connectivity
Network Address Translation (NAT) changes address information as traffic passes through a translating device, commonly a router or firewall. In home networks it often helps multiple private IPv4 devices communicate outward using shared public connectivity. [p. 74]
Imagine an office building with many internal extension numbers but one public reception number. Outsiders contact the building through the public number; the internal system keeps track of which conversation belongs to which extension.
[p. 74]Consumer devices commonly combine Network Address Translation with transport-port tracking so many internal connections can share one public Internet Protocol address. Strictly speaking, address translation and port translation are related techniques, but everyday products often bundle [p. 74]
them under “NAT.” [p. 74]
Network Address Translation is not a substitute for a firewall. Translation changes addressing. A firewall enforces traffic policy. One device may perform both jobs, which is why the concepts are often blurred.
[p. 74]What happens when your phone joins home Wi-Fi?
Put the chapter together as one journey. Exact implementation varies, but this simplified sequence gives you a powerful mental model. [p. 75]
- 1 JOIN
The phone connects to the authorised Wi-Fi network.
- 2 CONFIGURE
Dynamic Host Configuration Protocol (DHCP) supplies usable local settings.
- 3 ADDRESS
The phone receives a private Internet Protocol address and learns local network information.
- 4 ROUTE
Traffic for non-local destinations is sent toward the default gateway.
- 5 TRANSLATE
Network Address Translation (NAT) may translate private addressing as traffic goes toward the public Internet.
CYB-NET-010-A01: follow one request from phone -> Wi-Fi -> Dynamic Host Configuration Protocol (DHCP) -> private Internet Protocol (IP) address -> gateway -> Network Address Translation (NAT) -> public network. Pause wherever the addressing changes.
[p. 75]Chapter 7 explains the switch, router, gateway and Wi-Fi access point in this journey. Chapter 9 later adds Domain Name System (DNS) and web traffic.
[p. 75]Addresses are evidence, not people
Cyber investigations use addresses constantly, but strong analysis avoids turning technical identifiers into human conclusions too quickly. [p. 76]
- IP ADDRESS
A logical network address used for Internet Protocol routing.
- MAC ADDRESS
A local-link interface identifier used by technologies such as Ethernet and Wi-Fi.
- HOSTNAME
A name assigned to a device or system for easier identification.
- DOMAIN NAME
A human-friendly name in the Domain Name System (DNS), often used to locate Internet services.
A log says an action came from 203.0.113.20. That tells you something valuable about the network path, but not automatically which human pressed a key. You may need provider records, authentication logs, device evidence, timestamps and other context.
[p. 76]Good cybersecurity separates “the system observed this identifier” from “therefore this person did it.” Attribution is a chain of evidence.
[p. 76]Observe your own network settings safely
Read configuration only. Do not change Internet Protocol addresses, gateways, Domain Name System (DNS) servers or router settings for this exercise.
[p. 77]- WINDOWS
Windows Settings can show connection details. The command ipconfig also displays local Internet Protocol configuration.
- LINUX / macOS
Graphical network settings show connection details. Linux commonly uses ip addr for interfaces; macOS provides details in System Settings and other tools.
Find, if your device shows them:
- an Internet Protocol version 4 (IPv4) address;
- an Internet Protocol version 6 (IPv6) address, if present;
- a default gateway or router address;
- a Media Access Control (MAC) or hardware address;
- whether the address appears to have been assigned automatically.
Do not publish screenshots containing full network identifiers unless there is a clear reason. Learning to inspect information includes learning when not to share it.
[p. 77]Checkpoint: which address is doing which job?
You do not need to memorise every number. You need to know what question each identifier answers. [p. 78]
1. Why is an Internet Protocol address described as logical rather than permanent identity?
[p. 78]2. How do Internet Protocol version 4 (IPv4) and version 6 (IPv6) differ at a high level? [p. 78]
3. Why do home devices often use private IPv4 addresses? [p. 78]
4. What is the local role of a Media Access Control (MAC) address? [p. 78]
5. What problem does Dynamic Host Configuration Protocol (DHCP) solve? [p. 78]
6. What problem does Network Address Translation (NAT) solve in many IPv4 networks? [p. 78]
Network-security engineers, cloud-security teams, Security Operations Centre analysts and incident responders interpret Internet Protocol, Media Access Control, Dynamic Host Configuration Protocol and Network Address Translation data constantly. The addresses become evidence when combined with time, identity and behaviour.
[p. 78]Chapter 7 introduces the equipment that makes the local journey possible: switches, routers, gateways and Wi-Fi access points.
[p. 78]Source: control edition, PDF pages 74-79.
- Mapping note: Multi-section topic: governed topic spans printed sections 6.7-6.11 of chapter 6.
Read CYB-NET-011 - A switch connects devices on a local network
Chapter opening (page 79)
The box near your Internet connection may be doing several different networking jobs at once. [p. 79]
Switches move traffic within a local network, routers move packets between networks, a default gateway is the next-hop exit used for non-local destinations, and a Wi-Fi access point provides a wireless link into the local network.
[p. 79]By the end of this chapter, you should be able to:
- describe what a switch does on a Local Area Network (LAN);
- describe how a router connects networks;
- explain the meaning of default gateway;
- distinguish Wi-Fi, an access point and the Internet;
- recognise why segmentation and guest networks can reduce unnecessary exposure.
- READ IT
Complete network-device concepts remain in print.
- PLANNED LIVING EDITION
A future animation can compare a local switch path with a router path.
- TRY IT
Observation stays on networks you own or are authorised to use.
An Ethernet switch connects multiple devices on a Local Area Network (LAN) and forwards frames toward the correct local port. It learns which Media Access Control (MAC) addresses are reachable through which switch ports. [p. 80]
Think of an internal mailroom that learns which department sits behind each corridor. Local envelopes can be sent toward the right corridor without leaving the building.
[p. 80]A switch examines local-link information in frames, especially Media Access Control (MAC) addresses. It builds a forwarding table from observed traffic and uses that table to decide where a frame should go on the Local Area Network.
[p. 80]A switch is not simply a “splitter.” Modern switches make forwarding decisions and may also support Virtual Local Area Networks (VLANs), security controls and management features. We will build those ideas gradually.
[p. 80]Source: control edition, PDF pages 80-80.
Read CYB-NET-012 - A router connects different networks
A router forwards Internet Protocol (IP) packets between networks. Instead of asking “which local switch port has this MAC address?”, it asks “which route should move this packet closer to its destination network?” [p. 81]
If a switch is like the building mailroom, a router is closer to the road junction that decides which route leads toward another neighbourhood or city.
[p. 81]- INPUT
A packet arrives on one router interface.
- ROUTING DECISION
The router examines the destination Internet Protocol address and its routing information.
- OUTPUT
The packet is forwarded through an interface toward the next network, if policy and routing allow it.
Routers maintain routing information that associates destination networks with next hops or outgoing interfaces. Large Internet routers exchange enormous amounts of routing information; your home router uses a much smaller set.
[p. 81]The default gateway is your usual exit
A device can deliver directly to destinations it considers local. When the destination is outside that local network and no more specific route exists, the device commonly sends the packet to its default gateway. [p. 82]
Inside an office campus, you may walk directly to another room. To reach somewhere outside the campus, you first go to the main gate. The default gateway is the network equivalent of that normal exit route.
[p. 82]In many home networks, the default gateway is an Internet Protocol address on the home router. The router then decides where the packet goes next. [p. 82]
“Gateway” can have several meanings in computing. Here, default gateway means the next-hop router a device uses when it has no better local route to the destination.
[p. 82]Dynamic Host Configuration Protocol (DHCP) often supplies the default- gateway setting automatically. Revisit page 73 if you need the configuration model again.
[p. 82]Source: control edition, PDF pages 81-82.
- Mapping note: Multi-section topic: governed topic spans printed sections 7.2-7.3 of chapter 7.
Read CYB-NET-013 - Wi-Fi and the access point
Wi-Fi provides wireless local-network communication. A wireless access point is the device or function that lets Wi-Fi clients join the local network. [p. 83]
- SSID
Service Set Identifier (SSID): the network name that users commonly see in Wi-Fi lists.
- ACCESS POINT
The device or function providing the wireless connection into the local network.
- CLIENT
The phone, laptop or other device joining the wireless network.
The Service Set Identifier (SSID) is a network name, not a password and not proof that a network is trustworthy. Attackers can create networks with convincing names, and hiding an SSID is not a strong security control.
[p. 83]After joining the authorised Wi-Fi network, the client still needs usable network configuration, such as an Internet Protocol address. Dynamic Host Configuration Protocol (DHCP) commonly provides it.
[p. 83]Wireless security protects the local radio link
Because Wi-Fi uses radio, someone does not necessarily need a cable plugged into your wall to receive nearby wireless signals. Secure wireless networks therefore use authentication and encryption mechanisms. [p. 84]
Modern Wi-Fi security commonly uses standards in the Wi-Fi Protected Access family, such as Wi-Fi Protected Access 2 (WPA2) and Wi-Fi Protected Access 3 (WPA3). The exact mode, device support and enterprise configuration matter; the name alone does not guarantee a secure deployment.
[p. 84]For a home or small office, strong unique Wi-Fi credentials, current device firmware, appropriate security mode and disabling obsolete insecure options are useful foundations. Larger organisations may use enterprise identity systems and central wireless management. [p. 84]
A protected Wi-Fi link does not make every website, application or device on that network trustworthy. Wireless security protects one part of the journey. Application security, identity and end-to-end encryption still matter.
[p. 84]Wireless standards evolve. The networking principles on this page remain useful, but before relying on a current recommendation or deprecation status, check authoritative vendor/standards guidance. A future Living Edition is intended to maintain dated updates.
[p. 84]Source: control edition, PDF pages 83-84.
- Mapping note: Multi-section topic: governed topic spans printed sections 7.4-7.5 of chapter 7.
Read CYB-NET-014 - Your “router” may actually be several devices in one box
Available in the full edition - not included in this free preview.
Read CYB-NET-015 - A protocol is an agreed set of communication rules
Available in the full edition - not included in this free preview.
Read CYB-NET-016 - Ports help traffic find the intended service
Available in the full edition - not included in this free preview.
Read CYB-NET-017 - A socket combines address, port and transport context
Available in the full edition - not included in this free preview.
Read CYB-NET-018 - UDP sends datagrams without a TCP-style connection
Available in the full edition - not included in this free preview.
Read CYB-NET-019 - Common ports are conventions, not identities
Available in the full edition - not included in this free preview.
Read CYB-OS-001 - Windows and Linux: different families, similar jobs
Chapter opening (page 45)
A black terminal window is not “hacking.” It is simply another way to talk to an operating system. [p. 45]
Graphical interfaces and command lines are different ways of asking the same computer to do work. Cybersecurity professionals learn both because each reveals different details and enables different kinds of control.
[p. 45]By the end of this chapter, you should be able to:
- recognise Windows and Linux as operating-system families with many shared responsibilities;
- distinguish a terminal, shell and command-line interface;
- read the basic anatomy of a command without guessing what it does;
- understand file-system paths and safe navigation;
- use a few observation-only commands and verify AI-generated commands before execution.
- READ IT
Complete concepts stay on the page.
- SEE IT
A printed command anatomy separates tool, option and target before anything is executed.
- TRY IT
Safe exercises use observation and navigation only.
Windows and Linux look different, use different conventions and have different ecosystems, but both must solve many of the same fundamental problems: run programs, manage memory, store files, handle devices, connect to networks, manage users and enforce permissions. [p. 46]
- WINDOWS
A Microsoft operating-system family widely used on personal computers and in organisations. Windows also has server editions and powerful administration tools such as PowerShell.
- LINUX
A family built around the Linux kernel and distributed through many “distributions” such as Ubuntu, Debian, Fedora and others. Linux is common on servers, cloud platforms, embedded systems and security labs.
There is no useful rule that says “Linux is secure” or “Windows is insecure,” or the reverse. Security depends on configuration, updates, software, identities, exposure, monitoring and how a system is used.
[p. 46]macOS, Android and other systems will appear throughout the series too. [p. 46]
We focus on Windows and Linux here because learners are likely to encounter both repeatedly in cybersecurity work. [p. 46]
Source: control edition, PDF pages 46-46.
Read CYB-OS-002 - GUI and CLI are two doors to the same system
A Graphical User Interface (GUI) lets you work through windows, menus, icons and buttons. A Command-Line Interface (CLI) lets you type structured instructions. Neither is automatically more advanced; they are different interaction styles. [p. 47]
A restaurant customer may choose from a menu, while the kitchen receives a compact written order. Both describe the same intended outcome, but one presentation is easier for browsing and the other is efficient for precise repeatable instructions.
[p. 47]- TERMINAL
The window or application through which you interact with a text-based environment.
- SHELL
The program that reads commands and helps the operating system execute them. Examples include PowerShell, Bash and others.
- COMMAND LINE
The text you type and the text the system returns. “CLI” describes this style of interaction.
Command lines are useful for remote administration, repeatable tasks, automation, investigation and tools that may not have graphical interfaces. The goal is understanding, not memorising mysterious commands.
[p. 47]Read a command before you run it
Most commands can be understood by separating them into parts. Exact syntax varies by tool and operating system, but the reading habit is universal. [p. 48]
tool option(s) target / argument | | | what runs how it runs what it acts on
[p. 48]Consider two harmless examples that list the contents of a Documents folder:
[p. 48]Windows: dir Documents Linux/macOS: ls Documents
[p. 48]Here, dir or ls is the command. Documents is an argument telling the command which location to list. Other commands may accept options that change the output or behaviour.
[p. 48]Do not copy a command simply because it looks technical or came from a search result, forum or AI assistant. Ask: What program will run? What options change its behaviour? What object will it act on? Does it modify anything? Does it require elevated privilege?
[p. 48]Different shells use different quoting rules, variable syntax, pipelines and option conventions. We will introduce those only when they become useful. First learn to read intent.
[p. 48]Source: control edition, PDF pages 47-48.
- Mapping note: Multi-section topic: governed topic spans printed sections 4.2-4.3 of chapter 4.
Read CYB-OS-003 - Paths are addresses inside a file system
Available in the full edition - not included in this free preview.
Read CYB-OS-004 - Command output is part of the conversation
Available in the full edition - not included in this free preview.
Read CYB-SOC-001 - Logs and telemetry: the digital trail
Chapter opening (page 163)
Cyber defence becomes visible when events from many systems are turned into evidence, decisions and coordinated action. [p. 163]
A SOC does not “watch a dashboard all day.” It turns evidence into decisions: what happened, does it matter, what should we do, and what did we learn?
[p. 163]By the end of this chapter, you should be able to:
- explain logs, telemetry and why context matters;
- understand the purpose of a Security Operations Centre (SOC) and Security Information and Event Management (SIEM);
- distinguish event, alert and incident;
- explain Red Team, Blue Team and Purple Team roles;
- understand how AI can assist both offensive and defensive security while humans remain accountable.
A log is a recorded account of an event generated by a system, application, network device, cloud service or security tool. Telemetry is a broader term for collected measurements and events used to understand behaviour over time. [p. 164]
2026-09-25T14:03:12Z login_failed user=alex source=203.0.113.10 2026-09-25T14:03:17Z login_failed user=alex source=203.0.113.10 2026-09-25T14:03:41Z login_success user=alex source=203.0.113.10
[p. 164]The sequence may deserve investigation, but three lines alone do not prove an attack. Analysts need context: was the address expected, was MFA used, what device logged in, what happened next, and did the user confirm the activity?
[p. 164]A log is evidence, not automatically a conclusion.
[p. 164]Source: control edition, PDF pages 164-164.
Read CYB-SOC-002 - Security Information and Event Management (SIEM)
Security Information and Event Management (SIEM) platforms collect and normalise security-relevant data from many sources, help search and correlate it, apply detection logic and support investigation and reporting. [p. 165]
- COLLECT
Bring data from endpoints, identity, network, cloud and apps.
- NORMALISE
Map different formats into usable fields and timestamps.
- CORRELATE
Connect related events across sources and time.
- ALERT
Apply rules/analytics to surface suspicious patterns.
- INVESTIGAT E
Give analysts context for questions and timelines.
A SIEM is not a magical “attack detector.” Poor data, weak detection logic, missing context or bad tuning can produce both missed threats and noisy alerts.
[p. 165]Detection engineering turns attacker behaviours and hypotheses into measurable logic using fields, thresholds, sequences, queries and rules. Later volumes will work with Sigma-style detections and platform- specific queries.
[p. 165]Source: control edition, PDF pages 165-165.
Read CYB-SOC-003 - Event, alert and incident are not synonyms
Available in the full edition - not included in this free preview.
Read CYB-SOC-004 - Incident response is a cycle, not a dramatic button
Available in the full edition - not included in this free preview.
Read CYB-SOC-005 - The Blue Team: defend, detect and respond
Available in the full edition - not included in this free preview.
Read CYB-THR-001 - Social engineering: influence before intrusion
Available in the full edition - not included in this free preview.
Read CYB-THR-002 - Phishing: a message designed to trigger a harmful action
Phishing is social engineering delivered through messages, websites, calls or other communication channels. It may seek passwords, payment, malware execution, sensitive files or approval of an attacker-controlled action. [p. 147]
- LURE
A believable story or identity gets attention.
- PRESSURE
Urgency or emotion reduces careful thinking.
- ACTION
Click, sign in, pay, open, call, scan or approve.
- CAPTURE / DELIVERY
The attacker receives credentials, money, data or code execution.
Poor spelling used to be an easy warning sign. AI can produce polished, translated and context-aware messages. Good spelling does not make a message safe.
[p. 147]Is this request expected, and can I verify the sender, destination and requested action independently?
[p. 147]Credential theft: the fake door can look perfect
A phishing page can copy the branding of a real service. If the user enters a username, password and even a one-time code, an attacker may relay or reuse those credentials quickly. [p. 148]
Imagine a convincing fake reception desk placed outside the real office. The sign, uniform and forms look right. The problem is not visual quality; the desk is controlled by the wrong person.
[p. 148]- CHECK DESTINATION
Use bookmarks, known apps or independently typed addresses for sensitive sign-ins.
- USE STRONG AUTH
Password managers and phishing-resistant MFA can reduce the value of fake login pages.
- VERIFY REQUEST
For money, credential or account-change requests, verify through a second trusted channel.
Attackers may impersonate executives, suppliers or finance staff to redirect payments or change bank details. A procedural callback or second-person approval can be more reliable than judging whether an email “looks real.”
[p. 148]Source: control edition, PDF pages 147-148.
- Mapping note: Multi-section topic: governed topic spans printed sections 13.2-13.3 of chapter 13.
Read CYB-THR-003 - Malware: software used for malicious purpose
Available in the full edition - not included in this free preview.
Read CYB-THR-004 - Ransomware is an incident, not merely an encrypted file
Available in the full edition - not included in this free preview.
Read CYB-THR-005 - AI-assisted deception: text, voice, image and video
Available in the full edition - not included in this free preview.
Read CYB-WEB-001 - What happens after you press Enter?
Chapter opening (page 101)
You type a name, press Enter and a page appears. It feels like one action, but several systems have quietly cooperated. We will follow that journey in the order it actually happens. [p. 101]
A web visit is not one magical action. Your device has to identify where to go, establish communication, exchange requests and responses, and - for secure web traffic - protect that conversation.
[p. 101]By the end of this chapter, you should be able to:
- explain what the Domain Name System (DNS) does in plain language;
- separate a domain name, a Uniform Resource Locator (URL) and an Internet Protocol (IP) address;
- describe Hypertext Transfer Protocol (HTTP) as a request-and-response conversation;
- explain what Hypertext Transfer Protocol Secure (HTTPS) adds;
- understand the purpose of Transport Layer Security (TLS) and digital certificates;
- inspect a browser connection safely without assuming a padlock means a website is trustworthy.
- READ IT
The printed chapter is complete on its own.
- PLANNED LIVING EDITION
A future animation can follow one web request through the full journey. Not included with this standalone PDF.
- TRY IT
Safe browser inspection uses ordinary public sites.
Type a web address and press Enter. To you, that is one action. To the network, it begins a short chain of questions, connections and responses. [p. 102]
- NAME
You type a site name
- FIND
DNS helps locate it
- CONNECT
Your device reaches the server
- REQUEST
Browser asks for content
- RESPONSE
Server sends content back
Watch one request move from NAME -> FIND -> CONNECT -> REQUEST -> RESPONSE. Pause at any stop to see what changed before moving on.
[p. 102]An Internet Protocol (IP) address identifies a network interface so traffic can be delivered. Earlier networking chapters explain addressing in detail; here we only need the idea that computers ultimately communicate using network addresses, not human-friendly names.
[p. 102]Domain Name System (DNS): names need addresses
People prefer names such as example.com. Networks work with addresses. [p. 103]
The Domain Name System (DNS) helps bridge that difference by answering questions about names, including which Internet Protocol (IP) address is associated with a domain name. [p. 103]
Imagine knowing a person's name but not their phone number. You consult a trusted directory, find the number and then make the call. DNS plays a similar directory role for Internet names. The analogy stops there: real DNS is distributed across many systems and can return more than just one type of answer.
[p. 103]- BROWSER
Where is example.com?
- DNS RESOLVER
Looks for an answer
- DNS SYSTEM
Finds authoritative information
- ANSWER
Address returned
- BROWSER
Can now connect
If you arrived here from the certificate explanation: [p. 103]
Return to page 108 - where you ↩ were reading [p. 103]
Source: control edition, PDF pages 102-103.
- Mapping note: Multi-section topic: governed topic spans printed sections 9.1-9.2 of chapter 9.
Read CYB-WEB-002 - Domain, URL and address are not the same thing DOMAIN NAME
Available in the full edition - not included in this free preview.
Read CYB-WEB-003 - Hypertext Transfer Protocol (HTTP): a conversation
Once the browser can reach the right server, it needs a common way to ask for web resources and receive responses. Hypertext Transfer Protocol (HTTP) is one of the main protocols used for this web conversation. [p. 105]
- BROWSER
Please send /index.html
- HTTP REQUEST
Method + target + other information
- SERVER
Processes request
- HTTP RESPONSE
Status + headers + content
- BROWSER
Displays result
Think of ordering at a restaurant. You make a specific request; the kitchen interprets it; a response comes back. HTTP has structured rules for requests and responses. Unlike a restaurant conversation, the details are encoded for software and can include much more than a page of text.
[p. 105]HTTP requests can use methods such as GET or POST. Responses include status codes and headers. You will meet these properly in later web-security work; for now, remember the request -> response model.
[p. 105]Ports and services: which conversation?
A server can offer several network services at the same address. Port numbers help identify which service or conversation a connection is intended for. [p. 106]
Earlier chapters introduced ports and services. A useful mental model is: IP address = which network destination; port = which service at that destination. It is a simplification, but it is good enough for this stage.
[p. 106]- HTTP
Commonly associated with TCP port 80.
- HTTPS
Commonly associated with TCP port 443.
- OTHER SERVICES
Use their own expected ports or negotiated behaviour.
Ports are conventions and configuration choices, not magical laws. A service can sometimes be configured on another port. Professionals verify what is actually running rather than trusting a number alone.
[p. 106]Source: control edition, PDF pages 105-106.
- Mapping note: Multi-section topic: governed topic spans printed sections 9.4-9.5 of chapter 9.
Read CYB-WEB-004 - Why HTTPS exists
Plain HTTP describes how web requests and responses are exchanged. But if sensitive traffic crosses networks without protection, someone in the wrong position may be able to observe or alter it. Hypertext Transfer Protocol Secure (HTTPS) combines HTTP with Transport Layer Security (TLS) to protect the connection. [p. 107]
- CONFIDENTIALITY
Helps prevent others on the path from reading the protected traffic.
- INTEGRITY
Helps detect unauthorised changes to protected traffic.
- AUTHENTICATION
Certificates help the browser assess the identity it is connecting to.
HTTPS protects the connection. It does not prove that the organisation behind a site is honest, that every page is safe, or that the business deserves your trust. A phishing site can also use HTTPS.
[p. 107]Certificates: “Who am I talking to?”
Encryption is only useful if your device can also make a reasonable trust decision about the other end. Digital certificates are part of the mechanism browsers use to authenticate secure websites. [p. 108]
At a controlled building, a visitor may show an identity card issued by an organisation the guard recognises. The guard still checks whether the card is valid for this person and situation. A browser performs a much more technical trust check using certificate information and trusted issuers.
[p. 108]A certificate binds identity information - commonly a domain name - to cryptographic public-key material and is digitally signed. Browsers maintain trust stores and validate certificate chains, names, dates and other conditions. The full mechanism comes later.
[p. 108]Forgot why the browser needed the domain name in the first place? Open the DNS [p. 108]
refresher on page 103 [p. 108]
If you open the DNS refresher from here, the digital edition remembers this page and offers a direct return to page 108 when you are finished.
[p. 108]Transport Layer Security (TLS): building the protected session
Transport Layer Security (TLS) establishes protected communication before ordinary HTTPS application data is exchanged. The exact handshake depends on protocol version and configuration, so we will learn the purpose before the packet-level details. [p. 109]
- HELLO
Browser and server start
- IDENTITY
Server presents certificate
- VERIFY
Browser checks trust
- KEYS
Both sides establish shared protection
- SECURE
HTTP data travels inside TLS
Follow one connection through HELLO -> IDENTITY -> VERIFY -> KEYS -> SECURE. Pause at VERIFY to inspect the certificate, then continue from the same point.
[p. 109]HTTPS is not a completely different web protocol. Think of HTTP conversation carried inside a TLS-protected connection.
[p. 109]Source: control edition, PDF pages 107-109.
- Mapping note: Multi-section topic: governed topic spans printed sections 9.6-9.8 of chapter 9.
Read CYB-WEB-005 - Try it: inspect a secure web connection SAFE ON YOUR OWN DEVICE
Try it: inspect a secure web connection
Use an ordinary reputable public website that you already visit. Do not bypass browser warnings, install certificates, change security settings or enter sensitive information for this exercise.
[p. 110]• Open a normal HTTPS website in your browser.
[p. 110]- Use the browser's site-information or connection-information control. The
- exact wording differs by browser.
- Find the certificate or connection-security information if your browser
- exposes it.
- Look for the domain name, issuer and validity information. Do not worry
- if some fields are unfamiliar.
- Return to the page and explain in one sentence what HTTPS is protecting.
Reserved for future browser-specific illustrated guidance. For this standalone PDF, use your browser's own site/connection-security controls and the safe steps above.
[p. 110]Where things can go wrong
Understanding the normal journey makes suspicious behaviour easier to recognise. At this stage, we focus on awareness rather than attack techniques. [p. 111]
| Situation | Why it matters |
|---|---|
| Look-alike domain | A familiar brand name can be imitated with a different domain. |
| Unprotected HTTP | Traffic may lack the protection expected from HTTPS. |
| Certificate warning | The browser may be unable to establish the expected trust. Do not simply click through. |
| DNS manipulation | A name-resolution problem can try to direct traffic somewhere unintended. |
| Compromised legitimate site | A valid certificate protects the connection to that site; it does not guarantee that the site itself has not been compromised. |
A link looks familiar, the page has a padlock, but the actual domain contains an extra word. Do you trust the padlock or inspect the domain first? The correct lesson is that connection security and site legitimacy are different questions.
[p. 111]Web security is only one corner of cybersecurity. Network engineers, application- security professionals, cloud engineers, penetration testers, incident responders, SOC analysts and digital-forensics teams may all encounter different parts of this same web journey.
[p. 111]Checkpoint and practical mission
If you can tell the story of a web visit without hiding behind jargon, you understand more than many people who simply recognise the acronyms. [p. 112]
1. Why do humans use domain names when networks ultimately need addresses?
[p. 112]2. What does the Domain Name System (DNS) do? [p. 112]
3. How is a Uniform Resource Locator (URL) different from a domain name? [p. 112]
4. What is the basic HTTP request-and-response model? [p. 112]
5. What does HTTPS add to HTTP? [p. 112]
6. What role does Transport Layer Security (TLS) play? [p. 112]
7. Why does a padlock not prove that a website is honest? [p. 112]
Draw the journey of one normal web visit in five boxes: Name -> DNS -> Connection -> Request -> Response. Under the connection step, add what changes when HTTPS/TLS is used. Explain it aloud to another person without using an unexplained abbreviation.
[p. 112]This chapter touches networking, secure communications, identity, application security, monitoring and trust. “Hacking” is only one possible activity inside a much wider professional field.
[p. 112]Return to the beginning of Chapter 9 ↩ [p. 112]
CYB-WEB-001-A01 DNS Traveller · CYB-WEB-003-S01 HTTP Conversation · CYB-WEB-004-A01 TLS Handshake · CYB-WEB-004-C01 Padlock Does Not Mean Trust Challenge. Resource IDs are reserved; these experiences are not included with this standalone PDF.
[p. 112]Source: control edition, PDF pages 110-113.
- Mapping note: Multi-section topic: governed topic spans printed sections 9.9-9.11 of chapter 9.
Canonical prose from the verified control edition expands below each free-sample topic; topics reserved for the full edition show a placeholder. The IDs above are the governed set - they will never change. Each row is a reloadable anchor: /books/live/cybersecurity-from-first-principles/#topic-CYB-NET-001.