Revision Library

Network Security - Worksheets, Questions and Revision

19 original exam-style questions - 9 pages of questions with a full mark scheme - free printable PDF.

Download PDFJump to mark scheme (page 10)Read the revision guide
« Previous: Networks and TopologiesNext: Ethical, Legal, Cultural and Environmental Impact »
Revision Library
revisionlibrary.co.uk
GCSE · Computer Science

P1.6 Network Security

OCR J277 · Calculators not allowed · about 90 minutes
Total Marks
Name: _______________________________    Date: ____ / ____ / ______
Answer ALL questions. Show all your working.
1
This question is about basic network security terminology.
(a)Which term describes software that is deliberately designed to damage, disrupt or gain unauthorised access to a computer system?(1)
  • A) Firmware
  • B) Malware
  • C) Freeware
  • D) Middleware
(b)Which type of malware can replicate itself and spread across a network without attaching itself to another program or needing a user to run it?(1)
  • A) Virus
  • B) Worm
  • C) Trojan
  • D) Spyware
(c)Which type of attack involves tricking a user into revealing personal or financial information by pretending to be from a genuine, trustworthy organisation (e.g. in a fake email)?(1)
  • A) Brute force
  • B) Denial of service
  • C) Phishing
  • D) SQL injection
(Total for Question 1 is 3 marks)
2
Four employees at a company called Hartlepool Logistics describe problems with their work computers. For each description, name the most likely type of malware responsible. Choose from: virus, worm, trojan horse, ransomware.
(a)Priya's files have all been encrypted and a message on her screen demands payment in exchange for the decryption key.(1)
(b)Deshawn downloaded a free game from an unofficial website. The game appeared to work normally, but it secretly installed a program that now lets an attacker access his files remotely.(1)
(c)Overnight, the same malicious program appeared on every computer on the office network, without any employee opening a file or clicking a link.(1)
(d)Aisha noticed her computer running slowly after opening an email attachment; the same corrupted code was then found attached to several of her other documents.(1)
(Total for Question 2 is 4 marks)
3
Explain the difference between phishing and pharming as methods of attacking a network user.
(Total for Question 3 is 3 marks)
4
State three separate offences created by the Computer Misuse Act (1990).
(Total for Question 4 is 3 marks)
5
A company issues staff with a PIN to unlock the office door keypad.
(a)The PIN is exactly 4 digits long, and each digit can be any digit from 0 to 9 (digits may repeat). Calculate the total number of different PINs that are possible.(2)
(b)The company is considering changing to a password made of exactly 4 characters, where each character can be any of the 26 lowercase letters, 26 uppercase letters or 10 digits (62 characters in total, repetition allowed). Write down the calculation, without evaluating it, that would give the total number of different passwords possible.(1)
(c)Using your answers to parts (a) and (b), explain why changing to the password system in part (b) would make the office door system more resistant to a brute-force attack.(2)
(Total for Question 5 is 5 marks)
6
A retailer's website becomes unavailable to customers after being targeted by a denial-of-service (DoS) attack.
(a)Describe what happens during a denial-of-service attack.(2)
(b)State one negative effect that a successful denial-of-service attack could have on the retailer's business.(1)
(Total for Question 6 is 3 marks)
7
A website's login page checks a user's credentials using the following line of code, which builds an SQL query from the text entered into the username and password boxes:
SELECT * FROM users WHERE username = 'INPUT_USERNAME' AND password = 'INPUT_PASSWORD';

An attacker enters the following into the username box, leaving the password box empty:

' OR '1'='1
(a)Identify the type of attack the code above is vulnerable to.(1)
(b)Explain how entering ' OR '1'='1 into the username box could allow the attacker to log in without knowing a valid username or password.(2)
(c)State one method a web developer could use to help prevent this type of attack.(1)
(Total for Question 7 is 4 marks)
8
A large organisation employs ethical hackers to carry out penetration testing on its network.
(a)State the purpose of penetration testing.(2)
(b)Describe the difference between black-box and white-box penetration testing.(2)
(Total for Question 8 is 4 marks)
9
Explain how a firewall helps to protect a school's internal network from threats on the internet.
(Total for Question 9 is 3 marks)
10
A cafe offers customers a wireless network.
(a)State one reason why an unencrypted (open) wireless network is a greater security risk than a wired network.(1)
(b)State the name of a protocol that could be used to encrypt traffic on the cafe's wireless network, and give one reason why using it is preferable to leaving the network open.(2)
(Total for Question 10 is 3 marks)
11
Every device on a network is identified, in part, by its IP address and MAC address.
(a)One octet of an IPv4 address has the denary value 182. Convert 182 to an 8-bit binary number.(2)
(b)Part of a device's MAC address is written in hexadecimal as 2F. Convert 2F to an 8-bit binary number.(2)
(c)Convert 2F (hexadecimal) to a denary number.(1)
(Total for Question 11 is 5 marks)
12
State three different physical security measures that an organisation could use to protect the server room containing its network hardware. For each measure, justify why it helps to keep the servers secure.
(Total for Question 12 is 6 marks)
13
Encryption is used to protect data sent across a network.
(a)Explain what is meant by encryption, and why it is used to protect data sent over a network.(3)
(b)A simple cipher encrypts a message by shifting every letter 3 places forward in the alphabet (wrapping around, so X->A, Y->B, Z->C). Show that encrypting the plaintext WIFI using this cipher produces the ciphertext ZLIL.(2)
(c)State one weakness of this shift cipher compared to modern encryption methods used on networks.(1)
(Total for Question 13 is 6 marks)
14
Explain how giving employees different user access levels can reduce the risk of an insider threat compromising sensitive data on a company's network.
(Total for Question 14 is 3 marks)
15
The pseudocode below is intended to check whether a password is "Strong" (at least 8 characters long and containing at least one digit) or "Weak". It uses the OCR Exam Reference Language function MID(string, start, numChars), which returns numChars characters from string, starting at position start (the first character in a string is at position 1).
password <- "Cod3"
length <- LEN(password)
hasDigit <- FALSE
count <- 0
FOR i <- 1 TO length
  currentChar <- MID(password, i, 1)
  IF currentChar >= "0" AND currentChar <= "9" THEN
    hasDigit <- TRUE
  ENDIF
  count <- count + 1
NEXT i
IF length >= 8 AND hasDigit = TRUE THEN
  OUTPUT "Strong"
ELSE
  OUTPUT "Weak"
ENDIF
(a)Complete a trace table to show the values of currentChar, hasDigit and count for each pass of the loop, when password is set to "Cod3".(4)
(b)State the output produced when this algorithm is run with password set to "Cod3".(1)
(Total for Question 15 is 5 marks)
16
A secondary school's network is regularly targeted by malware, often arriving as attachments in phishing emails sent to staff and students.

Discuss the effectiveness of anti-malware software and staff/student training as methods of protecting the school's network against malware threats. In your answer you should consider the strengths and weaknesses of each method, and reach a justified conclusion about which is likely to be more effective.
(Total for Question 16 is 6 marks)
17
Write an algorithm, using pseudocode, that could be used to control access to an account, as follows:
- the correct password is already stored in a variable called realPassword
- the user is asked to enter a password
- the user is allowed up to 3 attempts in total
- if the user enters the correct password within 3 attempts, the algorithm should output "Access granted" and stop asking for a password
- if the user has still not entered the correct password after 3 attempts, the algorithm should output "Account locked"

You may use any valid pseudocode. Marks will be awarded for correct logic; minor syntax errors will not be penalised.
(Total for Question 17 is 6 marks)
18
A network manager says: "Relying on just one security measure, such as a firewall, is not enough to keep a network secure. We need several different, overlapping measures working together." This approach is often called a 'layered' or 'defence in depth' approach.

Explain why using several different security measures together is more effective than relying on a single measure.
(Total for Question 18 is 4 marks)
19
A company director states: "As long as we encrypt all the data stored on our network, our network will be secure."

Evaluate this statement.
(Total for Question 19 is 6 marks)
Mark scheme · P1.6 Network Security

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8

Question 9

Question 10

Question 11

Question 12

Question 13

Question 14

Question 15

Question 16

Question 17

Question 18

Question 19

Mark your answers

This checks your answers in your browser, stores nothing on a server and needs no account.

Question 1

3 marks
Did your answer earn the marks?

Question 2

4 marks
Did your answer earn the marks?

Question 3

3 marks
Did your answer earn the marks?

Question 4

3 marks
Did your answer earn the marks?

Question 5

5 marks
Did your answer earn the marks?

Question 6

3 marks
Did your answer earn the marks?

Question 7

4 marks
Did your answer earn the marks?

Question 8

4 marks
Did your answer earn the marks?

Question 9

3 marks
Did your answer earn the marks?

Question 10

3 marks
Did your answer earn the marks?

Question 11

5 marks
Did your answer earn the marks?

Question 12

6 marks
Did your answer earn the marks?

Question 13

6 marks
Did your answer earn the marks?

Question 14

3 marks
Did your answer earn the marks?

Question 15

5 marks
Did your answer earn the marks?

Question 16

6 marks
Did your answer earn the marks?

Question 17

6 marks
Did your answer earn the marks?

Question 18

4 marks
Did your answer earn the marks?

Question 19

6 marks
Did your answer earn the marks?
Mark my answers