How to learn cybersecurity

Learning cybersecurity means learning how computers, networks and software work, how they are attacked, and how to defend them, then practicing legally in your own lab. In the US, CISA's NICCS site maps the field with four starting points:

A black combination padlock standing on a laptop's silver palm rest
A combination lock on a laptop, a simple image for the access controls you will study.Photo: TheDigitalWay / Pixabay
  1. 1

    The basics

    Networks, Linux, a programming language.

  2. 2

    A training catalog

    NICCS lists courses for every level.

  3. 3

    Work roles

    The NICE Framework's tasks and skills.

  4. 4

    A career path

    The Cyber Career Pathways Tool.

Learn in Evernote. Clip the docs, let the AI Assistant fix your code, and search any snippet.

Start your coding notebook in Evernote

How to learn cybersecurity in 6 steps

  1. 1

    Learn how systems work

    Networking basics, the Linux command line and one programming language such as Python. Security builds on all three.

  2. 2

    Explore the work roles

    The NICE Framework on NICCS describes cybersecurity work roles and the tasks, knowledge and skills each needs. Pick one to aim for.

  3. 3

    Find courses in the catalog

    The NICCS Education and Training Catalog lists courses for people new to cyber and for professionals.

  4. 4

    Practice only on your own systems

    Build a home lab with virtual machines. Never test systems you do not own or have permission to test.

  5. 5

    Learn the defensive basics

    Hashing and encryption, passwords and multi-factor authentication, updates and backups.

  6. 6

    Plan your path

    Use the Cyber Career Pathways Tool on NICCS to see how roles connect and which skills to add next.

A 6-week start in cybersecurity

About 45 minutes a day, in a home lab
  1. 1Weeks 1 to 2Networking basics, Linux command line, Python basics.
  2. 2Week 3Read 3 NICE Framework work roles. Pick one.
  3. 3Week 4Enroll in an introductory course from the NICCS catalog.
  4. 4Weeks 5 to 6Build a lab with two virtual machines. Practice hashing and file permissions.

Free coding practice log

One entry per session. Copy it, or save it to your Evernote account and keep your snippets in the same note.

Date: [day] · Time spent: [minutes]

Topic: [one concept, like for loops or functions]

Source: [tutorial, chapter or video, with its link]

What I built: [a small program, in one line]

Error I hit: [the last line of the error message]

How I fixed it: [one sentence, plus the corrected snippet]

Next session: [the next concept to learn]

Trusted by Millions Worldwide

4.4

2,100+ reviews on G2

4.4

8,200+ reviews on Capterra

4.4

73,000+ reviews on App Store

248M

Registered users

Cybersecurity learning questions

How can I learn cybersecurity for free?

CISA's NICCS site lists training courses, including opportunities for the public, and career tools. Build skills in a home lab with virtual machines.

What should I learn first for cybersecurity?

How systems work: networking, the Linux command line and a programming language such as Python.

What is the NICE Framework?

A description of cybersecurity work roles and the tasks, knowledge and skills needed for each, published on NICCS.

Is it legal to practice hacking?

Only on systems you own or have written permission to test. Practice in your own lab with virtual machines.

Do I need to know programming for cybersecurity?

NICCS work roles list the tasks, knowledge and skills for each role. Some roles need scripting; check the role you want.

What jobs are there in cybersecurity?

Many, from analysis and incident response to engineering and management. The NICE Framework work roles and the Cyber Career Pathways Tool show them.

How to learn cybersecurity with Evernote

Keep one notebook for security: the course pages you clip, your lab notes and scripts, and every error you fixed.

  1. 1

    Clip the hashlib docs.

    Save the hashlib page with the Web Clipper. Keep it in a notebook called Learning cybersecurity, with the hashing example and its link.

  2. 2

    Ask why hashing fails.

    Put the hashing script and its TypeError in a note. Ask the AI Assistant why the text must become bytes, and accept the added encode call.

  3. 3

    Find sha256 again.

    Search for "sha256" when you need the example again. Evernote finds it in your Python clip and in the lab note, code blocks included.

  • You can also ask the Assistant for a practice task that repeats every day.
  • You can also save screenshots of error messages, and search finds the words in them.

Every snippet, error and fix in one place

Clip the docs you learn from, ask the AI Assistant why your code breaks, and find any snippet again by searching for it.

Start for free