Please enable JavaScript to use CodeHS

Cybersecurity Curriculum, Labs, and Certifications for Grades 6-12

Courses from digital citizenship through AP Cybersecurity, a Cyber Range with a real Linux terminal, interactive Power Ups, and student certifications. Everything a school needs to start a cybersecurity program or grow one.

What's Included

A Complete Cybersecurity Program on One Platform

CodeHS covers the whole program, not only the course: curriculum, hands-on practice, credentials, standards alignment, and teacher training, in the same place teachers assign and grade work.

  • Courses: a pathway from middle school through AP Cybersecurity

  • Cyber Range: capture the flag labs in a real Linux environment

  • Power Ups: quick interactive tools like the Phishing Simulator

  • Certifications: CodeHS Cybersecurity Level 1 and Level 2

  • Standards: state course versions and published alignments

  • Teacher PD: online training with no experience required

Try It: Cryptography

Students learn encryption by breaking it.

The Cryptography module in Fundamentals of Cybersecurity moves from the history of ciphers to symmetric and asymmetric encryption. Then students use what they learned to design their own escape room.

This demo uses the Caesar cipher, one of the oldest there is. Encrypt a message, then switch to Crack the Code and find the shift that reveals the plaintext.

Caesar Cipher

Encrypted message

PHHW DW WKH OLEUDUB

The Pathway

From Digital Citizenship to AP Cybersecurity

The CodeHS Cybersecurity Pathway is a four-year high school sequence for students interested in a cybersecurity career, with middle school courses that lead into it. Adopt the whole pathway or start with a single course.

  1. Grades 6-8

    Digital Citizenship

    A short course for each grade: digital footprints, privacy and security, hacking ethics, and common cyber attacks.

  2. Grade 9

    Digital Literacy and Artificial Intelligence

    Opens with a Cybersecurity and You unit, then adds Python and AI. Students build a password authenticator.

  3. Grade 10

    Fundamentals of Cybersecurity

    Cryptography, system administration, networking, and data security, with command line labs and a capture the flag.

  4. Grade 11

    Advanced Cybersecurity

    Hash functions, cyber defense, penetration testing, and risk management, with steganography and digital forensics projects.

  5. Grade 12

    AP Cybersecurity

    A yearlong course on securing spaces, networks, devices, and applications and data.

Teaching AP Computer Science Principles? AP Computer Science Principles: Cybersecurity teaches the AP CSP framework with a security focus, and the NCyTE Cybersecurity Concept Lessons drop individual cybersecurity lessons into an AP CSP course you already teach.

Try It: Network Defense

Set the firewall rules. See what gets through.

In the Securing Networks unit of AP Cybersecurity, students place firewalls, write the rules that decide which traffic passes, and read network logs for signs of an attack.

This web server only needs to serve pages to the public, and its firewall is misconfigured. Fix the rules, then send each packet to test them.

Firewall Rules

Allow rules (everything else is blocked)

Send a test packet

    Inside the Courses

    Students build, investigate, and defend.

    Every course mixes lessons with labs, games, and projects. These are real assignments from the courses above.

    Fundamentals of Cybersecurity

    Create an Escape Room

    Students design an escape room whose puzzles run on the ciphers and cryptography they just learned.

    Fundamentals of Cybersecurity

    Dev Tools Capture the Flag

    A capture the flag played in the browser's developer tools. Students inspect and manipulate a website's code to find each flag.

    Fundamentals of Cybersecurity

    The Game of Risk

    Students design a board or card game that teaches players to match security vulnerabilities with the right defenses.

    Advanced Cybersecurity

    Steganography

    Students write an algorithm that hides a message inside an image by changing its hexadecimal color codes, then decode each other's.

    Advanced Cybersecurity

    Digital Forensics

    Students work three cases as forensic investigators, pulling evidence from system logs, file metadata, and Exif data.

    AP Cybersecurity

    Coffee Shop Consultant

    Students act as security consultants for a fictional small business, applying risk assessment, security controls, and defense in depth.

    Try It: Cyber Range

    Capture the flag in a real Linux terminal.

    The CodeHS Cyber Range gives students live Linux environments and capture the flag challenges in six topic areas: Linux basics, cryptography, web security, network security, forensics, and binaries. Fundamentals, Advanced, and AP Cybersecurity each include a Cyber Range Challenges module.

    The terminal here is a small simulation so you can try the idea. In the Cyber Range, students run real commands on Ubuntu or Kali Linux. The Cyber Range is an add-on to CodeHS Pro.

    A flag is hidden in this directory. Find it.
    Type a command below, or type help.

    Stuck? Start with ls to see what is in the directory.

    Try It: Power Ups

    Power Ups make one concept hands-on.

    Power Ups are standalone interactive tools that teachers use for warm-ups, review days, and extra practice. The cybersecurity set covers phishing, passwords, and how attackers think.

    • Phishing Simulator Pro
    • White Hat Hacker Simulation Pro
    • Password Strength Checker Pro
    • Password Safety Explainer Pro
    • CORS Explained Pro
    • Safe Password Generator

    The password tester here is a simplified version built for this page.

    Password Tester

    Don't use a real one. Nothing you type leaves this page.

    Start typing to see how long it would hold up.

    • Not met: 12 or more characters
    • Not met: Uppercase and lowercase letters
    • Not met: A number
    • Not met: A symbol

    The estimate assumes an attacker making 10 billion guesses per second.

    Certifications

    Credentials for Colleges and Employers

    CodeHS cybersecurity certifications are tied to the courses students just finished, and each course includes practice for its exam.

    Cybersecurity Level 1 Certification

    Aligned to Fundamentals of Cybersecurity, which includes a Level 1 certification practice module.

    Cybersecurity Level 2 Certification

    Aligned to Advanced Cybersecurity, which includes a Level 2 certification practice module.

    Cybersecurity Associate

    A stackable credential. Students earn the CodeHS Cybersecurity Associate by passing both the Level 1 and Level 2 certifications.

    See certification pathways

    Third-Party Exam Prep

    Fundamentals of Cybersecurity is aligned to CompTIA Tech+ and includes a Tech+ prep module. AP Cybersecurity is mapped to CompTIA Security+ and Certiport Cybersecurity objectives.

    Browse framework alignments

    States where a CodeHS cybersecurity certification is officially approved. Other states leave the decision to districts.

    Standards

    Aligned to State Cybersecurity Standards

    CodeHS builds state course versions against state cybersecurity standards and publishes each alignment lesson by lesson, so you can show coverage without building a crosswalk by hand.

    Don't see your state's course? CodeHS also publishes alignments to AP Cybersecurity, CompTIA Tech+ and Security+, and cybersecurity frameworks from states including Alabama, Arkansas, Colorado, Georgia, Maryland, Nebraska, and Utah.

    For Teachers

    No cybersecurity background required.

    The CodeHS online Teaching Cybersecurity PD course takes about 30 hours and assumes no prior experience. It covers the basics of cybersecurity, how to teach cyber hygiene and cryptography, and how to run a blended class.

    • Ready-to-teach courses. Lesson plans, quizzes, and midterm and final exams come with each course.

    • Less grading. Auto-graded practice and progress tracking show where each student stands.

    • PD with feedback. Teachers get personalized feedback from the CodeHS PD team as they work through the course.

    • A cohort for AP Cybersecurity. Teachers of the AP course can join a year-long PD cohort with CodeHS PD specialists and other AP Cybersecurity teachers.

    • Credentials for teachers too. CodeHS offers teacher microcredentials in Cybersecurity at Level 1 and Level 2.

    What Educators Say

    Educators on CodeHS Cybersecurity

    That [Fundamentals of Cybersecurity] looks like a great course. I previously worked for a cybersecurity consulting firm and I appreciate the course's coverage of essential concepts such as the CIA triad and not just delving into 'how to be a hacker' material, which is so common (and off the mark).

    Bob Andersen

    Admin, Higher Ground Academy

    The program has been improving each year and the addition of Cybersecurity makes CodeHS a cut above the rest!

    Rik Fujioka

    Computer Science Teacher, Murrieta Mesa High

    In the press: New Cybersecurity Course Teaches Teens the ABCs of (Ethical) Hacking (EdSurge)

    FAQ

    Cybersecurity Curriculum FAQ

    What cybersecurity courses does CodeHS offer?

    CodeHS offers a four-year high school Cybersecurity Pathway that runs through Fundamentals of Cybersecurity, Advanced Cybersecurity, and AP Cybersecurity, plus middle school Digital Citizenship courses for grades 6-8. State-specific versions are available for states including Texas, Virginia, and South Carolina. Browse the CodeHS cybersecurity course catalog for the current list.

    Does CodeHS have an AP Cybersecurity course?

    Yes. CodeHS AP Cybersecurity is a yearlong high school course aligned to the College Board's AP Cybersecurity Career Kickstart course. Students work through five units: Introduction to Security, Securing Spaces, Securing Networks, Securing Devices, and Securing Applications and Data. CodeHS also offers a separate AP Cybersecurity review course with a full practice exam.

    What is the CodeHS Cyber Range?

    The CodeHS Cyber Range is a hands-on lab environment where students solve capture-the-flag challenges by running real commands in live Linux environments. Challenges cover Linux basics, cryptography, web security, network security, forensics, and binaries. The Cyber Range is an add-on to CodeHS Pro. See the CodeHS Cyber Range page for details.

    Can students earn a cybersecurity certification with CodeHS?

    Yes. CodeHS offers the Cybersecurity Level 1 Certification, aligned to Fundamentals of Cybersecurity, and the Cybersecurity Level 2 Certification, aligned to Advanced Cybersecurity. Students who earn both receive the CodeHS Cybersecurity Associate credential. Each course includes a certification practice module, so students can prepare inside the class they are already taking.

    Do CodeHS cybersecurity courses prepare students for CompTIA or Certiport exams?

    CodeHS maps its cybersecurity courses to third-party certification frameworks. Fundamentals of Cybersecurity is aligned to CompTIA Tech+ and includes a CompTIA Tech+ prep module. AP Cybersecurity is mapped to the CompTIA Security+ and Certiport Cybersecurity objectives. You can see which lessons cover each objective in the CodeHS standards frameworks.

    Are CodeHS cybersecurity courses aligned to state standards?

    Yes. CodeHS builds state-specific cybersecurity courses for states including Florida, Indiana, Nevada, Oklahoma, South Carolina, Tennessee, Texas, and Virginia, and publishes how its courses align to many more state cybersecurity frameworks. Each alignment lists the lessons that cover each standard, so you can check coverage for your own state.

    Do teachers need a cybersecurity background to teach with CodeHS?

    No. The CodeHS online Teaching Cybersecurity professional development course takes about 30 hours and requires no prior experience. It covers the basics of cybersecurity, how to teach cyber hygiene and cryptography, and how to run a blended class. See the CodeHS cybersecurity PD course for the full outline.

    How does CodeHS keep cybersecurity students engaged?

    CodeHS cybersecurity courses mix lessons with labs, games, and projects. Students design an escape room built on ciphers, play a capture the flag in browser developer tools, hide messages in images with steganography, and work digital forensics cases. Teachers can add Power Ups like the Phishing Simulator and Cyber Range challenges for more hands-on practice.

    Bring cybersecurity to your school.