Skip to content

Cyber security: GCSE Computer Science revision notes

Malware is malicious software. A virus attaches itself to files and spreads when they are shared. A worm spreads by itself across networks. A trojan pretends to be useful software.

In short

Malware is malicious software. A virus attaches itself to files and spreads when they are shared. A worm spreads by itself across networks. A trojan pretends to be useful software.

For GCSE students in Years 10 and 11, on the AQA, OCR, Edexcel, Eduqas, Edexcel IGCSE and Cambridge IGCSE Computer Science courses.

Malware

  • Malware is malicious software. A virus attaches itself to files and spreads when they are shared. A worm spreads by itself across networks. A trojan pretends to be useful software.
  • Spyware secretly records what a user does, such as the passwords they type. Ransomware encrypts a victim's files and demands payment to unlock them.

Social engineering

  • Social engineering tricks people into giving away information or access. People are often the weakest point in a system.
  • Phishing: fake emails or messages that look genuine, asking you to click a link or enter your details. Blagging (pretexting): making up a story to persuade someone to hand over information. Shouldering (shoulder surfing): watching someone type a PIN or password. Pharming: redirecting users to a fake website.

Other threats

  • A brute-force attack tries every possible password until one works. A denial of service (DoS) attack floods a server with requests so it can't respond. SQL injection types SQL code into an input box to read or change a database. Data interception captures data as it travels across a network.
  • Other risks: weak or default passwords, wrongly set access rights, removable media (such as USB sticks carrying malware) and unpatched (out-of-date) software.

Protection

  • Strong passwords, limits on login attempts, CAPTCHA, two-factor authentication and biometrics (such as fingerprints) protect accounts.
  • Anti-malware software, firewalls (which block unauthorised network traffic), automatic updates, encryption (so intercepted data can't be read), user access levels, physical security and backups protect systems and data.
  • Penetration testing: authorised experts attack a system to find its weaknesses before criminals do. Input validation helps to stop SQL injection. Staff training helps people spot social engineering.

Encryption

  • Encryption scrambles data with a key, so only someone with the key can read it.
  • A simple example is the Caesar cipher, which shifts each letter a set number of places along the alphabet: with a shift of 3, CAT becomes FDW. It is easy to crack, so real systems use much stronger methods.

Key terms

Malware
Malicious software, such as viruses, worms, trojans and spyware.
Trojan
Malware that pretends to be useful software.
Spyware
Malware that secretly records what a user does.
Phishing
Fake messages designed to trick people into giving away their details.
Blagging
Making up a story to persuade someone to hand over information or access.
Brute-force attack
Trying every possible password until one works.
Denial of service
Flooding a server with requests so it can't respond to real users.
SQL injection
Typing SQL code into an input box to access or change a database.
Firewall
Hardware or software that blocks unauthorised network traffic.
Penetration testing
Authorised attacks on a system to find its weaknesses.

Quick questions on Cyber security

What is phishing?
Fake messages that trick people into giving away their details: The messages look as if they come from a real company.
What is a trojan?
Malware disguised as useful software: Like the wooden horse in the Greek story.
What does ransomware do?
Encrypts files and demands payment: Backups mean you don't need to pay.
What is shouldering?
Watching someone enter a password or PIN: It is also called shoulder surfing.
What is a brute-force attack?
Trying every possible password until one works: Long passwords and limits on attempts protect against it.
What does a firewall do?
Blocks unauthorised network traffic: It checks traffic against a set of rules.
How can SQL injection be prevented?
By validating input before it is used in a query: Unexpected characters and code are rejected.
What is penetration testing?
Authorised attacks on a system to find its weaknesses: Weaknesses can then be fixed before criminals find them.
What is a denial of service attack?
Flooding a server with requests so it can't respond: Real users can't get through.
How does encryption protect data that is intercepted?
The data can't be understood without the key: Only someone with the key can decrypt it.
Why is it risky to leave software unpatched?
Known security weaknesses aren't fixed: Updates often fix security holes.
Which of these is two-factor authentication?
A password plus a code sent to your phone: It combines two different kinds of proof.
Why is staff training important for cyber security?
People are often tricked by social engineering: Trained staff are more likely to spot phishing.
A Caesar cipher uses a shift of 3. How is CAT encrypted?
FDW: C → F, A → D, T → W.

Cyber security: exam-style questions and mark schemes

  1. An attacker phones an employee, pretends to be from IT support and asks for their password. What is this? [1 mark]

    Answer: Blagging

  2. Describe what is meant by SQL injection. [2 marks]

    • Typing SQL code into an input box on a website or form (1)
    • So the database runs it, which can give access to data or change and delete it (1)
  3. A company wants to protect its network. Describe four methods it could use. [4 marks]

    • A firewall to block unauthorised traffic (1)
    • Anti-malware software that is kept up to date (1)
    • Strong passwords, two-factor authentication or user access levels (1)
    • Encryption, penetration testing, staff training, automatic updates or physical security (1)
  4. Explain why weak passwords are a security risk. [2 marks]

    • They are easy to guess or to crack with a brute-force attack (1)
    • So criminals can gain unauthorised access to accounts and data (1)
  5. A school's network has been attacked using phishing emails. Explain how phishing works, and describe the methods the school could use to protect its network. [6 marks]

    • phishing emails pretend to come from a trusted organisation
    • they trick people into giving away passwords or clicking a link that installs malware
    • train staff and students to spot suspicious emails
    • use email filters to block spam and phishing emails
    • a firewall blocks unauthorised access to the network
    • anti-malware software scans for and removes malware
    • strong passwords and two-factor authentication, so a stolen password alone isn't enough
    • user access levels limit what an attacker can reach; keep software up to date

How to answer them: exam technique and command words.

Cyber security: questions and answers

What is a denial of service attack?
Flooding a server with requests so it can't respond. Real users can't get through.
How does encryption protect data that is intercepted?
The data can't be understood without the key. Only someone with the key can decrypt it.
Why is it risky to leave software unpatched?
Known security weaknesses aren't fixed. Updates often fix security holes.

Practise Cyber security: 14 questions

Download these notes as a PDF

Previous topic: Networks, topologies and protocolsNext topic: Relational databases and SQL

LycoLearn is still loading…

This can take a little longer on a busy school or home network. If nothing happens, try refreshing the page.

LycoLearn didn’t load properly

Part of it didn’t arrive. Try refreshing the page in a minute, or open LycoLearn in another browser.