GCSE Revision

Threats to computer systems and networks

Why computer systems are attacked

Criminals attack computer systems to steal data, such as personal details and bank card numbers, to make money, for example by demanding a ransom, or to disrupt an organisation.

Getting into a computer system without permission is a crime under the Computer Misuse Act 1990. These notes explain how attacks work in principle, so that you can understand how to prevent them.

People are often the weakest point in a system: a strong system can still be broken into if someone is tricked into giving away their password.

Malware

Malware (malicious software) is any software written to harm a computer or its user, installed without the user knowing. It often arrives in an email attachment, a download or an infected memory stick.

TypeWhat it does
VirusAttaches itself to files and spreads when they're opened or shared
WormCopies itself across a network, with no help from users
TrojanPretends to be useful software, but does harm once installed
RansomwareEncrypts the user's files and demands payment to unlock them
SpywareSecretly records what the user does, such as the keys they press, and sends it to the attacker

Its purpose may be to delete or steal data, spy on users, or extort money.

Key terms

Social engineering

Social engineering means tricking people into giving away information, such as passwords, or into letting an attacker in. It targets people, not computers.

  • Phishing: a fake email, text or website pretends to come from a trusted organisation, such as a bank. It asks the user to click a link and enter their password or card details, which go to the criminal.
  • Pretending on the phone: a criminal calls, pretending to be from the IT department, and asks for the user's password 'to fix a problem'.
  • Shoulder surfing: watching someone type their PIN or password.

The purpose is to get access to accounts and systems, or to steal money.

Key terms

Brute-force and denial of service attacks

Brute-force attack: software tries every possible password, one after another, until one works. Short, simple passwords are found quickly, as there are far fewer to try. The purpose is to get into an account.

Denial of service (DoS) attack: a website or server is flooded with so many requests that it can't respond to genuine users, so it slows down or stops. In a distributed denial of service (DDoS) attack, the requests come from thousands of computers, often infected with malware. The purpose is to disrupt an organisation, perhaps for revenge, or to demand money to stop.

Key terms

Data interception and theft

Data interception is capturing data as it travels across a network. On an unsecured network, such as some public Wi-Fi, software can capture the packets passing by and read anything that isn't encrypted, such as passwords or messages.

Data theft also includes stealing devices, such as laptops and memory sticks, and copying data from a system by someone inside an organisation.

The purpose is to steal personal details, passwords or company secrets, to use or to sell.

Key terms

SQL injection

SQL injection is an attack on a database behind a website. It works when a program joins the user's input straight into an SQL query. The attacker types SQL code instead of normal input, which changes what the query does.

Here's a harmless illustration on a small example table, students:

nameyear
Ada10
Ben11
Cal10
Dee9

A program asks for a year and builds its query by joining the input on to the end:

SELECT name FROM students WHERE year = (input)

  • Input 10 makes the query ... WHERE year = 10, which shows Ada and Cal, as intended.
  • Input 10 OR 1 = 1 makes the query ... WHERE year = 10 OR 1 = 1. Since 1 = 1 is always true, every row matches, and all four names are shown.

On a real website, the same idea could reveal or change data the user should never see.

Key terms

Threats and how to prevent them

ThreatHow it worksHow to prevent it
MalwareHarmful software installed without the user knowingAnti-malware software; keep software updated; don't open unknown attachments
Phishing and social engineeringTricks people into giving away detailsStaff training; check senders and links; never share passwords
Brute-force attackTries every passwordStrong passwords; lock the account after a few failed attempts; two-step verification
Denial of serviceFloods a server with requestsA firewall to block suspicious traffic; extra server capacity
Data interception and theftCaptures data on a network, or steals devicesEncryption; physical security
SQL injectionChanges a query with typed-in SQLInput validation, such as checking the year is a number; parameterised queries, which pass input to the database as a value, never as SQL

Exam tip

When asked how a method prevents a threat, say how: 'locking the account after three wrong passwords stops a brute-force attack trying every password'.

Take the quiz