Hong Kong · Cybersecurity · Ages 13 to 17

Cybersecurity course for teens in Hong Kong

Plenty of teenagers are drawn to cybersecurity by films about hackers. The real field is better: it is about understanding systems so well that you can protect them, and it has firm legal lines that a young learner must know from day one. Our course is white-hat only. Students learn how attacks work in order to stop them, practise on their own machines and on legal training platforms, and never touch a system they do not have permission to test. Classes are taught live and online, one to one, in English.

Teaching since 2020 · 10,000+ students worldwide · Hong Kong teens learn one to one, live online, in English

The short answer

Modern Age Coders runs a white-hat cybersecurity course for teenagers in Hong Kong aged about 13 to 17. It is taught live online, one to one and in English, at hours that fit a Hong Kong school week. Students learn how networks, encryption, passwords and websites are attacked so that they can defend them, practising only on their own systems and legal training platforms such as capture-the-flag contests. The course goes beyond the 14 hours on internet threats in DSE ICT and explains Hong Kong's law on unauthorised access in its own words. The first class is free.

Start here

Which cybersecurity course should a teenager start with?

Three starting points fit most teenagers. In Hong Kong each is taught with one mentor.

What school covers

What do Hong Kong secondary schools teach about cybersecurity?

The clearest answer is in the senior secondary ICT curriculum, which gives internet security a topic of its own. The EDB's 2026 Blueprint also asks schools to build cyber security awareness into AI literacy.

Security in the DSE ICT compulsory part, from the 2021 Curriculum and Assessment Guide
ItemWhat the guide saysWhere
Topic and time"Threats and Security on the Internet", 14 hoursModule C, Internet and its Applications (31 hours)
Threats namedVirus, worm and Trojan programs, spyware, ransomware, unauthorised access, interception, denial of serviceRemarks column
Defences namedBrowser settings, anti-virus, authentication, access control, firewall, WPA, VPNRemarks column
Encryption"the relationship between the size of the key used and the degree of security"Remarks column
Privacy"The ways to maintain privacy, such as anonymity and passwords, should be stressed."Remarks column
The law"Teachers can quote some of the legal consequences related to unauthorised access to computers."Remarks column

Source: CDC and HKEAA, Information and Communication Technology Curriculum and Assessment Guide (Secondary 4 to 6), 2021, compulsory part, module C(d). Read on 23 November 2026. The Blueprint for Digital Education Development executive summary (EDB, 2026) asks schools to strengthen “AI literacy (including cyber security awareness and privacy protection concepts)”.

A good foundation, briefly

Fourteen hours is a solid introduction for students who take ICT, and the topic list is sensible. What fourteen hours cannot include is much hands-on practice: setting up a test machine, capturing traffic, breaking a weak cipher, reading a log.

Students who do not take ICT at all may meet only the awareness messages in assemblies and class talks. For DSE ICT support itself, see our HKDSE ICT tutor page.

What a course adds

Practice. A teenager who has stored passwords badly and watched them fall, then stored them well, understands security in a way no slide can give.

Programming, too. Most real defensive work involves scripts, so our course builds Python alongside the security, as in the lab further down this page.

The legal line

Is learning hacking legal in Hong Kong?

Learning how attacks work is legal and is how defenders are trained. Using that knowledge on a computer without permission is not. Hong Kong's own legislation draws the line, and we quote it rather than paraphrase. This is general information for learners, not legal advice.

Hong Kong legislation on computer access, quoted from the official text
Ordinance and sectionWhat the text says (extract)What it means for a learner
Telecommunications Ordinance (Cap. 106), s. 27A, "Unauthorized access to computer by telecommunications""Any person who, by telecommunications, knowingly causes a computer to perform any function to obtain unauthorized access to any program or data held in a computer commits an offence"; the penalty stated is "a fine at level 4"Getting into a program or data over a network without authorisation is itself an offence; no further aim is needed
Same section, subsection (2)(a)The person's intent "need not be directed at" any particular program, data or computer"I was only looking around" is not an exception written into the text
Crimes Ordinance (Cap. 200), s. 161, "Access to computer with criminal or dishonest intent""Any person who obtains access to a computer" with intent to commit an offence, to deceive dishonestly, for dishonest gain or to cause loss commits an offence, liable on indictment "to imprisonment for 5 years"Access with a dishonest purpose is treated far more seriously

Source: Telecommunications Ordinance (Cap. 106), version in force from 1 October 2024, and Crimes Ordinance (Cap. 200), version in force from 16 November 2026, taken from the Department of Justice’s e-Legislation open data on data.gov.hk and read on 23 November 2026. The third column is our plain-English reading for learners, not legal advice; the full sections contain further subsections and definitions.

Our rules in class

Students practise only on machines they own, virtual machines we help them set up, and platforms built for legal practice. We never test, scan or probe a school network, a friend's account, a game server or a website, even "just to see".

Every new technique comes with the question: on what systems am I allowed to use this? A student who cannot answer does not use it.

Why we teach the law early

The ICT guide itself suggests teachers quote "legal consequences related to unauthorised access to computers". Young people sometimes assume curiosity is a defence. The text above makes no exception for curiosity.

For a parent, this is the most important point on the page: a good cybersecurity course makes a teenager more careful, not less. If you have questions about the law in a particular situation, ask a Hong Kong lawyer.

A defender's lab

How do websites keep passwords safe, and why does length matter?

A well-run website never stores your password. It stores a hash, a scrambled fingerprint, and adds a random salt first. This lab, which we teach to students from about 14, shows why, using accounts we invented on our own machine.

  1. Hash a password. SHA-256 turns any text into a fixed-length fingerprint. The same text always gives the same fingerprint.
  2. Store hashes without salt. Two invented users, amy and ben, chose the same weak password. Look at what that reveals.
  3. Add a salt. A short random string, different for each user, is added before hashing.
  4. Try a tiny word list. Hash five common passwords and see which stored accounts match.
  5. Count the search space. How many guesses would a brute-force search need for different password styles?
Password storage: hashes, salts and search spacesPython
# Defender's lab: why sites store salted hashes, and why length beats cleverness.
# All accounts, passwords and salts are invented by us, on our own machine.
import hashlib

def h(text):
    return hashlib.sha256(text.encode()).hexdigest()

users = {"amy": "dimsum", "ben": "dimsum", "cat": "Victoria-Harbour-at-9pm"}

plain_store = {u: h(p) for u, p in users.items()}
print("unsalted: amy and ben share a hash?", plain_store["amy"] == plain_store["ben"])

salts = {"amy": "x7Q", "ben": "Lm2", "cat": "9tZ"}
salted_store = {u: h(salts[u] + p) for u, p in users.items()}
print("salted:   amy and ben share a hash?", salted_store["amy"] == salted_store["ben"])

common = ["123456", "password", "dimsum", "qwerty", "iloveyou"]
lookup = {h(word): word for word in common}
cracked = [u for u, digest in plain_store.items() if digest in lookup]
print("unsalted accounts found by a 5-word list:", cracked)
cracked = [u for u, digest in salted_store.items() if digest in lookup]
print("salted accounts found by the same list:", cracked)

for name, alphabet, length in [("6 lowercase letters", 26, 6), ("8 letters and digits", 62, 8), ("4 random common words", 2000, 4), ("5 random common words", 2000, 5)]:
    print(f"{name:22} -> {alphabet ** length:,} possibilities")

Every user, password and salt is invented by us and exists only on the student's own machine. Nothing here touches any real system. Python 3 prints the output below exactly.

OutputOutput
unsalted: amy and ben share a hash? True
salted:   amy and ben share a hash? False
unsalted accounts found by a 5-word list: ['amy', 'ben']
salted accounts found by the same list: []
6 lowercase letters    -> 308,915,776 possibilities
8 letters and digits   -> 218,340,105,584,896 possibilities
4 random common words  -> 16,000,000,000,000 possibilities
5 random common words  -> 32,000,000,000,000,000 possibilities

Without salt, amy and ben have identical hashes, and both fall to a five-word list. With salts their hashes differ and the precomputed list matches nothing. The last four lines count possibilities: eight random letters and digits beat four common words from a 2,000-word list, and five words beat both.

What students take from it

A salt does not make a weak password strong. Someone who steals a salted store can still try "dimsum" against each salt, one account at a time. What salting removes is the shortcut: one precomputed list for every account at once, and twins that give each other away.

That is why real systems also use deliberately slow hash functions, and why the next lesson moves on to them.

Length versus cleverness

The counts link straight to the ICT guide's point about key size and security. Every extra character multiplies the work; every extra random word multiplies it by the size of the word list.

It is also the best advice a teenager can give their family: long and random beats short and clever, and a different password for every account means one leak stays one leak.

  1. Your turn: slow it down. Replace SHA-256 with hashlib.pbkdf2_hmac using 100,000 iterations. Time one hash before and after.
  2. Find the crossover. How many random common words from a 2,000-word list does it take to beat 10 random letters and digits?
  3. Defend amy. Write a rule that refuses any new password found in the common list, and test it.
  4. Explain it. In three English sentences, explain to a parent why a website should never be able to email them their old password.

Legal practice

What is a capture-the-flag contest, and can Hong Kong teens enter one?

A CTF is a contest in which every target is built to be attacked, with permission, so it is the legal place to practise offensive skills. Hong Kong has its own, with a secondary school category.

HKCERT CTF 2026, from the contest's own site
ItemWhat the site says
OrganisersThe Digital Policy Office, the Hong Kong Productivity Council and HKCERT
Edition"is now in its seventh edition"
Categories"Secondary School, Tertiary, Open, and International"
Qualifying round6 to 7 November 2026
Final round7 January 2027
Skills named"programming, cryptography, and digital forensics"

Source: ctf.hkcert.org, read 23 November 2026. Entry rules and eligibility are set by the organisers; read them on the site before entering. We are not connected with HKCERT, HKPC or the DPO and promise no contest result.

Practice platforms

Between contests, students practise on platforms built for it. The long-running picoCTF site now says "picoCTF.org is now CyLab Security Academy", which it describes as "Carnegie Mellon University's free cybersecurity learning platform".

We use legal platforms like these in class and teach students to write up each challenge: what they tried, what worked, and what a defender should change.

Where competitions lead

Contest problems reward the same habits as programming olympiads: careful reading, clean code and persistence. Students who enjoy both can look at competitive programming for Hong Kong teens.

For a wider view of teen security competitions around the world, see cybersecurity classes for teens.

Course path

What will a teenager learn in a cybersecurity course, step by step?

Our usual order, adjusted after the free first class. Each stage has a defensive goal, and everything is practised on systems the student owns or is allowed to use.

Our white-hat cybersecurity path for Hong Kong teens
StageThe student learns toPractised on
1. Safety at homeSecure accounts, devices and home Wi-Fi; spot phishingTheir own accounts and router, with a parent
2. ScriptingWrite Python that reads files and logsTheir own laptop
3. NetworksRead traffic, ports and protocolsA virtual lab they build
4. CryptographyHashes, salts, keys and why size mattersThe lab on this page and beyond
5. Web securityFind and fix common flaws in their own small appAn app they wrote
6. ForensicsReconstruct what happened from logs and filesPractice images on legal platforms
7. Contest and write-upSolve CTF challenges and explain fixes in EnglishLegal CTF platforms

This path is our own plan, not an official syllabus. Students without coding start with Python for Hong Kong learners. Students preparing for IGCSE Computer Science, which also covers security, can see our IGCSE Computer Science tutor page.

Younger teens, 13 and 14

Stages 1 to 3, with plenty of programming. The aim is a careful, curious student who protects their own family's devices and understands how the internet carries data.

Where an AI tool would help, we use only one offered in Hong Kong or provided by the school, follow the maker's age terms and ask a parent first; see our AI tools age guide.

Older teens, 15 to 17

The full path, ending with contest work and a written project: for example, building a small web app, attacking it themselves, then hardening it and documenting each fix.

Students heading towards computing at university can present that project as evidence of real, legal, hands-on work.

English and timing

Why learn cybersecurity in English, one to one, from Hong Kong?

Because security advisories, tools and contest write-ups are published in English first, and because a private mentor can watch every step a student takes.

The language of the field

Vulnerability reports, tool manuals and forum answers are English-first. A student who learns "salt", "hash", "firewall" and "privilege" in English reads them without a dictionary.

Mentors speak clearly and type every new term into the chat.

Supervision matters here

One to one means the mentor sees exactly what the student runs and where. That is how we keep practice inside legal lines without slowing the student down.

Lessons fit around exams and school activities.

Hong Kong and India clocks: sample hours
Hong Kong timeIndia timeTypical use
5:00 pm, weekday2:30 pmStraight after school
9:00 pm, weekday6:30 pmAfter homework
2:00 pm, Saturday11:30 amA longer weekend lab

Hong Kong keeps UTC+8 and India UTC+5:30 throughout the year, so India stays two and a half hours behind. These hours are examples from our own arithmetic.

Progress

How will we know a teenager is becoming a good defender?

Our own stages for teen security students. They are not set or recognised by any exam board, contest or government body.

White-hat cybersecurity: our stages
StageThe student canEvidence
1. ProtectSecure their own accounts and devicesA checklist completed with a parent
2. ScriptAutomate a small task in PythonA working script with comments
3. ObserveExplain what a network capture showsAn annotated capture from their lab
4. Store safelyExplain hashing, salting and slow hashesThe lab on this page, extended
5. FixFind and fix a flaw in their own appBefore-and-after code with tests
6. ReportWrite up a CTF challenge for a defenderA clear English write-up

For students

Permission first, always. No permission, no test.

A defender who can explain a fix is worth more than one who can only break things.

For parents

You see the lab setup and the platforms used before practice begins.

Monthly notes list what was learned and where it was practised.

More courses

Nine more courses for security-minded teenagers

Each runs live in English; in Hong Kong, every one is taught one to one.

I

Systems and data

Ages 13 to 17

CYB / SYS / 01

MySQL for Teens

Databases, and why careless queries are dangerous.

Open the syllabus

CYB / SYS / 02

Backend Development for Teens

Servers and APIs, built with security in mind.

Open the syllabus

CYB / SYS / 03

HTML and CSS

The web pages every web attack starts from.

Open the syllabus
II

Problem solving

Ages 13 to 18

CYB / PS / 01

C++ for Teens

Memory and speed, close to the machine.

Open the syllabus

CYB / PS / 02

Problem Solving for Teens

Logic and algorithms for contest puzzles.

Open the syllabus

CYB / PS / 03

Competitive Programming

Timed problems, our own, clean solutions.

Open the syllabus
III

Exams

Secondary

CYB / EXAM / 01

HKDSE ICT

Programming and exam practice, security included.

Open the syllabus

CYB / EXAM / 02

IGCSE Computer Science

For international-school students.

Open the syllabus

CYB / EXAM / 03

IB Computer Science

The new guide, first assessed in 2027.

Open the syllabus

How classes run

When are cybersecurity classes, and what happens in one?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Your teenager works from home in Hong Kong; the mentor teaches from India, two and a half hours behind.

After school

Five in Hong Kong, half past two for the mentor.

Evening

Nine at night in Hong Kong is half past six in India.

Weekend

A longer Saturday session for lab work.

Permission check

Every exercise starts by naming the system and the permission.

Own lab

Students build a virtual lab on their own machine.

Code every week

Security skills are practised through scripts.

Fix, not just find

Each weakness found ends with a fix.

Written up

Students explain their work in English.

One mentor

The same mentor supervises throughout.

Student work

Projects by our students

From our longer courses; more are in the student labs.

NutriLife AI nutrition coach project screenshot

AI and ML

NutriLife

An AI nutrition coach that reads what you eat and works you toward a target.

by Bhavya · Open it

Misti AI chatbot for maths and coding screenshot

AI and ML

Misti

A chatbot that answers mathematics and programming questions, built and deployed by a student.

by Harshit · Open it

GuardianX AI internet safety assistant screenshot

AI and ML

GuardianX

An assistant that helps a young person recognise unsafe situations online.

by Vivaan · Open it

SkyCast weather forecast application screenshot

Web app

SkyCast

A weather forecasting site with live conditions for any location.

by Krish

Fees

Fees for the cybersecurity course

Payment is monthly, covering only the month ahead: no deposit, no term bundle. Fees show in Hong Kong dollars, and the payment page lists the gateway charge separately before anything is paid.

Free first class

Free

no card required

  • A free first class, one to one
  • Your teenager runs the hash lab
  • No card needed to book
Book it

One to one

$1,200 HKD

a month, eight live classes

  • A private mentor
  • Practice kept inside legal lines
  • Hours that fit the school week
Start here

What families say

Rated 4.9 across 547 Google reviews

Google reviews from students and parents, unchanged.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Questions from Hong Kong parents

Cybersecurity course for teens: questions and answers

Will this course teach my teenager to hack?

It teaches how attacks work so that students can defend against them. All practice is on their own systems or legal training platforms. We never teach or permit testing anything without permission.

Is it legal to learn cybersecurity in Hong Kong?

Learning is legal. Accessing a computer without authorisation is covered by Hong Kong legislation quoted on this page. This is general information, not legal advice; for a specific situation, ask a Hong Kong lawyer.

What language is the course taught in?

English, live over video, with a mentor based in India. We do not teach in Cantonese or Mandarin.

Is it one to one?

Yes. Every Hong Kong student is taught individually, which also lets the mentor supervise each exercise closely.

When can lessons happen?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. India is two and a half hours behind Hong Kong all year.

Does my teenager need to code first?

It helps but is not required. Students without coding learn Python early in the course, since most security work needs scripts.

Can you help my teenager enter HKCERT CTF?

We teach the skills such contests test, on legal practice platforms. Entry rules are set by the organisers, and we promise no result. We have no link with HKCERT, HKPC or the DPO.

Does it help with DSE ICT?

The security topics overlap with the ICT compulsory part. We do not write or complete any part of a student's School-based Assessment.

How are fees paid?

Monthly, in Hong Kong dollars, with no prepayment. The gateway charge is shown before you confirm.

Is there a certificate?

Students who finish receive our own certificate of completion. It is not a professional security certification.

Related

More for Hong Kong teenagers who like computing

Useful next pages.

Coding classes in Hong Kong

All our Hong Kong courses.

Cybersecurity for teens

Our global teen security page.

HKDSE ICT tutor

Papers, electives and the SBA line.

Python course

The language behind most tools.

HKOI training

For algorithm enthusiasts.

AI tools age guide

Vendor age terms, quoted.

More pages for Hong Kong

Part of the guide: Every Hong Kong page

More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay

Start here

Book a free first cybersecurity class

In the free class your teenager runs the password lab, sees why salts matter and counts a search space. The mentor explains the permission rules, checks their coding level and suggests where on the path to begin.

Curious first? Read how we teach or open the course list.

WhatsApp us · +91 91233 66161 · connect@modernagecoders.com

Live online, one to one, in English, with mentors in India. WhatsApp is quickest from Hong Kong.

Free to book; no card needed.

Want a class sooner? Book a priority demo

A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Book a priority demo

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us