1.4.2 Identifying and preventing vulnerabilities
A vulnerability is a weakness that an attacker could use to get into a system or harm it. Examples are a weak password, software that has not been updated, or a door that is left unlocked. Organisations look for these weaknesses and then reduce the risk with a mix of methods. No single method is enough on its own. For each method below you need to know what it limits or prevents and how it does it.
Penetration testing
The tester uses the same ideas as an attacker. They may try to guess passwords, look for out-of-date software, or test whether staff can be tricked. They then write a report listing the weaknesses they found, and the organisation fixes them.
- •What it prevents: attacks that would use a weakness the organisation did not know about.
- •How: it finds the weaknesses first, so they can be repaired.
Anti-malware software
It works by comparing files with a list of known malware, and by watching for programs that behave in a suspicious way. It can scan files as they are opened, downloaded or attached to emails, and it can scan the whole computer on a schedule. If it finds a threat, it can quarantine the file (lock it away so it cannot run) or delete it.
- •What it prevents: viruses, worms, trojans, ransomware and spyware from running and spreading.
- •How: it detects them and stops or removes them.
Firewalls
The firewall looks at each piece of incoming and outgoing data. It compares it with a set of rules. If the data is allowed, it passes through. If not, it is blocked. For example, a firewall can block data coming from a source known to be dangerous, or stop a program on the computer from sending data out without permission.
- •What it prevents: unauthorised access to the network from outside, and some malware communicating out.
- •How: it filters traffic using rules.
User access levels
Each user is given only the access they need to do their job. In a school, a student may only be able to read some files and save into their own folder. A teacher may be able to see student work. A network manager may be able to change settings and add users. Some users can have read only access, others read and write.
- •What it limits: the damage that one account can do, whether through a mistake, a stolen password, or a user who means harm.
- •How: if someone logs in with a low level account, the system will not let them open or change sensitive data or settings.
Passwords
Passwords stop an unauthorised person from logging in to an account. They only work if they are good ones, and if they are kept secret.
A strong password:
- •is long (the more characters, the more combinations to guess)
- •mixes upper case, lower case, numbers and symbols
- •is not a word, a name, a date of birth or something easy to guess
- •is different for each account
- •is changed if it may have been seen by someone else
Passwords can be combined with a second check, such as a code sent to a phone. The attacker then needs more than the password.
Encryption
To read encrypted data you must turn it back into plaintext, which is called decrypting. This needs the correct key.
- •What it prevents: stolen or intercepted data from being read and used.
- •How: even if an attacker captures the data on a network or steals a laptop, all they see is meaningless ciphertext.
Physical security
Not all attacks come over a network. Anyone who can touch a computer may be able to steal it, plug in a USB drive or read what is on the screen. Methods include:
- •locks on server rooms and doors
- •key cards, PIN codes or fingerprint scanners to enter
- •security guards and reception staff
- •CCTV cameras
- •alarms
- •cables and locks that fix equipment to a desk
- •screen privacy filters and locking the screen when away from the desk
Putting it together
| Method | What it limits or prevents | How |
|---|---|---|
| Penetration testing | Attacks using unknown weaknesses | Finds weaknesses so they can be fixed |
| Anti-malware | Malware running and spreading | Scans, detects and quarantines or deletes it |
| Firewall | Unauthorised access from outside | Filters data using rules |
| User access levels | Damage from one account | Gives each user only the rights they need |
| Passwords | Unauthorised logins | Needs a secret that only the user knows |
| Encryption | Stolen data being read | Scrambles data so it needs a key |
| Physical security | Theft and hands-on access | Locks, cards, cameras and guards |
Exam technique
- •State or give: one short fact, such as the name of a method.
- •Describe: say what the method does. "A firewall checks data coming in and going out against rules and blocks anything that does not meet them."
- •Explain: say what it prevents and how. "Encryption stops stolen data being read because it is scrambled and needs a key."
- •Discuss: for the 8-mark question, cover several methods, say what each one does and where it falls short, and finish with a judgement. A good answer shows that methods work best together.
- •Match the method to the threat in the scenario: encryption for interception, a firewall for outside access, user access levels for limiting a user, and so on.