Cybersecurity Basics Roadmap
Understand threats, protect your accounts and projects, and build security-aware habits as a developer.
5 stages
5 milestones
1
Stage 1: Security Fundamentals
1–2 weeksUnderstand the threat landscape before learning any tools or techniques.
- CIA triad — Confidentiality, Integrity, Availability
- Common attack types — phishing, malware, ransomware, social engineering
- Authentication vs authorisation
- Principle of least privilege
- Threat modelling basics
- Personal security hygiene — passwords, 2FA, updates
Resources
2
Stage 2: Network Security
1–2 weeksMost attacks happen over the network. Understand how data moves and how to protect it.
- OSI model — layers and what they mean
- TCP/IP, DNS, HTTP, HTTPS basics
- Firewalls, VPNs, and network segmentation
- Common network attacks — MITM, DNS spoofing
- TLS/SSL — how HTTPS actually works
- Wireshark — reading network traffic
Resources
3
Stage 3: Web Application Security
2–3 weeksAs a developer, the OWASP Top 10 is your security bible. Learn to write code that doesn't get hacked.
- OWASP Top 10 — the most critical web vulnerabilities
- SQL injection — how it works and how to prevent it
- Cross-Site Scripting (XSS) — stored, reflected, DOM
- CSRF — Cross-Site Request Forgery
- Broken authentication and session management
- Security headers — CSP, HSTS, X-Frame-Options
- Dependency vulnerabilities — npm audit
Resources
- OWASP Top 10Article
- PortSwigger Web Security Academy (free)Course
4
Stage 4: Secure Development Practices
1–2 weeksIntegrate security into your development workflow — shift left, not bolt on.
- Input validation and output encoding
- Parameterised queries — never build SQL with string concatenation
- Secrets management — .env, vaults, never in git
- Dependency scanning with Snyk or Dependabot
- Security testing — SAST tools and code review
- Penetration testing concepts
Resources
5
Stage 5: Tools, Practice & Certifications
OngoingReinforce your learning with hands-on practice and optionally earn a recognised certification.
- TryHackMe and Hack The Box — hands-on labs
- Kali Linux — the pentester's OS
- Burp Suite — intercepting and analysing HTTP
- CompTIA Security+ certification path
- CEH (Certified Ethical Hacker) overview
- Staying up to date — CVE databases, security blogs
Resources
- TryHackMeCourse
- Hack The BoxTool