AS Level · Topic 6.1
A-Level Computer Science 9618 / Topic 6 / AS

Know the attack.

Connecting a computer to a network or the internet opens it up to malware, hackers and tricks such as phishing and pharming. For each threat you need to say what it is, what harm it does, and which measure reduces the risk and how.

The key idea

A network lets threats reach a computer from anywhere. Malware is software written to cause harm: a virus copies itself into other files and can delete or corrupt data; spyware secretly records what the user does, such as key presses, and sends it to a third party. Hackers gain unauthorised access to a system. Phishing uses a genuine-looking email to lure the user to a fake website; pharming installs code or alters DNS so the user is redirected to a fake website even when the correct address is typed. Each threat is reduced by a matching measure: firewall, anti-virus, anti-spyware, passwords and access rights, and encryption.

layers of protection between the internet and the data Internet: hackers, malware, phishing, pharming Firewall: filters traffic in and out Computer: anti-virus, anti-spyware Data log-in, access rights, encryption, backups
Fig. 1: defence in depth: each layer stops threats the outer layers missed
Section 01

Threats from the network.

In the lab, match each threat with the defences that work against it, test some passwords, then find the giveaway signs in a phishing email.

ThreatWhat it isPossible harm
VirusMalware that attaches itself to other files or programs and replicates when they are runDeletes or corrupts data, fills storage, makes the computer crash or run slowly
SpywareMalware that secretly monitors the user, for example logging key presses, and sends the data to a third partyPasswords, bank details and personal data are stolen
HackerA person who gains unauthorised access to a computer systemData is read, stolen, changed or deleted; malware is planted
PhishingAn email or message that appears to come from a trusted organisation, with a link to a fake websiteThe user types in log-in or bank details, which go to the criminal
PharmingMalicious code on the user's computer, or a corrupted DNS server, redirects the user to a fake websiteAs phishing, but the user typed the correct URL so has no clue to spot
Examiner trap

Phishing and pharming are easy to mix up. In phishing the user has to click a link in a message; in pharming the user types the genuine address and is redirected without doing anything wrong.

Section 02

From one PC to a network.

The syllabus asks for measures that protect anything from a single stand-alone PC up to a network of computers. Describe how each one works, not just its name.

ThreatMain measures
VirusAnti-virus software, firewall, not opening unknown attachments
SpywareAnti-spyware software; on-screen keyboards or drop-down menus so key presses reveal nothing
HackerFirewall, strong passwords, access rights, encryption of the data
PhishingCheck the sender and the URL before clicking; spam filters; user training
PharmingAnti-malware software; check the website's digital certificate and the https padlock
Worked example Describe a measure
Describe how a firewall helps protect a school network from hackers. [3]
  1. It sits between the school network and the internet, and all traffic passes through it.
  2. It examines each incoming and outgoing packet and checks it against a set of rules (criteria), such as allowed IP addresses and ports.
  3. Packets that do not meet the rules are blocked, so unauthorised access attempts from outside are stopped (and it can log them).
Answer: Position, inspection against rules, blocking: one mark each.
Your turn
A user's bank password was stolen even though she only ever typed it on the genuine bank website. Name the most likely threat and one measure that would have helped.
Stage 1 · Learn

Check what the sim just showed you

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What makes pharming different from phishing?

Quick check+10 XP

In the lab's password test, which change makes a password hardest to crack by brute force?

Quick check+10 XP

Which software compares files with a database of known signatures?

Quick check+10 XP

Which threat secretly records a user's key presses?

Section 03

Protect the data itself.

Measures against the system's attackers may fail, so the data needs its own protection. Two methods are named in the syllabus: encryption and access rights.

Worked example Matching measure to risk
A sales team carries customer data on laptops. Suggest a measure for each risk: (a) a laptop is stolen, (b) a junior employee deletes the customer file by mistake.
  1. (a) The thief has the physical device, so a firewall or password alone may be bypassed: encrypt the hard disk so the data cannot be read without the key.
  2. (b) The employee is an authorised user, so encryption does not help: give junior staff read-only access rights to the file, and keep backups so it can be restored.
Answer: (a) encryption; (b) access rights plus backups.
Examiner trap

Do not offer "anti-virus" or "firewall" as the answer to every threat. Match the measure to the threat, and explain how that measure stops that threat.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS Paper 1 and Paper 2 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Which statement about a firewall is correct?

Exam style+20 XP

An employee clicks a link in an email that looks as if it is from the company's IT department and types in a password. Which threat is this?

Exam style+20 XP

Why must anti-virus software be updated regularly?

Exam style+20 XP

A laptop holding customer records is stolen. Which measure best protects the records?

Skill unlocked

Threats and protection, matched.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Viruses, spyware, hackers, phishing and pharming, and how firewalls, anti-virus, anti-spyware, passwords, access rights and encryption reduce the risk.