Computer Science · CSTA 2-NI-05 / 2-IC-23 · 信息科技 · Information security

Cyber defender: lock it, spot it, stop it

A password-cracking computer can try 10 billion guesses a second. How long would it need for yours? Scammers often don’t bother cracking — they just trick you into handing your password over. That’s phishing (网络钓鱼). The first line of cyber defence isn’t software. It’s you.

Your mission: build a password even a supercomputer can’t guess; catch the phishing traps in 7 messages and rise from Rookie to Cyber Defender; then make smart, kind choices in 8 real online situations.

Simulation: password strength lab

Type a practice password (never your real one!). The page estimates its entropy (熵) — how hard it is to guess, in bits — and how long a computer making 10 billion guesses a second would need on average. Every extra bit doubles the guesses.

🔑 Strength meter

🔒 Calculated only on this page: nothing you type is sent anywhere or saved.
0estimated entropy (bits)
—average time to crack at 10 billion guesses/s
    Try:

    🎲 Passphrase generator

    String random words together: long and easy to remember. Words are drawn with the browser’s secure random numbers (crypto), right here on the page.

    —
    —
    Advanced: the entropy formula, the attacker’s speed and time to crack
    Lines = fully random passwords: entropy = length × log₂(number of symbols). Dashed line = bits needed for an average crack time of 100 years at the current speed. Big dot = your practice password (the meter’s estimate).
    🎯 Challenge The attacker has a huge cracking cluster: 1 trillion (10¹²) guesses a second. In the meter above, build a practice password of at most 16 characters that takes at least 1,000 years on average.
    Why does length beat weird symbols?

    Each character multiplies the number of possibilities. “Fz9!q” has only 5 characters — about 30 bits however weird it looks. A five-word passphrase has 25+ characters: far harder to guess and easier to remember.

    Two locks: what is two-factor authentication?

    Two-factor authentication (2FA, 双重验证) asks for something you know (your password) plus something you have (a code on your phone or a security key). Even if your password is stolen, the thief can’t get in without the second key.

    What’s wrong with one password everywhere?

    If one small site gets hacked and leaks your password, attackers try it on your email, games and other accounts. Use a different password for each important account — a password manager (set up with a parent) can remember them.

    How accurate is this meter?

    It’s an estimate: it takes points off for common passwords, dictionary words, runs like abc/123/qwerty and years. 10 billion guesses a second is the worst case — an attacker who stole a site’s password file guessing offline. Websites usually limit login attempts, so online guessing is far slower.

    ⚠️ Don’t mix up:Swapping letters for look-alike symbols (a→@, o→0) barely helps — cracking programs try those swaps first. What really works: length + randomness + never reusing.

    Main mission: Cyber Defender — spot the phish

    Seven messages — some are traps, some are real. Step 1: click every part that looks suspicious (a red flag): +1 for each real flag, −1 for a false alarm. Step 2: decide “phishing” or “safe”: +2 if right. All brands and addresses are made up.

    0score
    1/7message
    ☆☆☆stars
    —rank

    📊 Data: the online crimes Americans reported most (2023)

    The FBI’s Internet Crime Complaint Center counts the complaints it receives each year. Phishing is far ahead — about one in every three complaints. Drag the slider to read each type.

    —complaints
    —share of all 880,418 complaints

    Data: FBI Internet Crime Complaint Center (IC3), 2023 Internet Crime Report. Phishing/spoofing 298,878; personal data breach 55,851; total 880,418. “Non-payment/non-delivery” and “extortion” are approximate.

    Simulation: what would you do? 8 online moments

    Every choice moves two meters: “Privacy & safety” and “Kindness & wellbeing”. Whatever you post lands in your digital footprint (数字足迹) — online, deleting something doesn’t mean it’s gone.

    🛡 Privacy & safety
    💚 Kindness & wellbeing

    👣 Your digital footprint

    Things you share or post in the scenarios show up here. Think: would you mind a teacher, a friend or a future college reading them in five years?

    🎵 Memory hookStop. Don’t reply. Screenshot. Block. Tell a trusted adult.
    ⚠️ Don’t mix up:A “private” account or a “disappearing” message is not truly private — anyone can screenshot or forward it. Before posting, ask: would I be OK with everyone seeing this?

    ⏰ 24-hour day planner

    Screen time isn’t “bad” by itself — the question is whether it squeezes out sleep, exercise, homework and people. Drag the sliders to plan a school day; whatever is left goes to family, friends, meals and chores.

    Based on: sleep recommendations endorsed by the American Academy of Pediatrics (ages 6–12: 9–12 hours; 13–18: 8–10 hours) and the WHO’s advice of at least 60 minutes a day of moderate-to-vigorous activity for ages 5–17. China’s Law on the Protection of Minors also requires online games to limit play time for minors (防沉迷, anti-addiction).

    Go further

    Test yourself

    🧠 Quiz

    Pick the best answer and read the explanation.

    🗂️ Sort it: OK to share online?

    Drag each item (or tap it, then tap a box) into the right group.

    👩‍🏫 Teacher notes

    US standards: CSTA K-12 CS Standards (2017) 2-NI-05 (explain how physical and digital security measures protect electronic information), 2-IC-23 (describe tradeoffs between making information public and keeping it private and secure), 2-IC-20 (compare tradeoffs of computing technologies in everyday life). Georgia K-12 Computer Science Standards (6–8), e.g. CSS.DC.6-8.2.1–2.3 (digital content is effectively permanent; pros and cons of password managers and storing personal data online; how cookies track users), CSS.DC.6-8.5.1–5.3 (privacy settings and social-media effects; health effects of technology overuse; identify phishing, insecure sites and risky links, build a positive digital footprint), CSS.DC.6-8.11.1–11.3 (CIA triad, access control, strong vs weak passwords), CSS.DC.6-8.13.4–13.5 (consequences and prevention of cyberbullying). Codes as listed in GaDOE’s 6–8 CS framework (via CodeHS); check wording against the GaDOE document.

    China’s curriculum: Compulsory Education Information Technology Curriculum Standards (2022), learning strand “Information security”; stage 4, grade-7 module “Internet applications and innovation” (network safety, protecting personal information, responsible internet use), building on stage-2 “Online learning and life”. Also Morality & Rule of Law, grades 7–8 (units on online life, e.g. “网络生活新空间”, using the internet wisely), and China’s Law on the Protection of Minors (revised 2020), Chapter 5 “Online protection” (personal information, anti-addiction time limits, cyberbullying).

    Notes: the meter is an estimate running on this page (character set × length, with deductions for common passwords, dictionary words, runs and years); nothing is sent or stored; 10 billion guesses/s assumes an offline attack. Brands, addresses and phone numbers in the messages are invented (555 numbers are fictional). IC3 data are from the FBI’s 2023 report (two values approximate); sleep and activity advice from the AAP-endorsed AASM consensus and WHO guidelines. The “best choices” in the scenarios follow common guidance (Common Sense Education, CISA, Chinese law) as summarised by the author.

    Suggested use: compare “Tr0ub4dor&3” with a five-word passphrase and discuss “hard to remember” vs “hard to guess”; after the phishing game, students write their own fake phishing message for classmates to spot; finish with a family media plan made with parents. Remind students to tell a trusted adult about cyberbullying or suspicious contact.