Multiple choiceQuestion 1 · Recall
Loading…
By the end you can describe how a firewall, anti-virus software, anti-spyware and encryption each protect a computer system, state what each one cannot do, and choose sensible measures for a stand-alone PC and for a network.
A stand-alone PC is one machine with no network connection. Its protection comes from the machine itself: a login account, a screen lock, anti-virus software, a disk encrypted with a password, and a physical lock on the case.
A network of computers has all of those, plus more ways in:
The measures are the same kinds of thing. What changes is how many places they have to cover.
Firewall
A firewall is hardware or software that monitors and filters incoming and outgoing network traffic against a set of rules. Traffic that matches an "allow" rule passes; everything else is blocked.
Rules commonly look at the source and destination IP address, the port number (which identifies the service, such as 443 for HTTPS), and the protocol (such as TCP or UDP).
A rule list is read from the top down, and the first match wins. A very small example:
| Rule | Traffic | Action |
|---|---|---|
| 1 | Inbound, TCP, port 443 (HTTPS) | Allow |
| 2 | Inbound, TCP, port 22 (remote login) from the office IP only | Allow |
| 3 | Inbound, any other port | Block |
| 4 | Outbound to a known malware server list | Block |
Notice two things.
What a firewall cannot do:
Anti-virus software
Anti-virus software scans files, memory and incoming downloads for known malware, looking for the signatures (patterns of code) of known viruses and for suspicious behaviour (heuristics). When it finds something, it quarantines the file (moves it somewhere it cannot run), repairs it, or deletes it.
Because new viruses appear constantly, the signature list must be updated regularly — anti-virus software with year-old signatures is close to useless.
Anti-spyware software
Anti-spyware software detects and removes spyware: software that secretly collects information about the user (keystrokes, browsing habits, passwords, screenshots) and sends it to someone else.
It works in the same way as anti-virus software — signatures plus behaviour checks plus regular updates — but targets a different family of programs. Many security suites include both.
Encryption converts readable data (plaintext) into scrambled data (ciphertext) using a key. Without the key, the ciphertext is meaningless.
On a single machine it is used in three common places:
What encryption does not do: it does not stop malware running on the machine, it does not stop an authorised user copying files they can already open, and it does not detect a corrupted file. The next lessons cover these gaps.