Skip to content

1.4.2 Identifying and preventing vulnerabilities

GCSE · Paper 1 · Computer systems · Section 1.4 · 17 flashcards · 12 practice questions

Questions

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

Definition
Penetration testing (pen testing) is when an organisation pays a skilled person to try to break into its own system, with permission, to find weaknesses before a real attacker does.

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.
A test only shows the weaknesses that exist on the day, so it needs repeating, especially after the system changes.

Anti-malware software

Definition
Anti-malware software scans a computer for malware, and removes it or blocks it.

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.
Key Point
Anti-malware must be kept up to date. New malware is written all the time, so the list it checks against must be updated often. Updating the operating system and other software also closes weaknesses that malware uses.

Firewalls

Definition
A firewall is software or hardware that sits between a computer or network and the internet. It checks the data going in and out and blocks anything that breaks its rules.

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.
A firewall does not stop a user from installing a trojan, and it cannot stop attacks that come from a person inside the network. That is why it is used with other methods.

User access levels

Definition
User access levels (access rights) decide which files, folders and settings each user is allowed to open, change or delete.

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

Definition
A password is a secret string of characters that a user types to prove who they are before they can use an account.

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 are also protected by limiting the number of wrong attempts before an account is locked. This makes a brute-force attack much harder, because the attacker cannot keep guessing.
Warning
Do not use the same password for several accounts. If one website is attacked and the password is stolen, the attacker can try it on all your other accounts.

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

Definition
Encryption is scrambling data using a key so that it cannot be understood by anyone who does not have the key. The scrambled data is called ciphertext. The original, readable data is plaintext.

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.
Encryption is used for data sent over a network (such as on a shopping website) and for data stored on a device. Encryption does not stop data being stolen or intercepted. It makes the stolen data useless.

Physical security

Definition
Physical security is protecting the actual computers, servers and wiring from being stolen, damaged or used by the wrong people.

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
What it prevents: theft of equipment, and unauthorised people getting hands-on access. How: it keeps unauthorised people away from the equipment, and records who went where.

Putting it together

MethodWhat it limits or preventsHow
Penetration testingAttacks using unknown weaknessesFinds weaknesses so they can be fixed
Anti-malwareMalware running and spreadingScans, detects and quarantines or deletes it
FirewallUnauthorised access from outsideFilters data using rules
User access levelsDamage from one accountGives each user only the rights they need
PasswordsUnauthorised loginsNeeds a secret that only the user knows
EncryptionStolen data being readScrambles data so it needs a key
Physical securityTheft and hands-on accessLocks, cards, cameras and guards
Remember
Staff training also matters, because people can be tricked by phishing. Methods work best when used together, so that if one fails another still protects the system.

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.