📘 CodingMarble Learn

Cybersecurity: Threats and How We Stop Them

Cybersecurity protects computers, networks and data. It aims for confidentiality, integrity and availability (the CIA triad). Common threats are malware, phishing and social engineering, brute-force password attacks and denial of service. Defences include strong authentication, encryption, firewalls, anti-malware software, updates, access control and backups.

🎬 Step-by-step story

  1. Our data sits in a vault held up by three pillars: keep it secret, keep it correct, keep it working.
  2. Attackers try four tricks: harmful programs, fake messages, password guessing and flooding the server.
  3. First defence: prove who you are. Password, phone code, fingerprint. Longer passwords are much harder to guess.
  4. Second defence: encryption. Each letter of SAFE shifts 3 places and becomes VDIH. Without the key it is nonsense.
  5. Third defence: a firewall blocks bad packets. Fourth: backups, so nothing is lost for ever.
  6. Your turn. Type a word and move the key. Send the secret to a friend and tell them the key.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why three pillars and not just "keep it secret"?

Secret data is useless if it is wrong (integrity) or cannot be reached (availability). All three must hold, like the three pillars in the 3D.

How can an attack stop a website without breaking in?

Denial of service does not steal anything. It sends so many requests that the server is too busy for real users.

Why is 2FA safer if someone steals my password?

They still need the second factor, like the code sent to your phone, which they do not have.

If encrypted data is stolen, is it still dangerous?

Without the key it is just scrambled letters. That is why keys must be kept secret.

Does a firewall stop phishing?

Not fully. Phishing tricks a person into giving details. Training people to spot fake messages is the main defence.

Why keep a copy off-site?

Fire, theft or ransomware can destroy everything in one place. An off-site copy survives.

What is cybersecurity?

Cybersecurity means protecting computers, phones, networks and data from attack, damage or theft. It has three goals, called the CIA triad:

Privacy is about your right to control your personal data. Good security protects privacy. For personal online safety (cyberbullying, safe browsing, reporting), see Cyber safety.

Common cyber threats

Authentication and access control

Authentication checks that you really are who you say. There are three kinds of factors:

Using two different kinds is two-factor authentication (2FA). A strong password is long and mixes letters, numbers and symbols. With 26 small letters, a 4-letter password has 26⁴ = 456,976 choices, but an 8-letter one has 26⁸ ≈ 208 billion. Access control gives each user only the rights they need (a student can read results; only the teacher can change them). Locking accounts after a few wrong tries and CAPTCHAs slow down brute force.

Encryption

Encryption turns readable plain text into scrambled cipher text using a key. Only someone with the right key can decrypt it back.

The Caesar cipher is an old, simple example: shift every letter by the key. With key 3, A → D, B → E, and SAFE → VDIH. It is easy to break because there are only 25 possible keys. Modern encryption (like AES) uses keys so long that trying them all would take longer than the age of the universe.

Firewalls, anti-malware, updates and backups

Try it: build a strong passphrase

Pick four random, unrelated words, for example mango-river-lamp-seven (do not use this one!). Count the characters. Compare it with a short password like raj123. Which is easier to remember and harder to guess? Then use the 3D free play: encrypt a word with the Caesar cipher and ask a friend to decrypt it using the key.

Key formulas and definitions

Worked examples

1. Encrypt CAT with a Caesar key of 3.

C → F, A → D, T → W. Cipher text: FDW.

2. Decrypt KHOOR, which used key 3.

Shift each letter back 3: K → H, H → E, O → L, O → L, R → O. Plain text: HELLO.

3. How many 3-digit PINs (0–9) are there?

10 × 10 × 10 = 10³ = 1,000.

4. A message says: "Your bank account is blocked. Click here and enter your PIN within 1 hour." What attack is this, and what should you do?

Phishing (social engineering). Do not click. Check by opening the bank's official app or calling its official number, then report the message.

5. A school's result server is flooded with fake requests and nobody can open it. Which part of CIA is attacked?

Availability. This is a denial of service attack.

6. Which factor types are used when you log in with a password and a fingerprint?

Something you know (password) and something you are (fingerprint): two-factor authentication.

Common mistakes

Practice quiz

1. In the CIA triad, the "I" stands for:
2. A fake email asking for your password is:
3. Caesar key 3: what does A become?
4. Which is something you HAVE?
5. What does a firewall do?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is cybersecurity in simple words?

It is keeping computers, networks and data safe from people or programs that want to steal, change or break them.

What is the difference between a virus and a worm?

A virus needs a host file and spreads when that file runs. A worm spreads by itself across networks without needing a file to be opened.

Is a longer password really safer?

Yes. Each extra character multiplies the number of guesses needed. A long passphrase of random words is both strong and easy to remember.

Where this is taught

Canada (Ontario)Grade 11D. Computers and Society
Canada (Ontario)Grade 12Information and Communication Technology Ethics and Issues
NetherlandsHAVO 5 (eindexamenjaar)Architecture
NetherlandsHAVO 5 (eindexamenjaar)Interaction
NetherlandsHAVO 5 (eindexamenjaar)Elective theme: Networks
NetherlandsHAVO 5 (eindexamenjaar)Elective theme: Security
NetherlandsVWO 6 (eindexamenjaar)Architecture
NetherlandsVWO 6 (eindexamenjaar)Interaction
NetherlandsVWO 6 (eindexamenjaar)Elective theme: Networks
NetherlandsVWO 6 (eindexamenjaar)Elective theme: Security
PolandSzkoła podstawowa, klasa VIIIDefence readiness
PolandLiceum ogólnokształcące, klasa IState security
PolandLiceum ogólnokształcące, klasa IDefence education
RomaniaClasa a VIII-aWeb pages
Spain4º ESODigital security and wellbeing
Ukraine10 класModern information technologies
Ukraine10 класElective: information security (17 h)
Ukraine11 класElective: information security (17 h)
England (GCSE, A level)Year 113.5 Fundamentals of computer networks
England (GCSE, A level)Year 113.6 Cyber security
USA (Common Core, NGSS, AP)Grade 8Networks and the Internet
USA (Common Core, NGSS, AP)Grade 9Networks and the Internet
USA (Common Core, NGSS, AP)Grade 10Big Idea 5: Impact of Computing
USA (Common Core, NGSS, AP)Grade 11Networks and the Internet
USA (Common Core, NGSS, AP)Grade 11Algorithms and Programming
Japan高校(専門学科)1〜3年Software Technology
Japan高校(専門学科)1〜3年Information Security
South Korea고등학교 2학년Digital culture
South Korea고등학교 3학년Information culture
Germany (Bavaria)Jahrgangsstufe 11Encoding and encryption
Germany (Bavaria)Jahrgangsstufe 12Information security
FranceTerminaleKnowledge as a stake
FranceTerminaleSpecific option — management information systems
China八年级(初二)Module: IoT practice and exploration
China八年级(初二)Module: Internet applications and innovation (review/extension)
China高一Comp.2 Ch.4 Security and ethics
China高二Sel.2 Network basics

Learn first

Learn next

Related lessons

All Computer Science lessons