Download Labs
Hands-on labs for every chapter.
Each lab pack is a set of Jupyter notebooks and a self-contained Docker environment. Download the pack for your book, run it locally, and work through the exercises. Free to use alongside the text.
← Back to the booksFoundations labs: Chapters 1–11
Cryptography, network and system security, identity
Download .zipMastery labs: Chapters 12–22
Cloud, OT/ICS, forensics, AI/ML/LLM security
Download .zipLabs are released under the book's licence for readers' personal and classroom use.
New, out now
Applied AI Security labs
For Applied AI Security: From Models to Agents. One lab per chapter, offline-first, no API keys needed.
Applied AI Security: full lab pack
Adversarial ML, prompt injection, RAG, agents, red-teaming and AI governance. Jupyter notebooks plus a self-contained Docker environment, runs locally.
Download .zipRunning the labs
- 1
Install Docker Desktop
Free for personal and small-business use. Make sure it is running before you start.
- 2
Download and unzip your lab pack
Pick the pack that matches your book below, then unzip it anywhere on your machine.
- 3
Start the stack
Open a terminal in the unzipped folder and run docker compose up --build. The first run builds the image and may take a few minutes.
- 4
Open Jupyter
Browse to http://localhost:8888 and work through the notebooks chapter by chapter.
- 5
Tear it down
When you are finished, run docker compose down to stop and remove the containers. Nothing is left running.
Requirements: Docker Desktop and roughly 8 GB of free disk space. Everything runs locally, no cloud account needed.