Identifying and preventing vulnerabilities
Pen testing, anti malware, firewalls, access levels, passwords, encryption and physical security.
Learning Objectives
- 1Explain the purpose of penetration testing
- 2Describe how anti-malware software, firewalls and encryption work
- 3Explain the purpose of user access levels, passwords and physical security
- 4Match an appropriate prevention method to a given threat, and justify why
Penetration testing
Anti-malware software
Firewalls
User access levels
Passwords
Encryption
Physical security
Matching prevention methods to threats
- Penetration testing – finds weaknesses before attackers do (useful against many threats, e.g. SQL injection).
- Anti-malware software – stops malware (viruses, trojans, spyware).
- Firewalls – block unauthorised access attempts and suspicious traffic at the network boundary.
- User access levels – limit damage from misuse or a compromised account.
- Passwords – protect against brute-force attacks and general unauthorised access.
- Encryption – protects data in transit, so it stops data interception.
- Physical security – stops theft or physical tampering with hardware.
| Prevention method | Mainly limits |
|---|---|
| Penetration testing | Finds vulnerabilities generally (e.g. before SQL injection or brute-force attacks can exploit them) |
| Anti-malware software | Malware (viruses, trojans, spyware) |
| Firewalls | Unauthorised access attempts, suspicious traffic at the network boundary |
| User access levels | Insider misuse, damage from a compromised low-level account |
| Passwords | Brute-force attacks, general unauthorised access |
| Encryption | Data interception and theft (protects data in transit) |
| Physical security | Theft or tampering with physical hardware |
Exam Phrasing: Use These Exact Phrases
- ✓Penetration testing attempts to gain access without prior knowledge of login details, to find vulnerabilities before real attackers do
- ✓Anti-malware software compares files to a database of known malware and quarantines or removes threats
- ✓A firewall monitors traffic and blocks or allows it based on a set of security rules
- ✓User access levels restrict users to only the data and features they need
- ✓A strong, complex password makes brute-force attacks take impractically long to succeed
- ✓Encryption protects data in transit, so intercepted data cannot be understood without the key
- ✓Physical security protects hardware from theft, tampering or unauthorised physical access
- ✓A firewall does not prevent data interception; encryption does
- 💡Learn the pairing: encryption stops data interception; a firewall does not, examiners specifically flag this as a common misconception.
- 💡For each prevention method, be ready to explain what it limits and how it limits it, not just name it.
- 💡If a question asks for more than one appropriate method and provides multiple mark rows/boxes, check whether more than one answer is expected, don't assume only one method applies.
- 💡A keylogger is a type of spyware, so anti-malware software is the relevant prevention method for it, not a firewall.
Wrong:
Encryption stops data being intercepted
Right:
Encryption does not prevent interception at all: the data can still be intercepted, but without the key it is meaningless to whoever takes it
Why it matters: OCR examiners flagged this in more than one mark scheme. Encryption protects the data once taken, it does not stop the taking.
Wrong:
A firewall prevents data interception
Right:
Encryption prevents data interception; a firewall protects a network's boundary/access
Why it matters: Data interception targets data already travelling across a network, which is outside what a firewall monitors, this is a frequently tested misconception.
Wrong:
Anti-malware software stops all types of threats
Right:
Anti-malware software specifically targets malware (viruses, trojans, spyware), not threats like phishing or brute-force attacks
Why it matters: Different prevention methods target different threats, matching the right one to the right threat is what these questions test.
Wrong:
Only ticking one prevention method when a question allows for more than one correct answer
Right:
Read the question and mark scheme structure carefully, some threats have more than one valid prevention method
Why it matters: OCR examiners noted candidates sometimes missed additional valid answers by only selecting one option per row.
Question:
A company's database is at risk from SQL injection attacks. Recommend a method to help identify this vulnerability before it is exploited, and justify your answer. [2]
💡 Attempt this before revealing the answer, practice makes perfect!
Model Answer:
Penetration testing would be appropriate. This involves deliberately attempting to gain unauthorised access to the system, including trying techniques like SQL injection, without prior knowledge of login details, so that any vulnerabilities can be discovered and fixed before a real attacker exploits them.
Mark Scheme:
- 1Identifies penetration testing
- 2Justifies with: deliberately attempts unauthorised access to find/fix vulnerabilities before a real attack happens
Tap a card to flip it. Use the arrow keys to move and space to flip.
Exam-style questions. Have a go, then reveal the mark scheme to check your answer.
1.State the purpose of penetration testing.
[1]2.Explain how anti-malware software helps protect a system.
[2]3.Explain why a firewall would not prevent data interception.
[2]4.A school wants to prevent students from accessing staff-only files. State an appropriate prevention method and explain how it would help.
[2]5.A company sends sensitive customer data between two offices over the internet. Recommend a method to protect this data if it is intercepted, and explain why the method you have chosen is more appropriate than using a firewall alone.
[3]6.A website has been targeted by brute-force attacks on its user accounts. Explain how requiring stronger passwords would help limit this threat.
[3]7.A business keeps its servers in an unlocked room that anyone in the building can walk into. State one physical security measure it could use, and explain what threat this would limit that its firewall and anti-malware software would not.
[3]8.A school wants to improve its network security. Discuss the methods available and how effective each would be against different threats.
[8]Extended response · marked in levels, not by counting points
The examiners' reports are the most useful and least read of the three: they say what candidates actually got wrong each year. All files are hosted by OCR.
Past-paper questions grouped by topic
The same OCR questions, sorted by topic rather than by year (via Physics & Maths Tutor).
A common misconception was that a firewall and penetration testing could prevent data interception. Both mainly control access to a system; if data is being transmitted between computers (e.g. over the internet), there is no firewall in place to stop the interception, encryption is the relevant defence.
On a question matching prevention methods to threats, some candidates only selected one method per threat when the question allowed for more than one correct answer, missing marks for valid additional methods.