Teachers' Portal  /  IGCSE Computer Science 0478  /  The internet and its uses  /  Cyber security threats
Lesson pack · IGCSE Computer Science 0478 · 5.3 · IGCSE

Cyber security threats

Know your attacker. Some attacks target computers: guessing passwords, flooding servers, planting malware.

Student lesson Lab, full screen
At a glance

The shape of the lesson

Topic
The internet and its uses
Syllabus reference
Cambridge IGCSE Computer Science 0478, 5.3
Level
IGCSE
Duration
45 minutes, lab-led; stretches to a 60 minute block (see the contingency notes)
Position in topic
Lesson 6 of 7 in The internet and its uses; follows Digital currency and blockchain; leads into Keeping data safe from security threats
Central model
Fig. 1: in a DDoS attack, many infected computers flood one server so real users cannot get through
Cooperative structure
Assessment
Stage 1 check and the exam-style plenary from the student lesson, plus the worksheet as the exit task
Learning objectives

By the end of the lesson, learners can

Section by section
  • Getting in: These three threats are about getting at data without permission.
  • Flooding and malware: A DDoS attack stops a service working; malware is software written to cause harm.
  • Tricking people: These attacks aim at the user rather than the hardware.
Key points to leave on the board
  • Process: describe how the attack is carried out, step by step.
  • Aim: say what the attacker wants: data, access, money or disruption.
  • Malware: virus, worm, Trojan horse, spyware, adware, ransomware: know the difference.
  • Phishing vs pharming: a link in a message, versus redirection by malicious code.
The core visual model

One picture every idea returns to

A cyber security threat is any attempt to damage, steal or gain unauthorised access to data or computer systems. For every threat, an exam answer needs the process (how the attack is carried out) and the aim (what the attacker wants). Some threats attack the technology: brute-force attacks, data interception, DDoS attacks, hacking and malware. Others attack people or redirect them: phishing, pharming and social engineering.

a distributed denial of service (DDoS) attack botbotbotbot web server real user × a botnet floods the server with requests
Fig. 1: in a DDoS attack, many infected computers flood one server so real users cannot get through
Lesson sequence

Forty-five minutes, phase by phase

TimePhaseWhat happens in the roomGrouping
0 to 5 minHook: predictOpen with the question in the title, Know your attacker.. Some attacks target computers: guessing passwords, flooding servers, planting malware. Put the figure on the board: it is the one picture every idea in the lesson returns to.Whole class, then pairs
5 to 13 minTeach and check: Getting inThese three threats are about getting at data without permission. Project tab 5 of the lab (Cyber security threats) and let a student drive it while the class predicts. Model the worked example Brute-force arithmetic on the board, one line at a time.Whole class, then pairs
13 to 21 minTeach and check: Flooding and malwareA DDoS attack stops a service working; malware is software written to cause harm.Pairs
21 to 30 minTeach and check: Tricking peopleThese attacks aim at the user rather than the hardware. Project tab 5 of the lab (Spot the phishing email) and let a student drive it while the class predicts.Anticipation / Reaction Guide
30 to 36 minCheckThe four Stage 1 questions from the student lesson, answered on mini whiteboards or by show of fingers. Re-teach the one most get wrong.Individual, then whole class
36 to 43 minPlenaryThe exam-style questions from Stage 2, one at a time: thirty seconds alone, then a random call. The feedback lines in the key give the examiner's wording.Individual, random call
43 to 45 minExit and homeworkSet the worksheet below (6 questions, 17 marks). Learners self-assess against the objectives before they leave.Individual
Timing and contingency

Protect the parts that carry the learning

The sequence carries about fifty minutes of material, so the lab is driven by one student while the class predicts rather than explored freely. Times are a guide.

Protected: the check at 30 minutes. It is the only individual read on whether the key idea landed, and it is not cut.

Cut first if the build overruns: the last check in Tricking people, never the check or the plenary.

In a 60 minute block: run worksheet questions 1 to 3 in class as a Rally Coach set and model both the hardest worked example and its check live.

Running the cooperative task

Anticipation / Reaction Guide

Before the lesson, students mark five statements true or false. After the teaching they mark them again and justify any change of mind in one sentence each. The statements come from the examiner traps below.

The full structure, with its variations and the other twelve, is on the cooperative-learning page.

Examiner traps to pre-empt

What to head off, and how

Trap learners fall intoTeaching move that pre-empts it
"Hacking is when someone gets your data" is too vague.Say unauthorised access to a computer system, and give an aim such as stealing or deleting data.
A virus needs a host file and is spread when that file is run; a worm is standalone and spreads itself across networks.Do not use "virus" as the word for all malware.
Phishing needs the user to click a link in a message.Pharming needs no click: the user types the right address and is still redirected by malicious code.
Worksheet

Cyber security threats: worksheet

6 questions, 17 marks. Written in the style of the papers; no past paper question is reproduced.

NameClassDate
Q1 · explain[3 marks]

Describe the process and the aim of a distributed denial of service (DDoS) attack.

Q2 · explain[4 marks]

Explain the difference between phishing and pharming.

Q3 · recall[3 marks]

Describe what is meant by ransomware.

Q4 · explain[2 marks]

Explain how a worm differs from a virus.

Q5 · calculate[2 marks]

A PIN is made of 4 digits, each 0 to 9. A brute-force program tries 50 PINs per second. Calculate the maximum time needed to try every PIN.

Q6 · apply[3 marks]

An employee receives a phone call from someone claiming to be from the company's IT department, who asks for the employee's password to fix a problem. Identify the threat and describe its process and aim.

Answer key and marking notes
Q1 · 3 marks
  • Many computers are infected with malware to form a botnet.
  • They are all made to send large numbers of requests to a web server at the same time, so it is overloaded.
  • Aim: the server cannot respond to genuine users, so the website / service is unavailable.
Q2 · 4 marks
  • Phishing: the user is sent an email / message that appears to come from a trusted source.
  • It contains a link to a fake website where the user enters personal details.
  • Pharming: malicious code is installed on the user's computer or a DNS server.
  • It redirects the user to a fake website even when they type the correct URL (no link has to be clicked).
Q3 · 3 marks
  • Malware that encrypts the user's files / locks the computer.
  • So the user cannot access their data.
  • The attacker demands payment in return for the decryption key.
Q4 · 2 marks
  • A virus attaches to a host file / program and needs that file to be run (user action) to replicate.
  • A worm is a standalone program that replicates and spreads across a network by itself, without user action.
Q5 · 2 marks
  • There are 104 = 10 000 possible PINs.
  • 10 000 ÷ 50 = 200 seconds (3 minutes 20 seconds).
Q6 · 3 marks
  • Social engineering.
  • Process: the attacker manipulates / deceives a person by pretending to be someone trusted, so the person breaks security procedures.
  • Aim: to obtain confidential information (the password) and gain unauthorised access to the system.
Quiz

6 multiple-choice questions on this lesson

From the topic question bank. Assign them in the app for a marked score in your gradebook, or run the topic as a class game.

Q11 mark

Which describes the process of a distributed denial of service (DDoS) attack?

  • AMany infected computers in a botnet send huge numbers of requests to one server at the same time
  • BSoftware tries every possible password until the correct one is found
  • CA packet sniffer reads data as it travels across a network
  • DMalicious code redirects users to a fake website when they type a correct URL
Q21 mark

A user receives an email that appears to be from their bank. It asks them to click a link and confirm their login details on a website that looks like the bank's. What is this threat?

  • APhishing
  • BPharming
  • CA brute-force attack
  • DAdware
Q31 mark

A door lock uses a PIN of 4 digits, each from 0 to 9. A brute-force device tries 20 PINs every second. What is the longest it could take to try every possible PIN?

  • A500 seconds
  • B2 seconds
  • C200 000 seconds
  • D50 seconds
Q41 mark

Which type of malware is a standalone program that replicates itself and spreads across a network without any user action?

  • AWorm
  • BVirus
  • CTrojan horse
  • DRansomware
Q51 mark

A password is 5 characters long. Each character is a lowercase letter (a to z) or a digit (0 to 9). Software tries 1 000 000 passwords per second. What is the longest a brute-force attack could take, to the nearest second?

  • A60 seconds
  • B12 seconds
  • C1008 seconds
  • DLess than a millisecond
Q61 mark

A user types the correct address of their bank into the browser, but is taken to a fake copy of the bank's website. No email or link was involved. Which threat is this, and how was it carried out?

  • APharming: malicious code on the computer or a DNS server redirected the request
  • BPhishing: the user was sent a link to the fake website in an email
  • CData interception: a packet sniffer copied the bank's web page
  • DA Trojan horse: the bank's website was disguised as a game
Quiz key
Q1: A

In a DDoS attack the attacker uses a botnet of infected computers to flood one server with requests, so it cannot respond to genuine users. Trying every password is a brute-force attack, reading data in transit is data interception, and redirecting users to a fake site after they type a correct URL is pharming.

Q2: A

Phishing sends a message that appears to come from a trusted organisation, with a link to a fake website where the user enters personal details. Pharming redirects the user without any link being clicked. A brute-force attack guesses passwords, and adware displays unwanted adverts.

Q3: A

There are 10 × 10 × 10 × 10 = 10 000 possible PINs, and 10 000 ÷ 20 = 500 seconds (8 minutes 20 seconds). 2 seconds comes from adding 10 × 4 = 40 combinations instead of multiplying. 200 000 seconds comes from multiplying by the rate instead of dividing. 50 seconds uses only 1000 combinations (3 digits).

Q4: A

A worm is standalone and spreads itself across networks. A virus attaches to another file and spreads when that file is run. A Trojan horse is disguised as legitimate software that the user installs, and ransomware encrypts files and demands payment.

Q5: A

Each position has 36 possibilities, so there are 365 = 60 466 176 passwords; 60 466 176 ÷ 1 000 000 ≈ 60 seconds. 12 seconds uses only the 26 letters (265 = 11 881 376). 1008 seconds divides by 1000 instead of 1 000 000. Less than a millisecond comes from multiplying 36 × 5 = 180 combinations instead of raising 36 to the power 5.

Q6: A

Pharming redirects the user to a fake site even when the correct URL is typed, using malicious code on the user's computer or on a DNS server. Phishing needs the user to click a link in a message, which did not happen here. Data interception reads data in transit but does not redirect the user. A Trojan horse is malware disguised as useful software, not a disguised website.

Lab and demo

What to project

The student lesson embeds these tabs. Open them full screen on the projector; every slider has a drag handle on the stage.

Slides

Slides for this lesson

A projectable deck for every pack is on the way. Until then, present the student lesson full screen: its sections, figure and lab tabs follow the same order as the plan above.

Also for this topic

Everything else you can use

Original work by the TheLucidSTEM team. The worksheet items are written in the style of the papers; no past paper question is reproduced.
Previous lessonDigital currency and blockchain