Cybersecurity-Mastery

Foundations — Track

The computer science, systems and programming groundwork every security discipline is built on. Start here if anything below feels shaky.

Your progress in this track

Set up the lab environment below once, then work the lessons — each one is hands-on-first.

Lab Environment

Set up once, then use it for every chapter in the Foundations part. Everything runs locally and isolated — you never touch a system you don't own.

This part is mostly conceptual and tool-driven — no dedicated vulnerable targets are needed. Work from Kali (or any Linux box) and the tools called out in each chapter.

What you get

TargetHow to reach it
Kali / local shelleverything you need is a terminal and the tools named per chapter

Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):

yaml
# Optional scratch box for trying commands in isolation:
services:
  scratch:
    image: kalilinux/kali-rolling        # or debian:stable-slim
    container_name: scratch
    command: sleep infinity
    networks: [labnet]
networks:
  labnet: { driver: bridge, internal: true }

Attacker box. Run the chapter's commands directly on Kali, or in the disposable scratch container to keep your main system clean.

Verify it works

  • docker exec -it scratch bash gives an isolated shell.

Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.

Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.

Lessons

#LessonDifficultyHands-onWhat you'll do
1Computer Science Fundamentals🟢 Beginner~36mComputation, abstraction, complexity and the models that underpin every security tool.
2Programming Fundamentals🟢 Beginner~60mVariables, control flow, functions, types and memory as they matter to security work.
3Algorithms🟡 Intermediate~72mSorting, searching, graph traversal and the complexity analysis behind scanner and cracker design.
4Data Structures🟡 Intermediate~72mArrays, lists, trees, hash tables and tries, plus how their layout creates memory-safety bugs.
5Discrete Mathematics🟡 Intermediate~60mLogic, sets, combinatorics, number theory and probability, the mathematical base of cryptography.
6Computer Architecture🟡 Intermediate~72mCPU pipelines, registers, cache, MMU and privilege rings, the substrate exploits actually target.
7Operating Systems🟡 Intermediate~84mProcesses, threads, scheduling, virtual memory, syscalls and the kernel/user boundary.
8Networking Primer🟢 Beginner~48mA fast, practical on-ramp to packets, addressing and protocol layering before the deep dive.
9Databases🟡 Intermediate~60mRelational and NoSQL engines, SQL semantics, transactions and where injection actually happens.
10Virtualization🟡 Intermediate~48mHypervisor types, hardware-assisted virtualization, snapshots and lab isolation guarantees.
11Containers🟡 Intermediate~48mNamespaces, cgroups, union filesystems and why a container is not a security boundary by default.
12Cloud Computing🟡 Intermediate~48mService models, the shared responsibility model, regions, tenancy and cloud control planes.
13Linux🟢 Beginner~84mFilesystem hierarchy, permissions, processes, systemd, package management and the shell.
14Windows🟢 Beginner~84mNT architecture, registry, services, tokens, SIDs, ACLs and the Windows API surface.
15PowerShell🟡 Intermediate~60mObjects in the pipeline, remoting, execution policy, logging and offensive/defensive tradecraft.
16Bash and POSIX Shell🟢 Beginner~48mRedirection, pipelines, quoting, job control and safe scripting patterns for security automation.
17Python🟢 Beginner~96mThe default language of security tooling: sockets, requests, parsing, automation and packaging.
18C🟠 Advanced~96mPointers, manual memory management and undefined behaviour, the source of most memory-corruption CVEs.
19C++🟠 Advanced~84mObjects, vtables, RAII, templates and the exploitation surface unique to C++ binaries.
20Rust🟠 Advanced~84mOwnership, borrowing and lifetimes as a compile-time defence against memory-safety vulnerabilities.
21Go🟡 Intermediate~72mGoroutines, channels, static binaries and why Go dominates modern offensive and cloud tooling.
22JavaScript🟡 Intermediate~72mThe event loop, prototypes, the DOM and the execution context that XSS lives inside.
23Assembly Language🟠 Advanced~108mx86-64 and ARM64 instruction sets, calling conventions and stack frames for reversing and exploitation.
24Git🟢 Beginner~36mObjects, refs, branching, history rewriting and how secrets leak through commit history.
25GitHub and Forge Security🟢 Beginner~30mPull requests, Actions, tokens, branch protection and the supply-chain risks of a shared forge.

25 lessons.

← Repository home · Full contents · Labs campaign

Cybersecurity-Mastery — interactive security learning · runs locally