How to Learn Cybersecurity: The Complete 2027 Roadmap
From zero IT knowledge to your first security job: a staged, free-first path with time estimates, hands-on labs, certifications, projects and honest career advice.
Last reviewed: December 2026
If you are wondering how to learn cybersecurity, where to start, and which certifications, courses and labs are actually worth your time, this roadmap is for you. It covers the IT foundations most “learn hacking fast” guides skip, then the core security concepts, then five specialization tracks (blue team, red team, application security, cloud security, and governance/risk/compliance), with free resources first and paid ones clearly marked.
Cybersecurity is not one skill. It is a layer on top of networking, operating systems, programming and the way organizations work. People who try to jump straight to “hacking” usually stall. People who build the foundation first usually get further, faster.
Table of Contents
- Who This Roadmap Is For
- The Roadmap at a Glance
- Cybersecurity Careers Explained
- Stage 0: Set Up Your Lab (Week 1)
- Stage 1: IT Foundations (2-4 Months)
- Stage 2: Security Fundamentals (1-2 Months)
- Stage 3: Pick a Track (3-6 Months)
- Stage 4: Hands-On Practice Platforms
- Stage 5: Certifications (What They Are Worth)
- Stage 6: Build a Portfolio and Get Hired
- Best Free Courses
- Books: Free and Paid
- YouTube Channels, Podcasts and News
- Essential Tools
- 30 Project Ideas
- Ethics and the Law
- Common Mistakes
- Sample 12-Month Study Plan
- FAQ
- Where to Go Next
- Contributing
Who This Roadmap Is For
- Complete beginners who have used computers but never configured a network or a server.
- IT support and help desk staff who want to move into security.
- Developers who want to understand how their code gets attacked.
- Students choosing between degrees, bootcamps and self-study.
- Career changers who need a realistic timeline, not a “6 weeks to a six-figure job” promise.
What this roadmap assumes: you can install software, you are willing to use the command line, and you can spend roughly 8-15 hours a week. With that, most people can be job-ready for an entry-level role in 9-18 months. With less time, stretch it out; the order still holds.
The Roadmap at a Glance
| Stage | Focus | Time (8-15 h/week) | Outcome |
|---|---|---|---|
| 0 | Lab setup, safe habits | 1 week | A virtual lab you can break without fear |
| 1 | Networking, Linux, Windows, scripting | 2-4 months | You can explain what happens when you open a website, and use a shell comfortably |
| 2 | Security concepts, frameworks, crypto basics | 1-2 months | You speak the language: threats, controls, risk, CIA triad, ATT&CK |
| 3 | One specialization track | 3-6 months | Real skill in blue team, red team, AppSec, cloud or GRC |
| 4 | Labs, CTFs, practice platforms | Ongoing | Evidence of hands-on ability |
| 5 | One or two certifications | 1-3 months each | A filter-passing credential for HR |
| 6 | Portfolio, networking, applications | 1-3 months | Interviews and your first role |
Best pick if you are unsure where to start: do Stage 1 with Professor Messer’s free Network+ videos and OverTheWire Bandit, then take Harvard’s free CS50 Cybersecurity, then try both the TryHackMe SOC and pentesting paths for two weeks each before choosing a track.
Cybersecurity Careers Explained
Before learning, know what jobs exist. “Hacker” is a small slice of the field. Most security work is defending, detecting, reviewing and managing risk.
| Role | What you do day to day | Typical entry route | Coding needed | Entry difficulty |
|---|---|---|---|---|
| SOC Analyst (Tier 1/2) | Triage alerts, investigate suspicious activity, escalate incidents | IT support, Security+, home lab | Low to medium | Most common entry point |
| Incident Responder / DFIR | Investigate breaches, collect and analyze forensic evidence | SOC experience | Medium | Medium |
| Detection Engineer | Write and tune detection rules (Sigma, SIEM queries) | SOC + scripting | Medium to high | Medium |
| Penetration Tester | Legally attack systems and write reports | Labs, CTFs, OSCP-style certs | Medium | Hard (competitive) |
| Red Teamer | Simulate real adversaries over weeks | Pentest experience | Medium to high | Hard |
| Application Security Engineer | Review code, threat-model features, run SAST/DAST, teach developers | Software development background | High | Medium (easier for devs) |
| Cloud Security Engineer | Secure AWS/Azure/GCP accounts, IAM, guardrails, posture management | Cloud or DevOps background | Medium to high | Medium |
| Security Engineer | Build and run security tooling and infrastructure | Sysadmin/DevOps | Medium to high | Medium |
| GRC Analyst | Policies, audits, risk assessments, frameworks (NIST, ISO 27001, SOC 2) | Business, audit, IT | Low | Easier to enter, less technical |
| Threat Intelligence Analyst | Track threat actors, write intel reports | SOC, research, languages | Low to medium | Medium |
| Malware Analyst / Reverse Engineer | Take apart malicious binaries | Strong low-level programming | High | Hard |
| Vulnerability Management | Scan, prioritize and track fixes for vulnerabilities | IT/sysadmin | Low to medium | Moderate entry point |
A useful visual overview of the field is the interactive roadmap.sh Cyber Security Roadmap.
Stage 0: Set Up Your Lab (Week 1)
Everything in this field is learned by doing. Build a lab you are allowed to attack.
Steps:
- Get a virtualization tool.
- VirtualBox (free, Windows/Linux/Intel Mac)
- UTM (free, Apple Silicon Macs)
- VMware Workstation Pro / Fusion (free for personal use since 2024)
- Install an attacker distro. Kali Linux is the standard. Parrot Security is an alternative.
- Install a normal Linux server such as Ubuntu Server to learn administration.
- Get a Windows evaluation VM. Microsoft offers time-limited Windows Server evaluation images for labs.
- Add deliberately vulnerable targets (only ever run these in an isolated network):
- OWASP Juice Shop - modern vulnerable web app
- DVWA - classic vulnerable PHP app
- VulnHub - downloadable vulnerable VMs
- Use a password manager and enable MFA everywhere. Bitwarden has a free tier. Practicing good personal security is part of the job.
Lab rule: keep vulnerable machines on a host-only or internal network, never exposed to the internet.
Stage 1: IT Foundations (2-4 Months)
This is the stage most people want to skip, and the one that most clearly separates people who get hired from people who do not. You cannot defend or attack what you do not understand.
1.1 Networking (4-6 weeks)
Learn: OSI and TCP/IP models, IP addressing and subnetting, DNS, DHCP, HTTP/HTTPS, TLS basics, TCP vs UDP, ports, routing, NAT, VLANs, firewalls, VPNs, Wi-Fi security.
| Resource | Type | Cost | Why |
|---|---|---|---|
| Professor Messer CompTIA Network+ videos | Video course | Free | Complete, structured, maps to the Network+ exam |
| Practical Networking | Articles and videos | Free (paid courses available) | Unusually clear packet-level explanations |
| Computer Networks: A Systems Approach | Book | Free online (open license) | University-level depth |
| Beej’s Guide to Network Programming | Book | Free | Learn sockets by writing code |
| Cisco Networking Academy | Courses | Free self-paced courses | Official vendor material, labs in Packet Tracer |
| Wireshark documentation | Docs | Free | You will live in Wireshark later |
Exercise: capture your own traffic in Wireshark while loading a website. Find the DNS query, the TCP three-way handshake and the TLS ClientHello. Write a one-page explanation in your own words.
1.2 Linux (3-5 weeks)
Learn: filesystem layout, permissions, users and groups, processes, services (systemd), package managers, logs, cron, SSH, networking commands, Bash scripting.
| Resource | Type | Cost |
|---|---|---|
| OverTheWire: Bandit | Wargame | Free |
| The Linux Command Line by William Shotts | Book | Free PDF from the author |
| Linux Journey | Interactive lessons | Free |
| The Missing Semester of Your CS Education (MIT) | Course | Free |
| explainshell.com | Tool | Free |
Best pick: OverTheWire Bandit. Its levels force you to read man pages and solve real problems instead of watching videos. Aim to finish levels 0-20.
1.3 Windows and Active Directory (2-3 weeks)
Most companies run Windows and Active Directory, and most real breaches involve them.
Learn: Windows filesystem and registry, services, Event Viewer and event IDs, PowerShell basics, Active Directory concepts (domains, users, groups, Group Policy, Kerberos at a high level).
- Microsoft Learn: PowerShell documentation - free
- Microsoft Learn: Active Directory Domain Services overview - free
- TryHackMe and Hack The Box Academy both have beginner Windows and AD modules (free tiers available, see Stage 4).
Exercise: build a tiny domain in your lab: one Windows Server domain controller, one Windows client, two users, one Group Policy. Then break it in Track B.
1.4 Scripting (ongoing, start now)
You do not need to be a software engineer, but you must automate. Python is the most useful language in security, followed by Bash and PowerShell.
- Python official tutorial - free
- Automate the Boring Stuff with Python by Al Sweigart - free online from the author
- CS50’s Introduction to Programming with Python - free
- Exercism Python track - free practice with mentoring
Exercise: write a Python script that reads an auth log (for example /var/log/auth.log), counts failed SSH logins per IP, and prints the top 10.
Stage 1 checkpoint
You are ready for Stage 2 when you can:
- Explain DNS resolution and a TLS handshake without notes.
- Subnet a /24 into four networks.
- Find, read and filter logs on Linux and Windows.
- Write a 30-line script that parses a file and summarizes it.
Stage 2: Security Fundamentals (1-2 Months)
Now learn the concepts every security role shares.
Core concepts checklist
- CIA triad (confidentiality, integrity, availability), plus authentication, authorization and accounting
- Threats, vulnerabilities, risks and controls (and how they differ)
- Defense in depth, least privilege, zero trust
- Common attack types: phishing, malware, ransomware, credential stuffing, injection, privilege escalation, supply-chain attacks
- Cryptography basics: hashing vs encryption, symmetric vs asymmetric, digital signatures, certificates and PKI
- Identity: MFA, SSO, OAuth/OIDC at a high level
- Logging, monitoring and incident response lifecycle
- Vulnerability management: CVE, CVSS, patching
- Security frameworks and common language
Frameworks you should recognize
| Framework | What it is | Link |
|---|---|---|
| MITRE ATT&CK | A knowledge base of real adversary tactics and techniques; the shared vocabulary of detection and red teaming | attack.mitre.org |
| NIST Cybersecurity Framework 2.0 | High-level structure for managing security risk (Govern, Identify, Protect, Detect, Respond, Recover) | nist.gov/cyberframework |
| CIS Critical Security Controls | A prioritized list of practical defensive controls | cisecurity.org/controls |
| OWASP Top 10 (2025 edition) | The most critical web application security risks | owasp.org/Top10 |
| Cyber Kill Chain | Lockheed Martin’s model of attack stages | lockheedmartin.com |
| CISA Known Exploited Vulnerabilities | A US government list of vulnerabilities actively exploited in the wild | cisa.gov/known-exploited-vulnerabilities-catalog |
Best resources for Stage 2
| Resource | Type | Cost | Notes |
|---|---|---|---|
| CS50’s Introduction to Cybersecurity (Harvard) | Course | Free | Best free conceptual introduction; accessible to non-programmers |
| Professor Messer Security+ course | Video course | Free | Broad coverage of the whole field; videos map to Security+ exam objectives |
| Google Cybersecurity Professional Certificate | Course series | Paid (Coursera subscription; financial aid available) | Nine courses; good structure for total beginners, includes Linux, SQL, SIEM and Python |
| Cisco Networking Academy: Introduction to Cybersecurity | Course | Free | Gentle starting point |
| Microsoft Learn: Security, Compliance and Identity Fundamentals (SC-900) path | Learning path | Free to study; exam is paid | Good for identity and cloud security concepts |
| Cryptography I by Dan Boneh (Stanford, Coursera) | Course | Free to audit | The classic rigorous crypto course |
| CryptoHack | Interactive challenges | Free | Learn crypto by breaking it |
Best pick: CS50 Cybersecurity for concepts, then Professor Messer’s Security+ videos for breadth. Together they cost nothing.
Stage 2 checkpoint
You can explain, to a non-technical friend: why hashing passwords matters, how phishing leads to a breach, what MFA does and does not protect against, and what MITRE ATT&CK is used for.
Stage 3: Pick a Track (3-6 Months)
You do not need to choose forever. But going deep in one area gets you hired faster than staying shallow in all of them. If you have no preference, Track A (Blue Team) has the most entry-level openings.
Track A: Blue Team / SOC / Detection
Goal: detect, investigate and respond to attacks.
Skills: SIEM searching (Splunk SPL, KQL for Microsoft Sentinel, Elastic queries), log sources (Windows Event Logs, Sysmon, firewall, DNS, proxy, EDR), alert triage, phishing analysis, basic malware triage, network traffic analysis, incident response process, writing clear tickets and reports.
| Stage | Learn | Resources |
|---|---|---|
| A1 (3-4 weeks) | SIEM basics and log analysis | Splunk free training courses, Elastic documentation, Microsoft Learn KQL tutorial |
| A2 (2-3 weeks) | Endpoint telemetry | Sysmon (Sysinternals), SwiftOnSecurity sysmon-config, Olaf Hartong sysmon-modular |
| A3 (2-3 weeks) | Detection rules | Sigma rules, Atomic Red Team to generate test activity |
| A4 (3-4 weeks) | Investigations | Boss of the SOC v3 dataset, CyberDefenders, LetsDefend, Blue Team Labs Online |
| A5 (3-4 weeks) | Incident response and forensics | NIST SP 800-61 (Incident Handling Guide), 13Cubed YouTube, Eric Zimmerman’s tools, Volatility 3 |
| A6 (ongoing) | Network analysis | Malware-Traffic-Analysis.net exercises, Zeek, Suricata, Security Onion |
Track A project: build a home SOC. Run Wazuh or Security Onion, forward logs from a Windows VM with Sysmon, run Atomic Red Team tests, and write detections that catch them. Document every detection with the ATT&CK technique ID, the query, false positives you saw, and how you tuned it.
Track B: Red Team / Penetration Testing
Goal: legally find and exploit weaknesses, then explain them so they get fixed.
Skills: reconnaissance, scanning (Nmap), web exploitation, password attacks, Linux and Windows privilege escalation, Active Directory attacks, pivoting, report writing.
| Stage | Learn | Resources |
|---|---|---|
| B1 (2-3 weeks) | Methodology and recon | Nmap Network Scanning (official book, free online parts) |
| B2 (4-6 weeks) | Web exploitation | PortSwigger Web Security Academy (see Track C) |
| B3 (4-6 weeks) | Privilege escalation | GTFOBins, LOLBAS, HackTricks |
| B4 (4-6 weeks) | Active Directory attacks | Hack The Box Academy AD modules, TryHackMe AD rooms, BloodHound (SpecterOps) |
| B5 (ongoing) | Boxes and write-ups | Hack The Box, IppSec’s videos, 0xdf’s write-ups, ippsec.rocks search |
| B6 (2 weeks) | Reporting | Read public pentest reports collected by juliocesarfort and practice writing your own |
Useful references: PayloadsAllTheThings, Exploit Database, SecLists, Metasploit documentation.
Honest note: pentesting is the most popular and most competitive track. Many working pentesters started in IT, SOC or development roles first. That is normal, not a failure.
Track B project: compromise a lab Active Directory you built yourself from initial access to Domain Admin, then write a professional report with an executive summary, findings ranked by severity, evidence, and remediation steps.
Track C: Application Security
Goal: make software secure before and after it ships. Best fit if you already write code.
Skills: OWASP Top 10, secure code review, threat modeling, authentication and session security, API security, dependency and supply-chain security, SAST/DAST tooling, working with developers.
| Stage | Learn | Resources |
|---|---|---|
| C1 (6-10 weeks) | Web vulnerabilities, hands-on | PortSwigger Web Security Academy - free, the best web security course available, with labs |
| C2 (2 weeks) | Secure coding guidance | OWASP Cheat Sheet Series, OWASP ASVS |
| C3 (2 weeks) | API security | OWASP API Security Top 10, crAPI (vulnerable API) |
| C4 (2-3 weeks) | Threat modeling | OWASP Threat Modeling Cheat Sheet, Threat Modeling Manifesto, OWASP Threat Dragon |
| C5 (2-3 weeks) | Tooling | Semgrep, OWASP ZAP, Trivy, OSV-Scanner |
| C6 (ongoing) | Bug bounty practice | Hacker101 (free), HackerOne, Bugcrowd |
Track C project: pick an open-source web app you use, threat-model one feature (login, file upload, payments), run Semgrep and ZAP against a local copy, triage the findings, and write up which ones are real and why.
Track D: Cloud Security
Goal: secure accounts, identities and workloads on AWS, Azure or Google Cloud.
Prerequisite: basic cloud knowledge. If you have none, take the first two stages of the companion guide How to Learn Cloud Computing.
Skills: IAM deeply, network segmentation in VPCs, logging (CloudTrail, Azure Activity Log, GCP Audit Logs), encryption and key management, posture management, container and Kubernetes security, infrastructure-as-code scanning.
| Stage | Learn | Resources |
|---|---|---|
| D1 (3-4 weeks) | Cloud fundamentals and IAM | AWS IAM docs, AWS Security Reference Architecture |
| D2 (2-3 weeks) | Attack and defend in labs | flaws.cloud, flaws2.cloud, CloudGoat |
| D3 (2-3 weeks) | Posture and detection | Prowler, Stratus Red Team, Hacking the Cloud |
| D4 (3-4 weeks) | Containers and Kubernetes | Kubernetes security docs, Kubernetes Goat, CIS Benchmarks |
Track D project: create a fresh AWS (or Azure/GCP) account, enable organization-wide audit logging, deploy a deliberately misconfigured resource, detect it with Prowler, fix it with infrastructure as code, and write a short blog post explaining the whole loop. Set a billing alert first.
Track E: Governance, Risk and Compliance (GRC)
Goal: make sure the organization knows its risks, follows its rules and can prove it to auditors and customers. Least coding, heavy on writing, communication and business sense.
Skills: risk assessment, policy writing, control frameworks, audits (SOC 2, ISO 27001, PCI DSS), vendor risk, privacy regulation basics (GDPR and similar), security awareness programs.
| Resource | What | Cost |
|---|---|---|
| NIST Cybersecurity Framework 2.0 | The most-used framework to structure a security program | Free |
| NIST SP 800-53 controls | Detailed control catalog | Free |
| NIST Risk Management Framework | Risk process | Free |
| CIS Controls | Prioritized practical controls | Free (registration) |
| AICPA SOC 2 overview | What SOC 2 reports are | Free overview |
| ISO/IEC 27001 | International ISMS standard | Standard is paid |
| Simply Cyber YouTube (Gerald Auger) | GRC career advice and daily news | Free |
Track E project: write a complete mini security program for a fictional 50-person startup: a risk register with 15 risks, five policies (acceptable use, access control, incident response, vendor management, backup), and a mapping of your controls to NIST CSF 2.0 functions.
Stage 4: Hands-On Practice Platforms
This is where skill actually forms. Do something hands-on every week.
| Platform | Best for | Free tier | Paid | Level |
|---|---|---|---|---|
| TryHackMe | Guided beginner paths (SOC, pentesting, web) | Many free rooms | Subscription unlocks all paths | Beginner to intermediate |
| Hack The Box | Realistic boxes, Pro Labs | Active machines free | VIP subscription for retired machines | Intermediate to advanced |
| Hack The Box Academy | Deep, text-based modules (red and blue) | Tier 0 modules free | Cubes/subscription | Beginner to advanced |
| PortSwigger Web Security Academy | Web application security | Completely free | - | All levels |
| OverTheWire | Linux and basic exploitation wargames | Completely free | - | Beginner to intermediate |
| picoCTF | Beginner CTF practice (Carnegie Mellon) | Completely free | - | Beginner |
| pwn.college | Systems security, binary exploitation (Arizona State University) | Completely free | - | Beginner to advanced |
| CyberDefenders | Blue team investigations | Free labs available | Paid tiers | Intermediate |
| LetsDefend | Simulated SOC analyst work | Free content available | Subscription | Beginner to intermediate |
| Blue Team Labs Online | Blue team challenges | Free challenges | Paid investigations | Intermediate |
| CryptoHack | Cryptography | Completely free | - | All levels |
| Root Me | Broad challenge library | Free | Pro version | All levels |
| CTFtime | Calendar of live CTF competitions | Free | - | All levels |
Best pick for beginners: TryHackMe’s free rooms for guided learning, PortSwigger for web, and picoCTF for your first CTF. Move to Hack The Box when guided rooms feel too easy.
How to get the most from labs:
- Write your own notes for every room or box. A searchable notes vault (Obsidian, Joplin or plain Markdown in Git) becomes your personal playbook.
- Try for at least 30-60 minutes before reading a write-up. Then read the write-up anyway to learn other approaches.
- Re-do a box a month later without notes.
- Publish write-ups only for retired or permitted challenges; platforms have rules about active content.
Stage 5: Certifications (What They Are Worth)
Certifications help you pass HR filters, especially for government and defense roles. They do not replace hands-on skill. Get one or two that match your target role, not ten.
Prices change often; check each vendor’s site before buying. All exams below are paid.
| Certification | Vendor | Level | Best for | Notes |
|---|---|---|---|---|
| Security+ | CompTIA | Entry | Almost any first security job | The most-requested entry cert in job ads. CompTIA lists V8 as the current version; the V7 (SY0-701) English exam retires June 11, 2027 |
| Network+ | CompTIA | Entry | Proving networking knowledge | Optional if you already know networking |
| CySA+ | CompTIA | Intermediate | SOC analysts | Blue team focus |
| Certified in Cybersecurity (CC) | ISC2 | Entry | A first credential | ISC2’s free “One Million Certified in Cybersecurity” program stopped accepting new participants on May 20, 2026; the exam is now paid |
| SC-900 | Microsoft | Entry | Microsoft security basics | Inexpensive, free study material |
| Blue Team Level 1 (BTL1) | Security Blue Team | Entry to intermediate | Hands-on SOC skills | Practical exam |
| PJPT / PNPT | TCM Security | Entry to intermediate | Practical pentesting | Practical exam with report |
| OSCP+ | OffSec | Intermediate | Pentesting jobs | Long, hands-on exam; highly recognized and expensive |
| HTB certifications (CPTS, CDSA and others) | Hack The Box | Intermediate | Pentesting / SOC | Practical, tied to Academy modules |
| Burp Suite Certified Practitioner | PortSwigger | Intermediate | Web pentesting / AppSec | Practical exam; prep is free |
| AWS Certified Security - Specialty | AWS | Advanced | Cloud security | Needs real AWS experience |
| CISSP | ISC2 | Senior | Managers, senior engineers | Requires years of paid experience |
| GIAC certifications | SANS/GIAC | Intermediate to advanced | Many specialties | Highly respected; training is very expensive |
Best pick: Security+ as your first certification if you are applying to general entry-level roles (especially in the US). For pentesting, add a practical cert (PNPT, CPTS or OSCP+) once you can root intermediate boxes consistently.
Free study materials for Security+: Professor Messer’s videos and notes (videos free, notes paid) and the official exam objectives PDF from CompTIA.
Stage 6: Build a Portfolio and Get Hired
Hiring managers want proof you can do the work. Build public evidence.
What to put in your portfolio
- A GitHub profile with scripts, detection rules, lab configurations and tools you wrote.
- A blog (free options: GitHub Pages, Hashnode, Medium) with 5-10 write-ups: home lab builds, investigations, retired box write-ups, a detection you engineered.
- A home lab diagram and a short explanation of what you learned building it.
- CTF results from team events listed on CTFtime.
- A one-page resume focused on skills demonstrated by projects, not a list of tools.
Job search tactics that work
- Apply to adjacent roles: IT support, sysadmin, network admin, NOC, junior cloud engineer. Many security careers start here.
- Join communities: local OWASP chapters, BSides conferences (cheap or free, very beginner-friendly), DEF CON groups.
- Network honestly: ask practitioners about their work, not for a job.
- Prepare for interviews: expect “what happens when you type a URL”, “how would you investigate this alert”, “explain this attack”, and a hands-on or take-home exercise.
- Government and defense roles often require specific certifications and, in some countries, citizenship or clearance.
Best Free Courses
A shortlist of the strongest free (or free-to-audit) courses, in suggested order.
| # | Course | Provider | Covers |
|---|---|---|---|
| 1 | CS50’s Introduction to Cybersecurity | Harvard | Broad conceptual intro |
| 2 | Professor Messer Network+ | Professor Messer | Networking |
| 3 | Professor Messer Security+ | Professor Messer | Broad security |
| 4 | The Missing Semester | MIT | Shell, Git, tooling |
| 5 | PortSwigger Web Security Academy | PortSwigger | Web hacking and defense |
| 6 | pwn.college | Arizona State University | Linux, binary exploitation, reversing |
| 7 | OpenSecurityTraining2 | OST2 | Assembly, reverse engineering, firmware, vulnerability classes |
| 8 | MIT 6.858 Computer Systems Security (OCW) | MIT | University-level systems security |
| 9 | Cryptography I | Stanford (Coursera) | Cryptography (free to audit) |
| 10 | Hacker101 | HackerOne | Web security and bug bounty |
| 11 | Splunk free courses | Splunk | SIEM searching |
| 12 | Microsoft Learn security paths | Microsoft | Identity, Defender, Sentinel |
| 13 | TCM Security free YouTube courses | TCM Security | Ethical hacking basics |
Books: Free and Paid
Legally free books
| Book | Author | Topic | Link |
|---|---|---|---|
| Security Engineering (3rd ed.) | Ross Anderson | The classic broad textbook; the author made chapters freely available | cl.cam.ac.uk/~rja14/book.html |
| The Linux Command Line | William Shotts | Linux shell | linuxcommand.org/tlcl.php |
| A Graduate Course in Applied Cryptography | Dan Boneh and Victor Shoup | Rigorous cryptography | toc.cryptobook.us |
| Computer Networks: A Systems Approach | Larry Peterson and Bruce Davie | Networking | book.systemsapproach.org |
| Nmap Network Scanning (selected chapters online) | Gordon “Fyodor” Lyon | Scanning | nmap.org/book |
| Automate the Boring Stuff with Python | Al Sweigart | Python automation | automatetheboringstuff.com |
| Operating Systems: Three Easy Pieces | Remzi and Andrea Arpaci-Dusseau | OS internals | pages.cs.wisc.edu/~remzi/OSTEP |
Paid books worth buying (marked paid)
| Book | Author | Best for |
|---|---|---|
| Hacking: The Art of Exploitation (2nd ed.) (paid) | Jon Erickson | Low-level exploitation fundamentals |
| Practical Malware Analysis (paid) | Michael Sikorski and Andrew Honig | Malware analysis |
| Black Hat Python (2nd ed.) (paid) | Justin Seitz and Tim Arnold | Offensive Python tooling |
| Bug Bounty Bootcamp (paid) | Vickie Li | Web bug hunting |
| Hacking APIs (paid) | Corey Ball | API security |
| Practical Packet Analysis (3rd ed.) (paid) | Chris Sanders | Wireshark and traffic analysis |
| The Practice of Network Security Monitoring (paid) | Richard Bejtlich | Detection mindset |
| Serious Cryptography (2nd ed.) (paid) | Jean-Philippe Aumasson | Practical crypto |
| Alice and Bob Learn Application Security (paid) | Tanya Janca | AppSec for developers |
| Threat Modeling: Designing for Security (paid) | Adam Shostack | Threat modeling |
| The Cuckoo’s Egg (paid) | Cliff Stoll | Narrative classic; great motivation |
| Sandworm (paid) | Andy Greenberg | Narrative on state-sponsored attacks |
| Countdown to Zero Day (paid) | Kim Zetter | Narrative on Stuxnet |
Many of these are published by No Starch Press and frequently appear in Humble Bundle sales. Your local library may also offer them digitally.
YouTube Channels, Podcasts and News
YouTube
| Channel | Focus |
|---|---|
| Professor Messer | Certification-aligned fundamentals |
| John Hammond | Malware, CTFs, news breakdowns |
| IppSec | Hack The Box walkthroughs, methodology |
| LiveOverflow | Deep exploitation concepts |
| 13Cubed | Digital forensics and incident response |
| NetworkChuck | Approachable networking and labs |
| David Bombal | Networking and interviews with practitioners |
| TCM Security | Pentesting courses and career advice |
| Simply Cyber | Career advice, GRC, daily news |
| PwnFunction | Short animated web vulnerability explainers |
Podcasts
- Darknet Diaries - stories about hackers and breaches
- Risky Business - weekly security news and analysis
- SANS Internet Stormcast - five-minute daily threat summary
News and reading
- SANS Internet Storm Center
- Krebs on Security
- BleepingComputer
- The DFIR Report - detailed real intrusion write-ups, excellent for blue teamers
- CISA advisories
Essential Tools
You do not need to master all of these. Know what each is for and get comfortable with the ones in your track.
| Category | Tools |
|---|---|
| Packet analysis | Wireshark, tcpdump |
| Scanning | Nmap, masscan |
| Web testing | Burp Suite Community Edition, OWASP ZAP, ffuf |
| Exploitation frameworks | Metasploit |
| Password auditing | Hashcat, John the Ripper |
| Active Directory | BloodHound, Impacket |
| SIEM / logging | Splunk (free trial), Elastic Stack, Wazuh |
| Network monitoring | Zeek, Suricata |
| Forensics | Volatility 3, Autopsy, Eric Zimmerman’s tools |
| Reverse engineering | Ghidra, x64dbg |
| Data wrangling | CyberChef |
| Threat intel | VirusTotal, MITRE ATT&CK Navigator |
| Code and dependency scanning | Semgrep, Trivy |
30 Project Ideas
Ordered roughly by difficulty. Pick ones that match your track and publish what you learn.
Foundations
- Document your home network: every device, IP, open port (scan only your own network).
- Write a Python port scanner using sockets, then compare its results with Nmap.
- Build a log parser that flags brute-force attempts in SSH logs.
- Harden a fresh Ubuntu server using a CIS Benchmark and record each change.
- Set up a WireGuard VPN to your home lab and explain its threat model.
- Make a “packet zoo”: Wireshark captures of DNS, HTTP, TLS, DHCP, ARP, with annotated explanations.
Blue team
- Deploy Wazuh or Security Onion in your lab and onboard two endpoints.
- Write five Sigma rules for techniques you simulate with Atomic Red Team.
- Analyze a phishing email (headers, links, attachment hashes) and write a report.
- Investigate a Boss of the SOC scenario and publish your timeline.
- Build a dashboard of failed logins, new admin accounts and unusual process launches.
- Write an incident response playbook for ransomware, mapped to NIST SP 800-61.
- Do a memory forensics exercise with Volatility on a sample image from a public challenge.
- Create a honeypot (for example Cowrie) on an isolated cloud VM and analyze a week of attacker activity.
Red team
- Root 20 easy and 10 medium machines on Hack The Box or TryHackMe and keep structured notes.
- Build a vulnerable Active Directory lab and attack it end to end.
- Write a professional pentest report for a lab target.
- Re-implement a simple tool (subdomain enumerator, directory brute-forcer) in Python.
- Complete all PortSwigger “Apprentice” labs, then the SQL injection and access control “Practitioner” labs.
AppSec
- Threat-model a sample app with OWASP Threat Dragon.
- Add Semgrep, Trivy and secret scanning to a GitHub repository’s workflow and fix what it finds.
- Solve 30 OWASP Juice Shop challenges and write up three.
- Write a secure login implementation (rate limiting, password hashing with Argon2 or bcrypt, MFA) and document your design choices.
Cloud
- Complete flaws.cloud and flaws2.cloud (attacker and defender paths).
- Run Prowler against a test account and remediate the top findings with Terraform.
- Build a CloudTrail-based alert for root account usage and IAM policy changes.
Advanced
- Reverse engineer a crackme from crackmes.one with Ghidra.
- Complete the first three pwn.college dojos.
- Responsibly report a real bug through a bug bounty program or vulnerability disclosure policy.
- Contribute a detection, a fix or documentation to an open-source security project (Sigma, Wazuh, OWASP projects, Atomic Red Team).
Ethics and the Law
- Only test systems you own or have written permission to test. Unauthorized access is a crime in almost every country (for example the US Computer Fraud and Abuse Act and the UK Computer Misuse Act), even if you “did not break anything”.
- Bug bounty programs and vulnerability disclosure policies define exactly what is in scope. Read them fully.
- Do not run scanners against your school, employer or ISP without explicit approval.
- Do not download “cracked” hacking tools or courses; they are a common malware delivery method.
- Keep vulnerable VMs isolated from the internet and from your personal data.
Common Mistakes
- Skipping networking and Linux. It feels slow, but nearly every advanced topic assumes them.
- Tool-first learning. Running a tool without understanding the protocol underneath leaves you stuck when it fails.
- Collecting certifications instead of skills. Two certs plus five strong projects beats eight certs and nothing to show.
- Watching instead of doing. Aim for at least as much hands-on time as video time.
- Only doing red team. Blue team roles are far more numerous; understanding defense also makes you a better attacker.
- Never writing. Reports, tickets and documentation are a huge part of the job. Practice by blogging.
- Going alone. Communities, mentors and CTF teams speed you up dramatically.
- Burning out. Consistency (an hour a day) beats weekend marathons.
Sample 12-Month Study Plan
Assumes about 10 hours a week, aiming for a SOC analyst role.
| Month | Focus | Concrete goals |
|---|---|---|
| 1 | Lab + Linux | Lab built, OverTheWire Bandit levels 0-15, Linux Command Line book chapters 1-10 |
| 2 | Networking | Professor Messer Network+ sections 1-3, Wireshark exercises |
| 3 | Networking + Python | Finish Network+ videos, Automate the Boring Stuff chapters 1-9, log parser script |
| 4 | Windows + AD | Lab domain built, PowerShell basics, Event Viewer exercises |
| 5 | Security fundamentals | CS50 Cybersecurity, start Security+ videos |
| 6 | Security+ | Finish videos, practice questions, sit Security+ |
| 7 | SIEM | Splunk free courses, KQL tutorial, deploy Wazuh |
| 8 | Endpoint + detection | Sysmon, Sigma, Atomic Red Team, five detections published |
| 9 | Investigations | CyberDefenders/LetsDefend labs, BOTS v3, phishing analysis write-up |
| 10 | IR + forensics | NIST 800-61, Volatility exercise, ransomware playbook |
| 11 | Portfolio | Blog with 6+ posts, GitHub cleaned up, resume rewritten |
| 12 | Job hunt | 5+ applications per week, BSides or local meetup, mock interviews |
FAQ
Can I learn cybersecurity with no experience? Yes. Start with IT foundations (networking, Linux, Windows) before security-specific topics. Most people who say “cybersecurity is too hard” skipped those basics.
How long does it take to learn cybersecurity? For an entry-level job, most self-taught learners need 9-18 months at 8-15 hours a week. People with IT or development experience can often do it in 4-9 months. Mastery takes years, as in any engineering field.
Do I need a degree to work in cybersecurity? Not always. Many employers accept experience, certifications and a portfolio instead. Some government, defense and large enterprise roles still require or strongly prefer a degree.
Do I need to know how to code? For SOC and GRC roles, basic scripting is enough. For AppSec, detection engineering, malware analysis and security engineering, solid programming is essential. Learning Python is worthwhile for every track.
Is cybersecurity hard to get into in 2026? Entry-level roles are competitive, partly because many people are trying to enter at once. Candidates with real hands-on projects, solid fundamentals and good communication still get hired. Adjacent IT roles remain a reliable stepping stone.
What is the best first certification? For most people, CompTIA Security+. It is widely requested in job postings and covers the broad fundamentals. If budget is tight, study the free materials first and only pay for the exam when you consistently pass practice tests.
Is the ISC2 Certified in Cybersecurity exam still free? No. ISC2 ended new enrollments in its free program on May 20, 2026. People who already received a code can use it until it expires (ISC2 says by December 31, 2026). Check isc2.org for current pricing.
TryHackMe or Hack The Box? TryHackMe for guided beginner learning. Hack The Box for less hand-holding and more realistic challenges. Hack The Box Academy sits in between with deep written modules.
Should I learn ethical hacking first? Only if pentesting is your goal and you have the foundations. For most people, learning how systems work and how they are defended gives more job options.
Is Kali Linux required? No. It is a convenient toolbox. Every tool in it can be installed on other Linux distributions. Do not use Kali as your daily operating system.
Can I learn cybersecurity for free? Yes, almost entirely. Every stage of this roadmap has free options. Exams and some advanced labs cost money.
Will AI replace cybersecurity jobs? AI tools are changing the work (faster triage, code review assistance, automated reporting) and attackers use them too. The demand for people who understand systems, judge risk and respond to incidents remains. Learning to use AI assistants well in investigations is becoming a useful skill.
What programming language is best for cybersecurity? Python first. Then Bash and PowerShell. C and assembly if you want exploitation or reverse engineering. JavaScript and the languages your company uses if you go into AppSec.
Is a cybersecurity bootcamp worth it? Some are, many are expensive repackagings of free material. Before paying, compare the syllabus against this roadmap, ask for verified job placement data, and check whether the certifications included are ones employers actually request.
Where to Go Next
- Go deeper in your track: advanced platforms like Hack The Box Pro Labs, pwn.college advanced dojos, or SANS/GIAC courses if your employer pays.
- Contribute to open source: detection rule repositories, OWASP projects and security tools welcome new contributors.
- Speak or write: a BSides talk or a detailed blog series is one of the best career accelerators.
- Related Ralpberry Labs roadmaps:
Contributing
Corrections and additions are welcome.
- Open an issue or pull request for broken links, outdated certification details or better free resources.
- Keep additions free or clearly marked as paid.
- Only link legally free material (author- or publisher-hosted, or openly licensed). No pirated books or leaked exam content.
- Write in plain language and explain why a resource is worth it.
License
Content is licensed under CC BY 4.0.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.