💻 Paper 1 · Topic 5: The Internet & Its Uses
5.3b Cyber Prevention
Cambridge IGCSE Computer Science 0478 · ~13 min read · ⭐ Pro

Methods of Preventing Cyber Attacks

1. Antivirus / Anti-malware Software

Antivirus software detects, quarantines, and removes malware. It works by:

  • Signature detection — comparing files against a database of known malware signatures (patterns)
  • Heuristic analysis — detecting suspicious behaviour even if the malware is unknown (no signature match)

Antivirus software must be kept up to date so its signature database includes the latest threats.

2. Firewall

A firewall monitors incoming and outgoing network traffic and blocks unauthorised access based on predefined rules.

  • Hardware firewall — a dedicated device placed between a network and the internet (protects the whole network)
  • Software firewall — installed on individual computers (protects one device)

Firewalls use rules (e.g., block traffic on specific ports, from specific IP addresses) to allow or deny packets.

3. Encryption

Encryption converts data into an unreadable form (ciphertext) using a key. Even if data is intercepted, it cannot be read without the decryption key.

  • HTTPS uses TLS/SSL to encrypt data in transit between browser and server
  • End-to-end encryption — only the sender and intended recipient can decrypt messages
  • Protects against man-in-the-middle attacks and eavesdropping

4. Strong Passwords

Strong passwords reduce the effectiveness of brute force attacks. Characteristics of a strong password:

  • At least 8 characters (longer is better)
  • Mix of upper and lowercase letters, numbers, and special characters
  • Not based on personal information (name, date of birth)
  • Unique for each account

5. Two-Factor Authentication (2FA)

Two-factor authentication requires users to provide two separate forms of verification before access is granted:

  • Something you know — password or PIN
  • Something you have — a code sent to your phone / hardware token
  • Something you are — biometric (fingerprint, face recognition)

Even if a password is compromised, 2FA prevents unauthorised access without the second factor.

6. Access Levels / User Privileges

Access control limits what each user can do on a system. The principle of least privilege means giving users only the permissions they need for their job — reducing the damage any single account can cause if compromised.

7. Regular Software Updates and Patching

Software vulnerabilities are regularly discovered. Security patches fix these vulnerabilities. Keeping operating systems, antivirus, and applications updated closes known security holes before attackers can exploit them.

8. Penetration Testing

Penetration testing (pen testing) is where a security professional attempts to break into a system (with permission) to identify weaknesses before malicious attackers can exploit them.

9. SSL/TLS Certificates

SSL/TLS (Secure Sockets Layer / Transport Layer Security) provides an encrypted connection between a web server and a browser. Websites using HTTPS have an SSL/TLS certificate. This prevents eavesdropping and data tampering in transit.

Summary: Threat vs Prevention

ThreatPrevention method
Malware (virus, worm, etc.)Antivirus software, software updates/patching
PhishingUser education, email filtering, 2FA
Brute forceStrong passwords, 2FA, account lockouts
DoS/DDoSFirewall, traffic monitoring, rate limiting
Man-in-the-middleEncryption (HTTPS/TLS), VPNs
SQL injectionInput validation, parameterised queries
Unauthorised accessStrong passwords, 2FA, access levels
Exam tip: Questions often ask you to "describe" or "explain" a prevention method — give the mechanism, not just the name. E.g., don't just say "firewall"; explain that it monitors and filters network traffic based on rules. Be able to match threats to appropriate countermeasures.
⚠️ Common Mistakes
  • Saying antivirus "prevents all malware" — it detects and removes known threats but may not catch brand-new (zero-day) malware
  • Confusing 2FA factors — a PIN and a password are both "something you know" — not two factors
  • Saying firewalls stop all attacks — firewalls control network traffic but don't protect against threats inside the network or social engineering
Video coming soon
Click slide or press arrow keys to navigate
✍️

Worksheet — Cyber Prevention

5 questions · 14 marks

Q1Explain how antivirus software detects malware. You should refer to both signature detection and heuristic analysis. [4]
✅ Mark scheme
Signature detection: compares files against a database of known malware patterns/signatures [1]; any file matching a signature is flagged as malware [1]; Heuristic analysis: analyses the behaviour of programs for suspicious activity [1]; can detect new/unknown malware that doesn't have a signature yet [1]
Q2Describe how a firewall protects a network. [2]
✅ Mark scheme
A firewall monitors and filters incoming and outgoing network traffic [1]; it blocks or allows packets based on predefined rules (e.g., by IP address, port number) to prevent unauthorised access [1]
Q3Explain what two-factor authentication (2FA) is and give an example of how it works. [3]
✅ Mark scheme
2FA requires two separate forms of verification before access is granted [1]; the factors come from different categories: something you know (e.g. password), something you have (e.g. phone/token), or something you are (e.g. fingerprint) [1]; e.g. user enters password, then enters a code sent to their mobile phone [1]
Q4State two characteristics of a strong password. [2]
✅ Mark scheme
Any two: Long (at least 8+ characters) [1]; mix of uppercase/lowercase letters, numbers, special characters [1]; not based on personal information [1]; unique to the account [1]
Q5Identify the most appropriate prevention measure for each threat: (a) SQL injection, (b) malware, (c) brute force attack. [3]
✅ Mark scheme
(a) SQL injection → input validation / parameterised queries [1]; (b) Malware → antivirus software / keeping software updated [1]; (c) Brute force → strong password / 2FA / account lockout after failed attempts [1]
Quiz — Cyber Prevention
Q 1 of 8
Score
/ 8
Click to reveal
TermDefinition
🎯

Mini Test — Cyber Prevention

10 minutes · mixed marks

← 5.3a Cyber Threats Topic 5: Internet & Its Uses Next: 6.1 Ethical & Environmental →
🔒
Pro Content
Upgrade to access all lessons.
£7.99/month
or £59/year
Subscribe now →