Threats to Computer Systems and Networks (Malware, Phishing, Hacking) Revision Notes
Subject: Computer Science | Level: GCSE | Exam Board: OCR
This guide provides a comprehensive overview of threats to computer systems and networks, a crucial topic for the OCR GCSE Computer Science exam. It covers malware, social engineering, and other cyber attacks, with a focus on exam technique and mark-scoring strategies."
Revision Notes & Key Concepts

## Overview
Welcome to your in-depth guide to Section 1.4 of the OCR J277 specification: Threats to Computer Systems and Networks. This topic is a cornerstone of modern computer science and a favorite among examiners because it tests your ability to apply knowledge to real-world scenarios. In this guide, we will dissect the various forms of malware, unravel the deceptive tactics of social engineering, and explore other significant threats like SQL injection and DDoS attacks. You will not only learn the definitions but also understand the mechanics of these threats and, crucially, the prevention methods that earn marks in the exam. Expect to see questions ranging from simple 1-mark definitions to complex 8-mark evaluation tasks, so a solid grasp of this content is essential for achieving a top grade.
{{asset:threats_to_computer_systems_podcast.mp3}}
## Key Concepts
### Concept 1: Malware
Malware, short for malicious software, is any software intentionally designed to cause disruption to a computer, server, client, or computer network. For your OCR exam, you need to know four key types. It is vital that you can distinguish between them, as examiners often create scenarios where you must identify the specific type of malware involved.

* **Virus**: A virus is a piece of malicious code that replicates by attaching itself to another program or file. It requires human intervention to spread, such as a user opening an infected email attachment or running a compromised program. Once active, it can corrupt or delete data, and spread to other files on the system. Think of it like a biological virus; it needs a host to survive and spread.
* **Worm**: Unlike a virus, a worm is a standalone piece of malware that can replicate and spread independently across networks without any user action. It exploits vulnerabilities in network protocols to travel from one computer to another. Worms often consume significant bandwidth and can slow down or crash entire networks. A classic exam scenario might describe a network becoming progressively slower without anyone opening any strange files – this points to a worm.
* **Trojan Horse**: A Trojan is malware disguised as legitimate software. Users are tricked into downloading and installing it, believing it to be a useful application, such as a game or utility. Once installed, it does not self-replicate but instead performs malicious actions, such as creating a backdoor for a hacker to gain access, stealing personal data, or installing other forms of malware. The name comes from the ancient Greek story of the wooden horse that was used to invade the city of Troy.
* **Ransomware**: This is a particularly nasty type of malware that encrypts a user's files, making them inaccessible. The attacker then demands a ransom payment, usually in cryptocurrency, in exchange for the decryption key. For full marks, you must mention both the encryption of data and the demand for payment. This is a very common topic in recent exam papers.
### Concept 2: Social Engineering
Social engineering is the art of manipulating people into divulging confidential information or performing actions that compromise security. It exploits human psychology rather than technical vulnerabilities. People are often the weakest point in a security system.

* **Phishing**: This is the most common form of social engineering. Attackers send fraudulent emails or messages that appear to be from a reputable source (e.g., a bank, a social media platform). These messages aim to trick the recipient into clicking a malicious link or revealing sensitive information like passwords or credit card numbers. Telltale signs include a sense of urgency, generic greetings, and poor grammar.
* **Blagging (Pretexting)**: Blagging involves creating and using an invented scenario to engage a targeted victim in a way that increases the chance the victim will divulge information or perform actions that would be unlikely in ordinary circumstances. For example, an attacker might call an employee and pretend to be from the IT helpdesk to trick them into revealing their password.
* **Shouldering (or Shoulder Surfing)**: This is a direct observation technique, where an attacker looks over a person's shoulder to obtain information such as PINs, passwords, or other confidential data being entered into a device. It is most common in crowded public places.
* **Pharming**: This is a more technical attack that redirects a user from a legitimate website to a fraudulent one, even if the correct URL is typed in. This can be achieved by compromising a DNS server or modifying the 'hosts' file on a victim's computer. The fake website is designed to look identical to the real one to steal login credentials.
### Concept 3: Other Threats
* **SQL Injection**: This is a code injection technique used to attack data-driven applications. Malicious SQL statements are inserted into an entry field for execution (e.g., to dump the database contents to the attacker). A successful SQL injection exploit can read sensitive data from the database, modify database data, and execute administration operations on the database. The primary prevention method is **input sanitisation** or **input validation**, which involves checking and cleaning all data inputs before they are processed by the system.
* **Distributed Denial of Service (DDoS) Attack**: In a DDoS attack, the attacker uses multiple compromised computer systems (a 'botnet') to flood a target server or network with an overwhelming amount of traffic. This makes the server or network resource unavailable to legitimate users. To get the marks, you must explain that the attack comes from multiple, distributed sources, overwhelming the target.
## Practical Applications
These threats are not just theoretical concepts; they have major real-world consequences. The 2017 WannaCry ransomware attack affected over 200,000 computers across 150 countries, causing massive disruption to organisations like the UK's National Health Service (NHS). Understanding how phishing emails led to data breaches at major corporations helps to contextualise the importance of user education. These examples can be used in your exam answers to demonstrate a deeper understanding (AO3).
## Network Security Measures
To combat these threats, a layered approach to security is essential. This is often called 'defence in depth'.

* **Firewalls**: A firewall acts as a barrier between a trusted internal network and untrusted external networks. It monitors and controls incoming and outgoing network traffic based on predetermined security rules. It can be hardware or software-based.
* **Anti-Virus Software**: This software is designed to detect, prevent, and remove malware from a computer system. It works by scanning files and comparing them against a database of known malware signatures, and by using heuristics to identify suspicious behaviour.
* **Encryption**: Encryption is the process of converting data into a code to prevent unauthorised access. Even if data is intercepted, it cannot be read without the correct decryption key. This is vital for protecting sensitive data both in transit (e.g., online banking) and at rest (e.g., on a hard drive).
* **Authentication**: Authentication is the process of verifying the identity of a user. This can be done using something the user knows (a password), something the user has (a security token), or something the user is (biometrics, like a fingerprint). Strong, multi-factor authentication provides a powerful defence against unauthorised access.
* **Physical Security**: This involves protecting hardware and networking infrastructure from physical threats. This includes measures like locked doors, CCTV, and ensuring servers are in secure locations to prevent theft or unauthorised physical access.
Worked Examples
-
Worked Example
Question: A school discovers that its network is running very slowly. Students are reporting that they have not downloaded or opened any unusual files. The school’s IT technician believes it is a type of malware. Identify the most likely type of malware and explain your choice. (3 marks)
Solution: Step 1: Identify the malware. The most likely type of malware is a worm. (1 mark)
Step 2: Explain the reasoning. A worm is a self-replicating piece of malware that spreads across a network without any user action. (1 mark)
Step 3: Link to the scenario. The scenario states that the network is slow and users have not opened any files, which is characteristic of a worm consuming network bandwidth as it spreads automatically. (1 mark)
-
Worked Example
Question: Explain how a firewall helps to protect a computer system from threats. (4 marks)
Solution: Step 1: Define a firewall. A firewall is a network security device that monitors incoming and outgoing network traffic. (1 mark)
Step 2: Describe its function. It acts as a barrier between a trusted network (e.g., the school network) and an untrusted network (e.g., the internet). (1 mark)
Step 3: Explain its mechanism. It decides whether to allow or block specific traffic based on a defined set of security rules. (1 mark)
Step 4: Give an example. For example, it can be configured to block traffic from known malicious IP addresses or prevent unauthorised attempts to access the network, thus preventing hackers from gaining entry. (1 mark)
-
Worked Example
Question: A business has been the victim of a ransomware attack. Describe the attack and evaluate the effectiveness of two different prevention methods. (6 marks)
Solution: Description of attack: Ransomware is a type of malware that encrypts the business’s files, making them inaccessible. (1 mark) The attacker then demands a payment, often in cryptocurrency, for the decryption key to restore the files. (1 mark)
Prevention Method 1: Regular Backups. The business should perform regular, automated backups of important data to an off-site or isolated location. (1 mark) Evaluation: This is a highly effective method because even if the live files are encrypted, the business can restore the data from the backup without paying the ransom, minimising disruption. However, some recent data might be lost depending on the backup frequency. (1 mark)
Prevention Method 2: Staff Training. The business should train staff to identify and avoid phishing emails, which are a common delivery method for ransomware. (1 mark) Evaluation: This is also effective as it addresses the human element, which is often the weakest point. However, it is not foolproof as a single mistake by one employee can still lead to an infection. It is best used as part of a layered security approach. (1 mark)
Practice Questions
-
Question: State three potential indicators of a phishing email.
Answer:
-
Question: Describe the difference between a virus and a worm.
Answer:
-
Question: A hacker wants to gain access to a company’s database via its website. Identify and describe a method they could use.
Answer:
-
Question: Explain two ways a school can protect its network from malware.
Answer:
-
Question: Evaluate the use of biometric authentication as a method of protecting a smartphone.
Answer: