Skip to content
CyberHub AcademyDefensive learning lab

10 modules · 100 lessons · defence-first

Understand the evidence.Then defend the system.

CyberHub Academy turns a single-file demo into a real learning platform: database-backed accounts, server-validated progress, safe simulated labs and a 100-lesson curriculum spanning foundations, networking, Linux, Python, web security and professional operations.

100
lessons
10
modules
200
quiz questions
5
guided labs

All practice is simulated. Only test systems you own, or have explicit written permission and a defined scope to assess.

$ triage --alert 2291source 10.0.4.19 fails 41disposition: maliciouscontained · evidence keptEVIDENCE10:31 auth fail10:42 auth success10:43 new egressDNSTLSSSHWEBlearn → practise → check → prove

Built for real learning

A starter that behaves like a product

Read the security model →

100 topic-specific lessons

Ten modules, ten lessons each, with objectives, key terms, a worked example, a safe activity and a knowledge check. No filler lessons.

Server-side AI study tutor

Gemini is called only from the server. The browser never receives the provider key, and questions are rate-limited and redacted before storage.

Database-backed accounts

Argon2id password hashing, opaque session tokens stored only as SHA-256 hashes, HttpOnly cookies and immediate server-side revocation.

Server-saved progress

Quiz scores and completion records belong to your account, are isolated per user and survive a new browser or device.

Safe simulated labs

Five guided investigations with server-validated commands. Every scenario is fictional: no real host, network or account is touched.

Searchable dictionary

80 defensive-security terms stored in PostgreSQL, searchable by name, definition, category or example.

Lesson flow

Every lesson follows the same four steps

Reading is not completion. Each lesson asks you to practise, test your understanding and record the result against your own account. Knowledge checks are scored on the server, so retakes cannot be gamed from the browser.

1LearnRead the concept with a worked example2PractiseComplete a safe, simulated activity3CheckAnswer the lesson knowledge check4ProveSave progress and build a completion record

Security by design

A starter you can reason about

This project deliberately keeps the security model visible. Credentials are hashed with Argon2id, sessions are opaque and server-side, state-changing requests require a CSRF double-submit token and a same-origin check, and rate limits live in PostgreSQL rather than in one process's memory.

Honest limitations: registration creates an account immediately; email verification, password reset, account deletion and moderation tooling are not included. Add those, plus a privacy policy and retention policy, before opening registration to a broad public audience.

Included controls

  • Argon2id password hashing with per-password salts and constant-time verification
  • Opaque 256-bit session tokens; the database stores only SHA-256 hashes
  • HttpOnly + SameSite cookies, with Secure enabled via COOKIE_SECURE in HTTPS deployments
  • CSRF double-submit tokens plus Origin/Host validation on every write
  • Durable PostgreSQL-backed rate limiting for registration, login, tutor and labs
  • Security headers including CSP, frame denial, nosniff and strict referrer policy
  • Server-only AI calls with timeouts, safety settings, rate limits and secret redaction
  • Per-account authorisation on progress, labs and certificate records

Start with module 1, lesson 1

Free to browse. Create an account when you want progress, quiz scores and a completion record saved to your own profile.