Open-source cybersecurity knowledge base with 400+ notes, labs, and cheat sheets covering offense, defense, cryptography, cloud, and forensics.
Learn cybersecurity with clarity — from fundamentals to advanced concepts, in one searchable, open-source handbook.
| 📝 Notes | 🧪 Labs | 🔍 Search | ⚡ Performance | 👥 Community |
|---|---|---|---|---|
| 400+ and growing | Hands-on learning | Instant, full-text | Powered by Quartz | Open source |
Homepage · Interactive knowledge graph — every note links to related concepts
Reader mode · Dark mode (Catppuccin Mocha)
Fully responsive on mobile
I've spent a lot of nights doing exactly what you're probably doing right now — reading forums, watching tutorials, trying to piece together what actually matters in security.
Most of what I found fell into one of three buckets: too shallow (a list of tools with no explanation of why they work), too scattered (good content spread across a dozen blogs and paid courses), or priced like a $500 course was the only way in.
So I started writing my own notes — the kind that explain how things work, not just which commands to paste. Over time, those notes grew into this handbook.
I don't have all the answers, but I do think this stuff is learnable when it's explained clearly. If this saves you one late-night rabbit hole, it did its job.
Get it running locally in under 2 minutes.
Prerequisites: Node.js v18+ and npm or yarn.
git clone https://github.com/priyanshu-rawa/Cybersecurity-Handbook.git
cd Cybersecurity-Handbook
npm install
npm run quartz:dev
git clone https://github.com/priyanshu-rawa/Cybersecurity-Handbook.git
cd Cybersecurity-Handbook
npm install
npm run quartz:dev
Build for production:
npm run quartz:build # build the static site
npm run quartz:serve # preview the build locally
| Area | Topics |
|---|---|
| 🖥️ Operating systems & networking | Linux, Windows, TCP/IP, DNS, VPNs, firewalls |
| ⚔️ Offensive security | OWASP Top 10, SQL injection, XSS, scanning, exploitation, post-exploitation |
| 🛡️ Defensive security | SOC, incident response, SIEM, log analysis, threat hunting, digital forensics |
| ☁️ Cloud & infrastructure | AWS, Azure, GCP, Zero Trust, Docker, Kubernetes, DevSecOps, IAM |
| 💻 Programming & automation | Python, Bash, PowerShell, scripting, CI/CD, Git |
| 🔐 Cryptography | Symmetric/asymmetric encryption, AES, RSA, hashing (SHA-256, MD5), PKI, TLS, certificates |
A rough learning path, if you're starting from zero:
graph LR
A[Fundamentals & Networking] --> B[Offensive Security]
A --> C[Defensive Security]
B --> D[Cloud & Infrastructure]
C --> D
D --> E[Automation & Scripting]
E --> F[Cryptography]Contributions of all sizes are welcome, from fixing a typo to adding a whole new topic. First time contributing to open source? Happy to walk you through it, just open an issue.
Ways to help:
Steps:
| Step | Action |
|---|---|
| 1 | Fork the repo (button top right) |
| 2 | Clone your fork: git clone https://github.com/your-username/Cybersecurity-Handbook.git |
| 3 | Create a branch: git checkout -b feature/your-feature-name |
| 4 | Make your changes |
| 5 | Stage them: git add . |
| 6 | Commit: git commit -m "Add: new section on ransomware defense" |
| 7 | Push: git push origin feature/your-feature-name |
| 8 | Open a Pull Request against main |
Where things go:
| Type | Location |
|---|---|
| 📝 Notes | content/ (relevant category folder) |
| 🧪 Labs | content/ (relevant lab folder) |
| 🖼️ Images | assets/images/ |
| 📊 Diagrams | assets/diagrams/ |
This handbook is free and always will be. If it's helped you, here's what actually makes a difference:
| ⭐ Star the repo | Helps other people find it |
| 📢 Share it | LinkedIn, X, Reddit, Discord — wherever your network is |
| 🖊️ Contribute | Fix a typo, add a topic, sharpen an explanation |
| 💬 Give feedback | Open an issue or a discussion |
| 🐛 Report bugs | Tells me what's broken or unclear |
Want to share it? Feel free to copy this:
"Found this free Cybersecurity Handbook with 400+ notes, built with Obsidian + Quartz: https://github.com/priyanshu-rawa/Cybersecurity-Handbook"
If this handbook made a difference for you, a quick note is genuinely appreciated: [email protected]
MIT License — see LICENSE for details. Use, modify, distribute, or commercialize freely, as long as the copyright notice stays intact. Contributions back are always welcome.
Cybersecurity Handbook — a knowledge base built through documentation, experimentation, and practical learning.
If this helped you, a star keeps me motivated to keep building. ⭐ Also check out CyberTimeline — 35 real cyberattacks across five decades, in an interactive timeline.