Free lessons
Learn cybersecurity online: free lessons with real labs
Learn cybersecurity the hands-on way. 44 modules take you from threats, cryptography and networks to detection, forensics and securing AI, with labs that run in your browser.
The rule every lesson keeps
Every attack in these lessons is made against your own copy of the lab and nothing else. Try a technique on a real system only with the written permission of whoever owns it: in the UK, getting into a computer without permission is a crime under the Computer Misuse Act 1990, and most countries have a law like it. The lessons are written to defend, so where one shows an attack, it also shows the fix.
A cybersecurity roadmap: from beginner to specialist
Start at Series A and take the series in order. Each step has free lessons you read whole, labs you run in your browser and tasks marked by hidden tests.
- AFoundationsFor a beginner who can use a terminal.9 modules · 55 lessons
- BDefend and respondAfter Series A.9 modules · 52 lessons
- CApplication securityFor a developer.5 modules · 31 lessons
- DOffensive security, ethicallyAfter Series A to C.7 modules · 42 lessons
- ECloud and infrastructureAfter Series A and B.7 modules · 42 lessons
- FSpecialist and leadershipAfter the rest.7 modules · 43 lessons
Series A: foundations
For a beginner who can use a terminal. Threats and risk, layered defence, cryptography, network security, privacy and data protection, the attacks every web application has to stop, threat modelling a design before it is built, signing people in with OAuth, OpenID Connect and SAML, passwords, MFA and passkeys, and how email and DNS are protected.
Security fundamentals
Threats, risk, layered defence, then hardening a Linux server, closing ports and reading logs for an attack.
8 lessonsApplied cryptography
Hashes and checksums, encryption, public keys, signatures, certificates and safe password storage.
5 lessonsNetwork security
Attack surface, firewall rules, segmentation, TLS, SSH and VPNs, and spotting attacks, in real labs.
5 lessonsPrivacy and data protection
Personal data, collecting less, pseudonymising, retention, and handling requests and breaches.
5 lessonsWeb and application security
SQL injection, XSS, broken access control, weak sessions, secrets, hardening and checking an image.
8 lessonsThreat modelling
Data flow diagrams, STRIDE, attack trees, ranking threats, abuse cases and a threat model kept as code.
6 lessonsIdentity and access
Sessions and cookies, OAuth 2.0 and PKCE, OpenID Connect, checking JWTs, SAML single sign-on and access reviews.
6 lessonsPasswords, MFA and passkeys
Crack your own hashes with John the Ripper, write a password policy to current guidance, stop credential stuffing, and use one-time codes and passkeys.
6 lessonsEmail and DNS security
SPF, DKIM and DMARC, reading phishing headers, DNSSEC, DNS tunnelling and subdomain takeover.
6 lessons
Series B: defend and respond
After Series A. Security operations, detection engineering, digital forensics, endpoint hardening, vulnerability management, threat intelligence, threat hunting, memory and disk forensics and malware analysis: what to log, triaging alerts, writing and testing detection rules, collecting evidence, rebuilding what happened, hardening a Linux server and keeping it hardened, deciding which flaws to fix first turning a threat report into detections hunting for attackers no alert has found and reading disk and memory images for what an intruder left behind, and taking apart a harmless sample safely with YARA, a sandbox and a report.
Security operations
What to log, alert triage, detection rules, incident response and measuring it, in a real lab.
5 lessonsDetection engineering with Sigma, Suricata and Zeek
Suricata rules, Sigma rules, Zeek logs, testing against known-good and bad data, precision, recall and ATT&CK.
6 lessonsDigital forensics
Collect evidence, check it with hashes, rebuild a timeline from logs and write a report, in a real lab.
5 lessonsEndpoint hardening
Benchmarks, auditd rules, AppArmor profiles, narrow sudo, sandboxed services, AIDE and hardening as code.
6 lessonsVulnerability management
CVE and CVSS, EPSS and KEV, image scanning, SBOMs, patch deadlines and risk reports.
6 lessonsThreat intelligence
The pyramid of pain, ATT&CK mapping, the diamond model, STIX 2.1, TLP sharing and intelligence-led detections.
6 lessonsThreat hunting
Hypotheses, baselines, stacking rare events, beacons with jitter, process trees and turning hunts into detections.
6 lessonsMemory and disk forensics
Verified images, partitions, carving, timelines, and hidden processes and connections with Volatility 3.
6 lessonsMalware analysis, safely
Static triage, ELF and PE headers, YARA rules, sandboxed behaviour and persistence, on harmless samples.
6 lessons
Series C: application security
For a developer. Software that stands up to attack: safe design, checking input, parameterised queries, password hashing, dependencies and reviewing code for security, then the advanced web attacks and their fixes: CSRF, SSRF, path traversal and uploads, XXE, insecure deserialisation and template injection, and API security: the OWASP API Top 10, broken object level authorisation, mass assignment, rate limits, GraphQL and forged JWTs, then the pipeline that checks it all on every push: Semgrep, secret and dependency scanning, a DAST baseline, IaC scanning and a security gate, and the supply chain behind it: SBOMs, signed releases, SLSA provenance, dependency confusion, typosquatting and lock files.
Secure software development
Safe design, input checks, parameters, password hashing, dependencies and code review.
7 lessonsAdvanced web attacks and fixes
CSRF, SSRF, path traversal and uploads, XXE, insecure deserialisation and template injection.
6 lessonsAPI security
The OWASP API Top 10, BOLA, mass assignment, rate limits, GraphQL attacks and forged JWTs, each with its fix.
6 lessonsDevSecOps pipelines
Semgrep, secret and dependency scanning, a DAST baseline, IaC scanning and a security gate that blocks a merge.
6 lessonsSoftware supply chain security
SBOMs, signed releases, SLSA provenance, dependency confusion, typosquatting and lock files with hashes.
6 lessons
Series D: offensive security, ethically
After Series A to C. Seeing a system the way an attacker does, always in your own lab: reading a program without its source, with a disassembler, a debugger and a tracer, running a penetration test from written scope to retest, and escalating from a low-privilege account to root on your own machine through setuid, sudo, capabilities, cron and services, and finding and fixing memory bugs in your own C with sanitizers, then checking the canaries, ASLR, NX and RELRO a binary was built with, and fuzzing your own C code with AFL++, libFuzzer and sanitizers until a short fuzz job runs in CI, and auditing and hardening your own Active Directory: Kerberos, NTLM, kerberoasting, delegation and admin tiers, and breaking deliberately misused cryptography in toys of your own (ECB, padding oracles, reused nonces, length extension, timing leaks, weak randomness) to learn the fix for each.
Reverse engineering
Read a program without its source with strings, objdump, radare2, gdb, ltrace and strace.
6 lessonsPenetration testing methodology
Scope and the law, reconnaissance, enumeration with Nmap, safe validation, the report and the retest.
6 lessonsLinux privilege escalation
Sudo, setuid, capabilities, cron and services.
6 lessonsMemory safety and mitigations
Memory layout, sanitizers, canaries, ASLR, NX and RELRO, hardening audits, safe calls and safe languages.
6 lessonsFuzzing
AFL++ and libFuzzer harnesses, sanitizers, coverage, crash triage and a fuzz job in CI.
6 lessonsActive Directory security
Read it and Kerberos, turn off NTLM, stop kerberoasting, fix delegation, tier admins, detect attacks.
6 lessonsAttacks on cryptography
ECB, padding oracles, nonce reuse, length extension, timing leaks and weak randomness, and the fixes.
6 lessons
Series E: cloud and infrastructure
After Series A and B. Sandboxing untrusted and AI-written code, identity for workloads, automating short-lived certificates, the security of industrial control systems, and securing a cloud account: shared responsibility, least privilege, bucket policies, metadata and SSRF, audit logs and posture checks, and hardening a Kubernetes cluster: small images, safe pod defaults, RBAC, Pod Security, network policies and the audit log, and moving a college to zero trust: an identity-aware proxy, device posture, microsegmentation with nftables, mutual TLS and a staged migration.
Sandboxing untrusted and AI-written code
Linux namespaces, cgroups v2, seccomp, capabilities, egress control, bubblewrap and gVisor.
6 lessonsWorkload identity with SPIFFE and SPIRE
SPIFFE IDs, SVIDs, attestation, registering pods, mTLS and rotation.
6 lessonsShort-lived certificates and ACME automation
Read a certificate with OpenSSL, get one over ACME, plan renewal and run it at 47 days.
6 lessonsIndustrial control system security
PLCs, the Modbus protocol, safety trips, zones and conduits, and OT monitoring in a simulated plant.
6 lessonsCloud security
Shared responsibility, least privilege, bucket policies, metadata and SSRF, audit logs and posture checks, in a practice cloud.
6 lessonsContainer and Kubernetes security
Small images, safe pod defaults, least-privilege RBAC, Pod Security, network policies and audit logs, in k3s.
6 lessonsZero trust
An identity-aware proxy, device checks, nftables microsegmentation and mutual TLS, in your own lab.
6 lessons
Series F: specialist and leadership
After the rest. Post-quantum cryptography, zero-knowledge proofs, securing LLM applications and AI agents, adversary emulation with purple teaming, security governance: ISO 27001, the NIST framework, Cyber Essentials, risk, audits and metrics, and ransomware resilience: 3-2-1 and immutable backups, restore tests, segmentation and a response playbook.
Post-quantum cryptography in practice
ML-KEM and ML-DSA with OpenSSL 3.5, hybrid TLS 1.3, post-quantum SSH and planning a migration.
6 lessonsZero-knowledge proofs from scratch
Commitments, the Schnorr protocol, Fiat-Shamir, Merkle membership proofs and circuits, built in Python.
6 lessonsSecuring LLM applications
Prompt injection, risk mapping, tool allow-lists, redacting personal data and audit logs for AI applications.
6 lessonsSecuring agents
Threat models, data exfiltration, confused deputies, untrusted tools, privilege separation and red teaming.
7 lessonsAdversary emulation and purple teaming
Emulation plans, atomic tests, tuning rules, tested coverage, C2 and gap reports.
6 lessonsSecurity governance
ISO 27001, the NIST Cybersecurity Framework, Cyber Essentials, risk registers, audits and metrics, in Python.
6 lessonsRansomware resilience
How attacks unfold, 3-2-1 and immutable backups, restore tests against RPO and RTO, segmentation and a playbook.
6 lessons
Cybersecurity glossary
Short, plain definitions of 45 security terms, from hashing and MFA to SSRF and zero trust, each linked to the lesson that teaches it.
Open the cybersecurity glossaryHow the lessons work
Whether you want to understand how attacks work and how to stop them, start a career in a security operations centre, or write code that stands up to attack, these lessons start from the basics and go as far as detection, forensics and securing AI. Every lesson is free to read, and you run the commands in a real lab in your browser with nothing to install.
Free to read
Every lesson is open with no account.
Hands-on
Run the commands in your own lab in your browser. Nothing to install.
Checked
Python assignments with hidden tests mark your work.
In your language
English, French, Spanish, German and Japanese, each written for that language.
Free to start, no subscription
A free account gives you enough credit every month to follow most lessons in a lab. Need more? Top up from $1. There is no subscription and no monthly fee, and top-up credits never expire.
Questions about learning cybersecurity here
Can I learn cybersecurity online for free?
Yes. Every lesson in the six series is free to read with no account, and Start lab runs its commands in a lab. A free account keeps your lessons and progress and has enough credit each month for most lessons.
Do I need experience to start?
No security experience. Series A is for a beginner who can open a terminal and type a command. Some assignments are short Python programs, so a little Python helps.
Is it legal to practise attacks here?
Yes, because every attack is against your own copy of the lab, which is there for that. Using the same technique on a system you do not own, without written permission, is a crime in the UK under the Computer Misuse Act 1990 and in most other countries.
Will I learn ethical hacking?
Series D, offensive security done ethically, starts with reverse engineering: reading a program without its source. Series A shows how common web attacks work and how to stop them. Every attack happens in your own lab, and the lesson shows the fix.
Do the lessons teach defence as well as attack?
Mostly defence. Series B is about watching systems, writing detections, responding to incidents and collecting evidence, and Series C about writing software that resists attack.
Is it a subscription?
No. Reading is free, a free account has credit every month for the labs, and you only top up if you want more. There is no monthly fee.
Which languages are the lessons in?
English, French, Spanish, German and Japanese. Each language is written on its own, not machine-translated from another.
Do I need a powerful computer or anything installed?
No. The labs run in your browser: containers and Linux virtual machines on our side, each one a copy of your own.
How do I start a career in cybersecurity?
Follow the roadmap on this page: the foundations first, then defending and responding, then application security or the cloud. The lessons teach the skills. They do not give a qualification and do not follow an exam.
Do the lessons cover securing AI?
Yes. Series F has modules on securing LLM applications, prompt injection included, and on securing AI agents, and Series E teaches sandboxing untrusted and AI-written code.