Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0478

Distinguish spyware, adware and ransomware

Identify the monitoring, advertising and extortion behaviours of three malware types.

Section 5 · The internet and its uses

Cambridge IGCSE Computer Science 0478 · The internet and its uses · 2026–2028 Version 6 · 5.3

This sequence follows Cambridge IGCSE Computer Science 0478, 2026–2028 syllabus Version 6. It covers subject content sections 5.1–5.3 only. The separately published 2029–2031 syllabus is not mapped here. Practice is original, self-checked and does not award an official Cambridge grade. Full timed papers and human subject-teacher review remain outstanding.

Before you begin

  • No programming language is required. Be comfortable with place value and multiplication; each lesson introduces the computer-science notation it uses.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

What does spyware aim to do?

What you will learn

  • Explain how spyware monitors activity
  • Explain adware's unwanted advertising
  • Explain ransomware's restriction or encryption demand

Malware can target privacy, attention or access

Spyware secretly monitors a user's activity or collects information. Adware displays or promotes unwanted advertisements, sometimes while also tracking behaviour.

Apply and check the rule

Ransomware restricts access to data or a device, commonly by encrypting files, then demands payment to restore access. Paying does not guarantee recovery. These behaviours can overlap with other malware, but the names describe the threat's main action.

Pause and explain

A program secretly records browsing activity. Which type best describes it?

Put the idea to work

Worked example

A user's files become encrypted and a message demands money for a decryption key. Identify the malware and its aim.

Show the worked solution
  1. The program prevents normal access to files.
  2. It demands payment for restoration.
  3. This is ransomware.

Answer Ransomware restricts access to files and demands payment; recovery is not guaranteed even if the user pays.

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

Classify each behaviour: secretly records browsing, forces unwanted adverts, encrypts files and demands money.

Give me a hint

Match the action rather than guessing from the delivery route.

Compare my reasoning
  1. Secret monitoring is spyware.
  2. Unwanted advertising is adware.
  3. File encryption followed by a payment demand is ransomware.

Spyware; adware; ransomware.

Look for these in your work

  • Monitoring type
  • Advertising type
  • Extortion type
2 · Independent

Why should a school back up important work to a protected location as well as use anti-malware?

Give me a hint

Consider the limit of prevention.

Compare my reasoning
  1. Anti-malware can reduce the chance of known threats running.
  2. A new or missed threat can still cause damage.
  3. A protected backup can help restore work if files become unavailable.

Anti-malware reduces risk, while a separate protected backup can support recovery if ransomware or another failure damages files.

Look for these in your work

  • Prevention benefit
  • Residual risk
  • Recovery control
3 · Transfer

A ransomware note promises files back after payment. Explain why the school should not assume payment solves the problem, and identify a safer recovery measure.

Give me a hint

A criminal's promise is not enforceable.

Compare my reasoning
  1. Payment does not guarantee a working decryption key or deleted copies.
  2. The school should isolate affected devices and follow its response plan.
  3. Restore from a clean, tested backup after the threat is removed.

Payment does not guarantee recovery. The school should isolate affected devices, seek appropriate support and restore from a verified clean backup when safe.

Look for these in your work

  • Promise limitation
  • Containment
  • Recovery

Common mistakes

  • Saying adware only shows harmless ads
  • Promising that paying ransomware always restores files
Recall without your notes

What can you explain now?

Which malware commonly encrypts files and demands payment?

Compare with the explanation

Ransomware

It restricts access and makes an extortion demand.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

State the main behaviour associated with spyware, adware and ransomware.

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Computer Science

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 6 syllabus, with worked explanations and guided, independent and transfer practice. This is mapped teaching coverage, not proof of full exam readiness. Three earlier starter lessons remain available but are not counted as syllabus-mapped teaching. Practical programming experience in an executable browser workspace, full timed-paper practice, human subject-teacher review and the separate 2029–2031 syllabus remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.