Skip to topic
    ← Back to course topics

    Methods to detect and prevent cyber security threats — AQA GCSE Computer Science

    Methods to detect and prevent cyber security threats encompass technical and administrative defences such as penetration testing, firewalls, anti-malware, encryption, user access levels, and biometric security. These protective measures ensure the confidentiality, integrity, and availability of network systems and data against malicious attacks.

    Methods to detect and prevent cyber security threats explained

    This heading introduces the security measures you must understand and be able to explain.

    Read the full explanation

    Read it as a signpost: the specific measures are listed in the rows that follow, and your job is to learn what each one does, how it detects or prevents a threat, and its limitations. As you study, build a two-column table for each measure: what it protects against and how it works. For example, note whether a measure detects an attack, prevents it, or both. Link each measure back to the threats in 3.6.2, such as malware, phishing or brute force, so you can explain the connection rather than just name the measure. Practise writing short explanations in your own words and check you can state one strength and one limitation for each.

    Your focus

    1. Identify each security measure listed in the section and state its purpose.
    2. Explain how each measure detects or prevents a named cyber security threat.
    3. Evaluate a measure by stating a strength and a limitation.

    Which command word is this?

    Set out the causes, reasons, or mechanics of a security method with clear connective phrasing ('because', 'which leads to', 'in order to').

    Methods to detect and prevent cyber security threats exam tips

    Topic Overview

    Cyber security threat detection and prevention covers the defensive mechanisms, methodologies, and policies employed to protect networks, hardware, and data against unauthorised access, disruption, or destruction. The topic explores both technical solutions, such as packet-filtering firewalls and cryptographic protocols, alongside management approaches including user access levels and physical security.

    Understanding these defensive strategies is vital for computer scientists and IT practitioners because cyber threats continuously evolve through social engineering, malware, and sophisticated exploits. Within the AQA GCSE specification, mastering this topic links theoretical networking models to real-world software architecture, data legislation, and ethical computing.

    Key Concepts
    • →Penetration Testing: Authorised ethical hacking categorised into black-box (simulating external hackers with no prior knowledge) and white-box (simulating insiders with full network documentation).
    • →Firewalls and Packet Filtering: Hardware or software buffers inspecting packet IP addresses, ports, and protocols to permit or deny entry across a network boundary.
    • →User Access Levels and Biometrics: Implementing the principle of least privilege using authentication mechanisms (passwords, 2FA, biometric scans) and authorization matrices (read/write access).
    • →Encryption: Mathematical encoding of plaintext into ciphertext using an encryption algorithm and key, ensuring confidentiality even if packets are intercepted.
    • →Anti-Malware and System Patching: Signature and heuristic scanning tools that quarantine malware, complemented by regular OS/software updates to remediate zero-day vulnerabilities.
    Examiner Tips
    • 💡Make a summary card for each measure covering what it does, the threat it targets and one limitation.
    • 💡When explaining, use the pattern: measure → how it works → threat prevented or detected.
    • 💡Test yourself by covering the explanation and stating it aloud in your own words before checking.
    • 💡When explaining encryption, always specify that data is converted from 'plaintext' to 'ciphertext' using a key, rather than just saying data is 'scrambled'.
    • 💡In 4-to-6 mark questions, avoid listing multiple tools; explain how each tool actively functions and describe the consequence if that tool is omitted.
    • 💡Link technical terms directly to the scenario given in the question; an answer discussing hospital data should reference patient confidentiality, medical records, and staff access levels.
    Common Mistakes
    • Treating the heading as the full content to memorise: correction — the actual measures appear in the following rows, so study each named measure and its purpose.
    • Only naming a measure without explaining how it works: correction — the criterion requires explanation, so describe the mechanism and the threat it addresses.
    • Learning measures in isolation from threats: correction — link each measure to the specific threat it detects or prevents so explanations are meaningful.
    • Believing encryption prevents data from being intercepted or stolen: Encryption does not stop theft; it prevents unauthorised parties from understanding the stolen ciphertext without the mathematical key.
    • Assuming anti-malware catches all new threats instantly: Anti-malware relies primarily on signature databases, meaning zero-day threats can bypass detection until definitions or heuristic models update.
    • Confusing firewalls with anti-malware: Firewalls control packet-level network traffic and connections; they do not perform file-level antivirus quarantine inside system storage.
    Revision Plan
    1. 1Session 1: Consolidate core definitions by producing comparative tables for black-box vs white-box penetration testing and firewalls vs anti-malware.
    2. 2Session 2: Practice access control diagrams, mapping role-based permissions (User Access Levels) to distinct real-world organisational roles.
    3. 3Session 3: Complete timed past-paper 4-mark and 6-mark scenario questions focusing on defensive network architectures and data encryption.
    4. 4Session 4: Self-assess using official AQA mark schemes, specifically checking for precision keywords like 'ciphertext', 'packet headers', and 'least privilege'.
    Exam Question Types
    • 📋Short definition questions (1-2 marks): Defining technical security terms such as 'penetration testing', 'biometric authentication', or 'ciphertext'.
    • 📋Comparison/Distinction questions (2-4 marks): Differentiating between black-box and white-box testing, or anti-malware and firewalls.
    • 📋Scenario-based 6-mark extended evaluation: Analysing a business or public service network and recommending a balanced suite of defensive measures.
    Command Word Expectations (AQA)
    Explain

    Set out the causes, reasons, or mechanics of a security method with clear connective phrasing ('because', 'which leads to', 'in order to').

    Discuss

    Explore multiple perspectives or solutions (e.g. technical defences vs user policies, or advantages vs limitations) and form a reasoned, justified conclusion.

    State / Give

    Recall a factual term, method, or defensive tool without requiring supporting explanations or functional justification.

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Confusing black-box penetration testing with white-box penetration testing.
    ❌ Weak Answer (Loses Marks):A black-box test is when the hacker uses malicious black-hat tools to break in, while a white-box test is done safely by good hackers.
    Example improved answer:In black-box penetration testing, the tester simulates an external cyber attack with zero prior knowledge of the target system credentials or infrastructure. In white-box penetration testing, the tester is granted full administrative credentials, system documentation, and source code to simulate an insider attack or identify deep-seated vulnerabilities.
    Examiner Tip: Explicitly identify the tester's perspective: black-box simulates an outsider with no internal information; white-box simulates an insider or authenticated user with full architectural knowledge.
    Pitfall: Stating that a firewall stops viruses from infecting a computer.
    ❌ Weak Answer (Loses Marks):A firewall scans incoming files for computer viruses and removes them before they damage hard drives.
    Example improved answer:A firewall monitors and filters incoming and outgoing network traffic based on predetermined security rules, blocking unauthorised packets and connections. Anti-malware software is responsible for scanning files and detecting or quarantining computer viruses.
    Examiner Tip: Never attribute malware detection or scanning of static file payloads to a firewall; always describe firewalls in terms of monitoring network packet headers, ports, and protocols.
    Step-by-Step Worked Solutions

    Question: An online retail bank is overhauling its computer network security. Discuss the technical measures and user policies the bank should implement to protect customer financial data from both external unauthorised access and internal data leaks. [6 marks]

    1. 1.Step 1: Identify technical controls for external threats (Firewalls, Strong End-to-End Encryption, Penetration Testing). Explain how encryption renders intercepted network data unreadable without a decryption key.
    2. 2.Step 2: Identify access controls and policies for internal threats (User Access Levels, Multi-Factor Authentication, Acceptable Use Policies). Explain how least-privilege access restricts non-essential employees from viewing sensitive financial records.
    3. 3.Step 3: Evaluate detection and maintenance mechanisms (Anti-malware, automatic security patching, audit logging, regular white-box and black-box penetration testing) to demonstrate ongoing resilience.
    4. 4.Step 4: Synthesise both domains with a balanced conclusion acknowledging that technical solutions must be reinforced by staff training against social engineering.
    Final Answer: A comprehensive 6-mark answer balances technical controls (firewalls to inspect incoming packets, strong encryption algorithms for data in transit and at rest) with access controls (role-based access levels, multi-factor authentication). It must also evaluate proactive measures like penetration testing alongside regular staff training to mitigate social engineering risks.

    Question: Explain the difference between authentication and authorization in securing network data, providing a practical network example for each. [4 marks]

    1. 1.Step 1: Define authentication as the process of verifying a user's claimed identity before access is granted.
    2. 2.Step 2: Provide an example of authentication (e.g. entering a username combined with a salted hash password or biometric fingerprint scan).
    3. 3.Step 3: Define authorization as the process of determining the specific access rights, permissions, and resources a verified user can interact with.
    4. 4.Step 4: Provide an example of authorization (e.g. user access levels specifying that a teacher can read and write exam grades, while a student can only read their own report).
    Final Answer: Authentication validates identity (e.g. biometric login or 2FA), whereas authorization dictates permissions (e.g. read/write/execute user access levels restricting database access once authenticated).
    Active Recall Memory Test
    What is the primary operational difference between black-box and white-box penetration testing?
    Key Fact: In black-box testing the tester has no prior insider knowledge or credentials, whereas in white-box testing the tester is given complete system documentation and access permissions.
    How does a packet-filtering firewall decide whether to block or allow incoming network traffic?
    Key Fact: It inspects packet headers (source/destination IP addresses, port numbers, and protocols) and evaluates them against an established set of security rules.
    Why is anti-malware software ineffective against brand new 'zero-day' exploits without heuristic analysis?
    Key Fact: Because traditional anti-malware relies on known signature definitions, which have not yet been catalogued for a novel zero-day attack.
    What is the key difference between plaintext and ciphertext?
    Key Fact: Plaintext is raw, unencrypted data that is human-readable; ciphertext is encrypted data that cannot be understood without the correct decryption key.
    Frequently Asked Questions
    Does a firewall stop my computer from getting malware?
    No, a firewall is not designed to detect or quarantine viruses or malware files. A firewall monitors and filters network traffic packets based on IP addresses, ports, and protocols to block unauthorised connections. If you download a malicious file over an allowed web connection (such as port 443), you rely on anti-malware software to scan, detect, and isolate the infection.
    What is the difference between white-box and black-box penetration testing?
    White-box penetration testing simulates an attack by someone with deep insider knowledge or authenticated access. Testers are supplied with network maps, source code, and system credentials to find vulnerabilities hidden deep in the infrastructure. In contrast, black-box testing simulates an attack by an external adversary with zero knowledge, testing how vulnerable the perimeter defences are from the outside.
    Can encrypted data still be deleted or stolen by hackers?
    Yes. Encryption protects the confidentiality of data, not its physical presence. A hacker who breaches a system can still steal, delete, or overwrite encrypted files (as seen in ransomware attacks). However, because the stolen data is stored as ciphertext, the attacker cannot read or exploit the information inside unless they obtain or crack the decryption key.
    Why are user access levels considered a security method?
    User access levels enforce the principle of least privilege by ensuring accounts only have the minimum permissions needed to carry out their specific roles. If an everyday user account is compromised by phishing or malware, the attacker is confined to that user's limited read/write privileges. This containment prevents unauthorized modification of sensitive administrative settings and confidential databases across the wider network.
    What is multi-factor authentication (MFA) and why is it stronger than a password?
    Multi-factor authentication requires a user to provide two or more distinct verification factors before gaining access to an account. These typically combine something you know (a password), something you have (a smartphone authenticator app or hardware token), and something you are (a biometric fingerprint). MFA provides stronger security because an attacker who steals a password through a data breach or phishing cannot gain access without the physical second factor.