Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

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.

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.

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.

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.

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.

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.

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 glossary

How 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.

How credits work

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.