Skip to topic
    ← Back to course topics

    Cyber security threats — AQA GCSE Computer Science

    Cyber security threats are malicious acts or vulnerabilities that compromise the confidentiality, integrity, or availability of computer systems and data. In AQA GCSE Computer Science, threats encompass social engineering, malware, brute force attacks, denial of service, data interception, and SQL injection.

    Cyber security threats explained

    Penetration testing is authorised, simulated attacking of a system to find security weaknesses before a real attacker does.

    Read the full explanation

    A tester, often working with the system owner's permission, probes networks, software or accounts using the same kinds of techniques an attacker might use, then reports what was found. It is used to identify vulnerabilities such as weak configurations, unpatched software or poor access controls, to confirm whether existing defences actually work, and to prioritise fixes. Because it is authorised, it differs from an actual attack: the aim is to improve security, not to cause harm or steal data. A typical test might involve attempting to gain access to a system and recording how far the tester got and why. Results feed into remediation, so the organisation can patch, reconfigure or strengthen controls.

    Your focus

    1. Define penetration testing as authorised simulated attacking of a system.
    2. Explain the purposes of penetration testing, including finding and fixing vulnerabilities.
    3. Distinguish penetration testing from a real attack and from protective software.

    Which command word is this?

    Set out the causes, mechanisms, or reasons behind a concept. For threats, describe how the attack works and what consequence it produces, using linking phrases like 'because' or 'which results in'.

    Cyber security threats exam tips

    Topic Overview

    Cyber security threats represent the diverse array of digital and psychological methods used by malicious actors to compromise systems, networks, and confidential data. In AQA GCSE Computer Science (8525), students explore technical vulnerabilities such as SQL injection and malware alongside human vulnerabilities exploited through social engineering techniques.

    Understanding these threats enables computer scientists to build resilient systems using effective prevention and mitigation strategies like firewalls, parameterised queries, and access control. This topic forms a foundational pillar of software engineering and network administration, bridging theoretical computer science with real-world security practices.

    Key Concepts
    • →Social engineering exploits human error rather than software bugs, using techniques like phishing, shoulder surfing, and pretexting.
    • →Malware includes various malicious software types such as viruses (which self-replicate by attaching to host files), worms (standalone self-replicating programs), trojans (disguised as benign software), spyware, and ransomware.
    • →Network-based attacks include Denial of Service (DoS/DDoS), data interception via packet sniffing or man-in-the-middle attacks, and brute force password cracking.
    • →System-level vulnerabilities arise from unpatched software, weak passwords, misconfigured access rights, and unvalidated user input leading to SQL injection.
    Marking Points
    • Defines penetration testing as authorised, simulated attempts to find security weaknesses.
    • States that it is carried out with the owner's permission, distinguishing it from a real attack.
    • Explains that it identifies vulnerabilities such as weak configurations, unpatched software or poor access controls.
    • Explains that results are used to fix or prioritise improvements to security.
    • Applies the idea to a scenario, for example testing whether an attacker could access a network and reporting the findings.
    Examiner Tips
    • 💡Include the word authorised to show you understand it is permitted testing.
    • 💡Give at least one concrete use, such as finding vulnerabilities so they can be fixed.
    • 💡Link the test to a follow-up action, for example patching or reconfiguring the system.
    • 💡Avoid generic terms like 'the computer breaks' or 'hackers steal files'; always specify the exact mechanism, such as 'encrypting data and demanding a ransom' or 'capturing unencrypted packets across a network'.
    • 💡When explaining social engineering scenarios, distinguish clearly between the vector (the communication method) and the payload or objective (what the attacker wants to acquire).
    • 💡Remember that mitigation questions require direct matching: parameterised queries prevent SQL injection, strong password policies and lockouts mitigate brute force, and off-site backups mitigate ransomware.
    Common Mistakes
    • Describing penetration testing as a real criminal attack; correction: it is authorised and intended to improve security.
    • Treating it as the same as installing antivirus; correction: it is a testing activity that finds weaknesses, not protective software.
    • Omitting the purpose and only describing the activity; correction: explain both what it is and what it is used for, such as finding and fixing vulnerabilities.
    • Believing viruses and worms are identical: A virus requires an executable host file and human intervention to propagate, whereas a worm is a standalone program that self-replicates across networks automatically.
    • Assuming all cyber attacks exploit software flaws: A significant proportion of successful security breaches exploit human psychology through social engineering rather than technical system bugs.
    • Thinking anti-malware and firewalls stop SQL injection: SQL injection exploits unvalidated application inputs passing into database queries; network firewalls and standard anti-virus software do not parse or sanitise SQL logic.
    Revision Plan
    1. 1Step 1: Create a flashcard taxonomy of all malware forms (virus, worm, trojan, spyware, adware, ransomware) highlighting their defining operational traits.
    2. 2Step 2: Learn social engineering vectors (phishing, blagging/pretexting, shouldering/shoulder surfing) and match each to its typical prevention method.
    3. 3Step 3: Trace technical attacks including SQL injection syntax, brute force password cracking, and DoS packet flooding.
    4. 4Step 4: Work through paired past paper questions that ask you to evaluate a scenario, identify the threat, and propose appropriate defensive mitigations.
    Exam Question Types
    • 📋Scenario-based threat identification: You are given a workplace scenario and must identify the threat taking place (e.g. employee looking over another's shoulder or a suspicious email).
    • 📋Mechanistic explanation: Short-answer questions (2-4 marks) asking you to explain step-by-step how an attack functions (e.g. how a distributed denial of service attack overwhelms a server).
    • 📋Defensive design and mitigation: Questions requiring you to justify why a specific measure (e.g. input sanitisation or multi-factor authentication) counteracts a named threat.
    Command Word Expectations (AQA)
    Explain

    Set out the causes, mechanisms, or reasons behind a concept. For threats, describe how the attack works and what consequence it produces, using linking phrases like 'because' or 'which results in'.

    Describe

    Give an account of the characteristics or features of a threat or defensive tool without necessarily linking deep cause and effect.

    Discuss

    Explore multiple perspectives or evaluate strengths, weaknesses, and broader impacts of security threats and counter-measures, usually in a structured long-response format.

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Confusing phishing with pharming, or failing to identify the specific mechanism used in social engineering attacks.
    ❌ Weak Answer (Loses Marks):Phishing is when an email tricks you into going to a fake website and steals your password.
    Example improved answer:Phishing is a social engineering technique where an attacker sends fraudulent communications, such as fake emails disguised as legitimate organisations, containing links to bogus websites designed to manipulate the recipient into divulging sensitive data like usernames and credit card details.
    Examiner Tip: Always specify the delivery vector (e.g. fraudulent email) and the precise objective (e.g. obtaining personal credentials or financial details) rather than just stating 'stealing information'.
    Pitfall: Vaguely defining a Denial of Service (DoS) attack as 'hacking a website' or 'breaking a computer'.
    ❌ Weak Answer (Loses Marks):A DoS attack is when hackers shut down a server so nobody can use it.
    Example improved answer:A Denial of Service (DoS) attack occurs when an attacker floods a target network or web server with an overwhelming volume of superfluous traffic or requests, exhausting server resources and preventing legitimate users from accessing the network services.
    Examiner Tip: Use precise technical terms such as 'flooding with traffic/requests', 'exhausting bandwidth or system resources', and 'denying service to legitimate users'.
    Step-by-Step Worked Solutions

    Question: An e-commerce website uses a database to store customer records. An attacker inputs "' OR '1'='1" into the username login field. Explain the type of attack being attempted, how it functions, and one method to prevent it. (4 marks)

    1. 1.Step 1: Identify the attack type. The input is structured SQL syntax, which indicates an SQL injection attack.
    2. 2.Step 2: Explain how the attack functions. The malicious SQL statement modifies the underlying query run by the database backend.
    3. 3.Step 3: Detail the effect of the specific code provided. The condition "'1'='1" always evaluates to true, bypassing authentication checks to grant unauthorised access or reveal data without a valid password.
    4. 4.Step 4: State a valid prevention method. Provide a recognised mitigation technique such as input validation, sanitisation, or using prepared statements/parameterised queries.
    Final Answer: The attack is an SQL injection attack. The attacker enters SQL commands into an input form field to manipulate the database query; because '1'='1' is always true, the authentication logic is bypassed. This can be prevented by using prepared statements (parameterised queries) or strict input validation.

    Question: A school network experiences a cyber incident where files on the main file server are encrypted, and a message demands payment in cryptocurrency to restore access. Identify the malware responsible and describe two measures the school should implement to minimise the disruption caused by future occurrences of this attack. (4 marks)

    1. 1.Step 1: Identify the malware. Malicious software that encrypts user data and demands payment for decryption is ransomware.
    2. 2.Step 2: Identify mitigation measure 1. Focus on recovery and data availability, specifically regular, automated backups stored offline or off-site so encrypted data can be restored without paying.
    3. 3.Step 3: Identify mitigation measure 2. Focus on prevention or limiting propagation, such as staff training to identify phishing emails that deliver ransomware, maintaining up-to-date anti-malware software, or applying operating system patches.
    Final Answer: The malware is ransomware. Two measures to minimise future disruption are: (1) Maintaining regular, automated backups that are stored offline/isolated from the network so clean files can be restored, and (2) Providing regular staff cyber awareness training to recognise phishing emails and suspicious attachments that deliver ransomware payloads.
    Active Recall Memory Test
    What is the primary difference between a computer virus and a computer worm?
    Key Fact: A virus requires an existing host file and human action to run and replicate, whereas a worm is a standalone program that self-replicates across networks without host files or human intervention.
    What technical security flaw does an SQL injection attack exploit?
    Key Fact: A lack of input validation or sanitisation in user-facing form fields, which allows raw SQL commands to be interpreted directly by the database engine.
    How does a brute force attack attempt to gain access to a password-protected system?
    Key Fact: By systematically testing every possible combination of characters or words from a dictionary list until the correct password matches.
    What distinguishes a DoS attack from a DDoS attack?
    Key Fact: A DoS attack originates from a single computer/internet connection, whereas a DDoS attack uses multiple compromised machines (a botnet) spread across the internet to flood the target.
    Frequently Asked Questions
    What is the difference between phishing and pharming?
    Phishing relies on deceptive messages (like emails or texts) containing direct links to fake websites designed to fool the victim into entering personal details. Pharming, by contrast, is a technical redirection attack where malware or DNS cache poisoning silently redirects a user to a fraudulent web server even if they type the correct URL into their web browser. Phishing relies on user gullibility, whereas pharming manipulates name resolution services behind the scenes.
    Why does a firewall not protect against an SQL injection attack?
    A standard network firewall inspects packet headers to block or allow traffic based on IP addresses and port numbers (such as permitting web traffic across port 80 or 443). SQL injection payloads travel inside normal, permitted HTTP requests addressed directly to a legitimate web page form. Because the traffic itself appears to be valid web communication, the firewall allows it through, leaving protection to application-level defences like parameterised queries.
    How do account lockout policies prevent brute force attacks?
    A brute force attack relies on automated scripts submitting thousands of password guesses per minute. An account lockout policy restricts the user or IP address to a small number of consecutive failed attempts (such as three or five) before locking the account for a designated cooling-off period. This eliminates the speed advantage necessary for brute force software to succeed within a practical timeframe.
    Is social engineering considered a software threat?
    No, social engineering is classified as a human vulnerability rather than a software defect. It exploits psychological triggers like trust, curiosity, fear, and authority to deceive individuals into handing over credentials or granting access. While digital tools like email or chat may be used to convey the attack, the vulnerability being exploited exists entirely in human behaviour.