- Practice
- About 13 min
- 5 practice questions
Online security questions: spot the threat, name the defence
Match phishing, malware, hacking and weak passwords to the right defence, and see why a longer password is stronger.
If something looks wrong, please tell us.
Security questions in exams come in two forms: given a harmful event, name it; given a danger, name the protection. If you hold a short table of threats and defences in your head, both forms are easy. This lesson also shows with arithmetic why long passwords are safer.
Threats
| Threat | What it is |
|---|---|
| Phishing | A fake message or website that tricks you into giving passwords or card details |
| Spam | Unwanted bulk messages, often adverts |
| Virus | A harmful program that attaches to files and spreads when they are opened |
| Worm | A harmful program that spreads by itself across networks |
| Trojan | A harmful program that pretends to be something useful |
| Spyware | Software that secretly watches what you do |
| Ransomware | Software that locks your files and demands payment |
| Hacking | Gaining access to a system without permission |
| Identity theft | Using someone's personal details to pretend to be them |
Defences
- Antivirus: finds and removes harmful programs; keep it updated.
- Firewall: blocks unwanted incoming and outgoing traffic.
- Updates: fix known weaknesses in the system and in apps.
- Strong password: long, mixed, unique for each account.
- Two-step verification: needs a second proof, such as a code, after the password.
- HTTPS and the padlock: show that the connection to the site is encrypted, though they do not prove the site is honest.
- Backups: let you recover files after loss or ransomware.
- Caution: do not click unknown links or open unexpected attachments.
Why long passwords win
A password made only of lowercase letters has 26 choices for each place. With 6 letters there are 26 to the power 6 = 308,915,776 possible passwords. With 8 letters there are 26 to the power 8 = 208,827,064,576. That is 676 times as many. A 4-digit PIN has only 10 to the power 4 = 10,000 possibilities. Mixing capitals, digits and symbols multiplies the choices again. These figures are for understanding and are not claims about how fast any attacker works.
Worked examples
Example 1. An e-mail says your account will be closed unless you click a link and enter your password. What is it, and what should you do? It is phishing. Do not click. Go to the real site by typing its address yourself, or contact the company through its official number.
Example 2. A free game installs but then secretly sends your keystrokes to someone. Which type of malware? It looks useful but does harm, so it is a trojan; the secret watching is spyware behaviour.
Example 3. All the files on an office computer are locked and a message demands money. What type of attack, and what is the best preparation? Ransomware. The best preparation is regular backups kept on a separate device, so the files can be restored without paying.
Example 4. Which gives better protection: a password of 6 lowercase letters or 8 lowercase letters? The 8-letter password, because it allows 676 times as many combinations. Even better is a longer mix of letters, digits and symbols.
Threat first, then defence: phishing needs caution, malware needs antivirus, ransomware needs backups, weak passwords need length.
Key takeaways. Know the names of the threats and the matching defences. HTTPS means the connection is encrypted, not that the site is safe. Two-step verification adds a second lock. Longer passwords multiply the number of possibilities.
Check your understanding
-
1. A fake e-mail asks you to enter bank details on a copied website. This is:
- Phishing
- Firewalling
- Compression
- Streaming
Show answer
Answer: A. Tricking users into revealing details with fake messages or sites is phishing.
-
2. Which program protects against harmful files by finding and removing them?
- Browser
- Antivirus
- Modem
- Search engine
Show answer
Answer: B. Antivirus software detects and removes malware.
-
3. The best protection against losing files to ransomware is:
- A shorter password
- A bigger monitor
- Regular backups
- A faster modem
Show answer
Answer: C. Backups on a separate device allow files to be restored.
-
4. How many lowercase-letter passwords are possible with 6 characters?
- 26 × 6
- 6 to the power 26
- 26 + 6
- 26 to the power 6
Show answer
Answer: D. There are 26 choices for each of 6 places, so 26 to the power 6 = 308,915,776.
-
5. The padlock and https in the address bar show that:
- The connection is encrypted
- The site is always honest
- The site is government-owned
- The page is free from adverts
Show answer
Answer: A. HTTPS means the connection is encrypted. It does not guarantee that the site's owner is trustworthy.
Sign in to keep track of the lessons you finish.