CIE AS & A Level Computer Science, section 6.1 (Data security)
Malware
Malware is malicious software.
- Virus: code that attaches itself to a file or program and copies itself when the file is run, and can damage or delete data.
- Worm: spreads by itself across a network, without a host file.
- Trojan: malware that looks like useful software but does something harmful once installed.
- Spyware: secretly records what the user does (such as key presses and passwords) and sends the information to someone else.
Hackers
A hacker gains unauthorised access to a computer system, to steal, change or delete data, or to disrupt the system.
Phishing
Phishing uses fake emails or messages, that look genuine, to trick people into giving personal information (such as passwords) or clicking on a harmful link.
Pharming
Pharming sends a user to a fake website, even if they type the correct address, by altering the DNS or placing malicious code on the computer. The site looks real and collects the user's details.
| Phishing | Pharming | |
|---|---|---|
| Method | fake email or message | redirects a correct URL to a fake site |
| User action | must click or reply | none beyond visiting the site |
Risks from networks and the internet
- Malware and hackers can reach a computer from anywhere in the world.
- Data in transit can be intercepted.
- A network lets malware spread between computers.
- Denial of service attacks flood a server with requests.
- Users may download infected files or visit harmful sites.
Common mistake: mixing up phishing and pharming. Phishing needs the user to respond to a message; pharming redirects the user to a fake site automatically. Also, a virus needs a host file, while a worm spreads on its own.
Exam tip: name the threat, say how it works, and describe the harm it does. Link each threat to the network or internet context if the question mentions it.
Check yourself
What is the difference between a virus and spyware?
A virus copies itself and can damage files; spyware secretly records what the user does and sends it to someone else.
What is phishing?
Sending fake messages that look genuine to trick people into revealing personal data.
How does pharming work?
It redirects users to a fake website even when they type the correct address.