ScholaFly

CS09-02 Computer Science Watch

Malware

Watch on YouTube

In this lesson

Malware: how to define malware as hostile or intrusive software, describe how each named form gets in, spreads and does harm. AQA 8525, Edexcel 1CP2 and OCR J277 GCSE. Cyber security 2 of 8. Full Cyber security playlist: https://www.youtube.com/playlist?list=PLJVDXoq6lOTg More at https://scholafly.com

By the end: Define malware as hostile or intrusive software, describe how each named form gets in, spreads and does harm - virus, worm, trojan, spyware, key logger and ransomware, each tagged with the boards that name it - and say how malware is protected against.

What it covers

  1. 0:00 Intro: malware: virus, worm, trojan
  2. 0:42 Malware: virus, worm, trojan: hostile software
  3. 1:52 Host or no host
  4. 3:55 The trojan
  5. 5:43 Malware: virus, worm, trojan: spyware
  6. 7:33 Match each description: virus, worm
  7. 9:03 A malware question

Key words

About this video

Malware | GCSE Computer Science | CS09-02

Malware: how to define malware as hostile or intrusive software, describe how each named form gets in, spreads and does harm.
AQA 8525, Edexcel 1CP2 and OCR J277 GCSE. Cyber security 2 of 8.
Full Cyber security playlist: https://www.youtube.com/playlist?list=PLJVDXoq6lOTg
More at https://scholafly.com

Watch first: CS09-01 - https://youtu.be/gw7Pe3XzvxE
Video code: CS09-02 (search "ScholaFly CS09-02")

#GCSEComputerScience #CyberSecurity #MalwareVirusWormTrojan

For teachers
This GCSE Computer Science lesson teaches malware. By the end, students should be able to define malware as hostile or intrusive software, describe how each named form gets in, spreads and does harm - virus, worm, trojan, spyware, key logger and ransomware, each tagged with the boards that name it - and say how malware is protected against. It works through five worked examples and the mistakes examiners report.

Exam board specification references:
AQA 8525
- 3.6.2.2
Edexcel 1CP2
- 5.3.1
OCR J277
- 1.4.1

Read the transcript

A free game you downloaded lets a stranger control your computer. Most people would call it a virus. What is it really? Not a virus: a virus copies itself into other files, and this one never does. It got in because you chose to install it. Each kind of harmful program has its own way in, and calling every one a virus says nothing about how it works. Keep that free game in mind; its real name turns up in act three.

Malware is an umbrella term used to refer to a variety of forms of hostile or intrusive software. Hostile means built to do harm, and intrusive means it gets in where it was not invited. Which is right: every virus is malware, or all malware is a virus? Every virus is malware. Malware is the category, the name for all of them, and a virus is one form of it. The two words do not mean the same thing. Each form is described in the same order every time: how it gets in, how it spreads, and what it does once it is there. Six forms appear across the courses, and no course names all six. The courses that name each form are listed with it.

Start with the virus. A virus attaches itself to a host, a file or program that is already on the computer. It gets in riding inside that host, and it runs when someone opens it. Then it copies itself into other files, which is how it spreads. It can delete or change files, or slow the computer down. A worm is a standalone program, a program in its own right. It needs no host file, and nobody has to open anything. It copies itself and spreads across a network on its own, from computer to computer, often through a weakness in their software. Along the way it can clog the network and carry other harmful code. Now: something reaches every office computer overnight, with nobody touching a key. Virus or worm? A worm. Nothing was opened, so there was no host to ride in, and it moved by itself. One examiner's report on worms says: "The idea of worms self-replicating was the main correct response provided by students. Lots of incorrect responses were mostly confusing worms with a virus." It goes on: "A second mark was not awarded as there is no correct reference to how worms move". Self-replicating means copying itself, and that half is well known. The fix is the other half: a worm moves across a network by itself, with no host file.

Disguise is how a trojan gets in. It pretends to be something useful or wanted, like a free game or a battery-saving app, so the user installs it themselves. It does not copy itself, which is why it is not a virus. Once installed, it might open a back door, a hidden way in that lets someone else control the computer. Put the three side by side. A virus and a worm both copy themselves, and a trojan does not. Only the virus needs a host. A student meets a question asking how a trojan works, and writes: it deletes your files and steals your data. Why does that answer miss what was asked about how a trojan works? It says what a trojan does, not how it works. A better answer: a trojan disguises itself as software the user wants, so the user installs it. On a question like that, a report says: "Often students focused on what these forms of malware are or do, rather than answering the question, which was how they work." The habit that fixes it: say how it gets in and how it spreads first. What it does comes last, because on its own it is a result, not a way of working.

The second three forms are each after something different. Spyware secretly gathers information about the user, such as the websites they visit, and sends it to someone else. It usually gets in hidden inside something the user chose to install, and it spreads no further. It stays quiet, because being noticed would end it. A key logger records every key that is pressed, to capture passwords and bank details. It is a specific kind of spyware, not a separate family. Asked for two different threats, a student gives spyware and a key logger. Good pair? No. A key logger is one type of spyware, so that is the same threat named twice. Another report records the same slip: "Some responses gave a keylogger which was a repeat of spyware because it is a specific type of spyware." The fix: when a question wants a different threat, take one from a different family, such as a worm or a trojan, never a cousin of the first. Ransomware encrypts the victim's files, scrambling them so they cannot be read without a key. Then it demands payment for that key. Paying guarantees nothing, and the files may never come back. The protection that works is a backup made before the attack.

Four descriptions now, each to be matched to a virus, a worm, a trojan or spyware. a, a free battery-saver app that quietly sends your location to a stranger. b, a program that copies itself to every computer on a school network overnight. c, code hidden in a document that runs when the document is opened. d, a game download that lets someone else control your computer. Match a, b, c and d to virus, worm, trojan and spyware, one each. a is spyware. It came in disguised, like a trojan, but what it does is gather your location and pass it on. b is the worm, spreading with nobody's help. c is the virus: it rode in a host and ran when that host was opened. d is the trojan: it got in disguised as something you wanted. For a, the name follows what it does once inside. If a question asks how it got in, disguise is the answer to give.

Six forms is more than any one course names, so a question will often name only some of them. A question names a virus, a trojan and spyware. A student describes all three, then adds a paragraph on worms and ransomware. What does that extra paragraph on worms and ransomware earn? Nothing at all. Only the listed ones were asked for, however accurate the extra paragraph is. A report on a question that named its forms says: "Some students inserted their own examples of malware, such as worms, adware or ransomware. These responses gained no marks." The fix is in the question itself. Underline the forms it names, write about those, and leave every other form out, however well you know it. Protection comes last. Anti-malware software, kept up to date, finds and removes known malware, and how it does that is in the video Protecting systems, networks and data. Install updates for the operating system, the software that runs the whole computer, and for other programs, because they close the weaknesses worms use. Do not open unexpected attachments or download from sources you do not trust. And keep backups, so ransomware costs you nothing. Now two at once, key logger then ransomware: how is each used, what for, one protection? A key logger is hidden on the computer, often arriving inside a trojan, and records each key pressed. It is for stealing passwords and bank details. Anti-malware kept up to date finds it. Ransomware gets in like other malware, then scrambles the victim's files and demands money for the key. It is for extortion, getting money by threats. A copy of the files made before the attack is the protection.

The same three things carry the recap: how it gets in, how it spreads, and what it does. Files locked, money demanded for the key. Which form, and what would have saved them? Ransomware. A backup made before the attack, kept somewhere it could not reach. Now, of a virus and a worm, which needs a host, and which spreads with nobody's help? The virus needs a host file, and someone to open it. The worm spreads across a network by itself. Another case: a free speed-booster app logs every key typed. How did it get in, and what is it? By disguise, as a trojan does: you chose to install it. What it does makes it a key logger, a kind of spyware. One more: the game you wanted, from the start. Which form, and does it copy itself? A trojan. It got in through disguise, because you installed it yourself, and it does not copy itself.

Up to this one, each video in the chapter gets its mark. Tell all six forms apart, and a thumbs up says it has clicked, so you can skip it next time. If they are still blurring together, keep the video somewhere you can find it. Nobody keeps six forms straight the first time through.

Next in the chapter: Social engineering, the attacks aimed at people. Hopefully that's next in your feed, but if not, search for ScholaFly C S oh nine, oh three.

Every other video is on scholafly.com too, easy to search by video code or by keyword. Whatever you're revising, go there and have a look, or, watch the next video.

Related terms

For: AQA GCSE 8525, Edexcel GCSE 1CP2, OCR GCSE J277

On the specification

BoardSpecStatement
AQA GCSE 85253.6.2.2Define malware, describe computer viruses, trojans and spyware, and explain how malware can be protected against.
Edexcel GCSE 1CP25.3.1Cybersecurity
OCR GCSE J2771.4.1Threats to computer systems and networks
For teachers

This GCSE Computer Science lesson teaches malware. By the end, students should be able to define malware as hostile or intrusive software, describe how each named form gets in, spreads and does harm - virus, worm, trojan, spyware, key logger and ransomware, each tagged with the boards that name it - and say how malware is protected against. It works through five worked examples and the mistakes examiners report.