Skip to content
Cambridge AS & A Level9626

Malware

Information Technology 9626 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Malware notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Malware notes as text: skim, search, and jump between subtopics.

~10 min read

1. Trojans and worms

A trojan is a program that looks like a legitimate program or file. It is meant to get the victim to open it. When it is run, the malware is activated and it creates a back door into the computer. A trojan does not replicate itself or infect other files.

A worm replicates itself and spreads. It exploits security holes, and it slows down a network or computer.

With a back door, a third party can copy data from the computer, gain control of it or set up a DDOS attack.

Examiner insight

“As malware was included in the question, this was not awarded.” “A lot of responses identified what a worm does though some confused this with a virus or spyware.”

Worked example 13 marks

Describe what is meant by the malware term trojan.

  1. 1

    It looks like a legitimate program or file, intended to get the victim to open it [1]

  2. 2

    When the program is run, the malware is activated [1]

  3. 3

    It creates a back door to gain access to the computer, so a third party can e.g. copy data or gain control [1]

2. Spyware, rootkits and malicious bots

Spyware secretly records what a user does, for example with a keylogger, and captures personal data. It is not the same as anti-spyware, which is the software that fights it.

A rootkit is designed to give continued privileged or administrator access to a computer. It is hidden deep within the computer, so it is difficult to get rid of.

A malicious bot is malware that lets a third party control a device. A group of such devices is a botnet. The controller can use it to collect user credentials or to carry out DoS attacks. Spambots and zombiebots are two kinds.

Examiner insight

“Although most responses indicated that it was detrimental to computers, there was little description of what it actually did.” “A minority of responses confused spyware with anti-spyware.”

Worked example 13 marks

Describe what is meant by the malware term rootkit.

  1. 1

    It is designed to give continued privileged/administrator access to a computer [1]

  2. 2

    It is hidden deep within the computer [1]

  3. 3

    It is difficult to get rid of / remove [1]

3. Adware and ransomware

Adware generates adverts, often as pop-ups in the user's browser. Its purpose is to generate income for a third party. It can install itself without the user's knowledge, and it can track browsing history to target the adverts.

Ransomware locks or encrypts files, devices or systems so they cannot be used. The attacker contacts the victim and demands a ransom. Access is not regained until the ransom is paid.

Examiner insight

“For Adware, many candidates failed to mention that the fundamental rationale for adware was to increase sales, thereby increasing revenue.” “Where candidates repeat the question, marks may not be awarded for that part of the answer.”

Worked example 14 marks

Describe the following types of malware:(b) ransomware.

  1. 1

    It locks/encrypts access to files, devices or systems [1]

  2. 2

    so they cannot be used [1]

  3. 3

    The hacker contacts the victim and demands a ransom [1]

  4. 4

    Access cannot be regained until the attacker receives the ransom payment [1]

4. Uses of malware

Malware is written to benefit whoever controls it. The syllabus names four uses: fraud, theft, industrial espionage and sabotage.

Malware can gather information that is then used for fraud. It can steal secrets that a competing firm uses to its advantage. Examiners also credit extortion and tracking a user's keystrokes.

Worked example 12 marks

Malware can be used to gather information to enable people to commit fraud. Identify two other uses for malware.

  1. 1

    To commit theft [1]

  2. 2

    To commit industrial espionage (sabotage is also credited) [1]

5. Consequences of malware

For an organisation, malware can mean loss of access to data, devices or systems. Data can be released, leaked or sold. There is financial cost, business disruption and reduced productivity, and a loss of revenue.

It can also bring liability, compliance costs and the risk of prosecution, and a reduction in customer confidence.

For an individual, spyware can capture personal data, and fraud or theft can follow. Always tie an effect to the victim in the question.

Worked example 12 marks

A company has been hit by a ransomware attack. Describe the possible effects of this ransomware attack on the company.

  1. 1

    The company will lose access to its data, devices, files or system [1]

  2. 2

    Business disruption and reduced productivity, with a loss of revenue [1]

6. Preventing malware

Anti-malware software scans the computer to find malware. Scans can happen automatically. An infected file can be quarantined, or the user can be asked whether to delete it. It must be kept up to date.

A firewall is a separate tool. It filters data packets and blocks or reports suspicious findings.

Physical and procedural methods include published anti-malware policies, and staff who report suspicious emails and are suspicious of links. Staff must not connect removable media or personal devices. A stand-alone computer can be used to check files, and security guards and locks stop physical access.

Examiner insight

“Candidates should avoid vague phrases such as 'use anti-virus', 'use firewall', 'make sure it is https' as these lacked enough detail to gain credit.” “A small number of candidates confused anti-virus software with firewalls.”

Worked example 16 marks

Computer systems can be affected by malware. A network manager has already installed malware prevention software. Describe additional methods the network manager can use to help prevent malware from entering the computer systems.

  1. 1

    Publish anti-malware policies for staff [1]

  2. 2

    Teach employees to report malicious websites and suspicious emails [1]

  3. 3

    Instruct employees to be suspicious about clicking on links [1]

  4. 4

    Instruct employees not to connect removable media or personal devices to the network [1]

  5. 5

    Provide a dedicated stand-alone computer to check for viruses [1]

  6. 6

    Keep the operating system, browser and other software up to date [1]

7. Weighing the methods

Anti-virus software gives automatic protection, but it uses up processing power and memory and so slows the system. It only knows known viruses, so it must be updated. It can give a false sense of security, can flag a safe file in error (a false positive), and does not check all types of malware, such as rootkits.

Physical methods work only if staff follow them, and new or temporary staff may not know them. They are not automatic. Ransomware is more likely to arrive over a network than physically.

An evaluation ends in a judgement based on two arguments.

Examiner insight

“An evaluation required candidates not only to give the advantages and disadvantages of the software but to assess the importance of these when combatting IT crime.” “However, few candidates discussed its effectiveness.”

Worked example 16 marks

A company has been hit by a ransomware attack. Evaluate the use of physical methods to prevent a second ransomware attack on the company.

  1. 1

    Definition: a physical method of prevention, for example a stand-alone computer for virus checking [1]

  2. 2

    Positive: physical defences can state how external devices can be used [1]

  3. 3

    Therefore users know how to make them safe [1]

  4. 4

    Negative: physical defences require the user to follow them [1]

  5. 5

    and so may be ignored [1]

  6. 6

    Conclusion: a value judgement based on two arguments [1]

Recap

  • Trojan: looks like a legitimate program, creates a back door, does not replicate.
  • Worm: replicates itself, exploits security holes, slows a network or computer.
  • Spyware records user activity (keylogger). Rootkit: continued administrator access, hidden deep.
  • Adware generates income from adverts. Ransomware locks or encrypts files until a ransom is paid.
  • Uses: fraud, theft, industrial espionage, sabotage.
  • Consequences: loss of access, disruption, lost revenue, data leaked, lost customer confidence.
  • Prevention: up-to-date anti-malware, firewall, policies, no removable media, stand-alone checking computer.
  • Evaluate: advantages, disadvantages, then a judgement.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State one difference between a worm and a trojan.1 mark
    Answer
    1. A worm replicates itself, but a trojan does not replicate or infect other files [1].

    Trap: Describing a worm as a virus, which examiners reported as a confusion.

  2. Name the malware that is hidden deep in a computer and gives a hacker continued administrator access.1 mark
    Answer
    1. Rootkit [1].

    Trap: Answering spyware because both are hidden.

  3. Malware is sometimes used for fraud. Identify two other uses of malware.2 marks
    Answer
    1. Theft [1] and industrial espionage, or sabotage [1].

    Trap: Repeating fraud, which the question has already given.

  4. Explain why a worm can make a school network slow.2 marks
    Answer
    1. A worm replicates itself [1], and the copies slow the network down [1].

    Trap: Saying the worm deletes files, or confusing it with a virus.

  5. A company finds a program that records every key pressed by its staff. Name this type of malware and describe what it is used to collect.3 marks
    Answer
    1. Spyware, using a keylogger [1].
    2. It captures what users type, such as personal data [1], which a third party can use, for example for fraud [1].

    Trap: Writing anti-spyware.

  6. A student downloads a free photo editor from an unofficial website. It works as a photo editor, but later a stranger copies files from her computer. Identify the malware and explain how it works.3 marks
    Answer
    1. A trojan [1].
    2. It looked like a legitimate program [1] but created a back door for the third party [1].

    Trap: Calling it a virus.

  7. A rival firm infects a design studio's computers with malware that copies the studio's new designs. Name this use of malware and explain how the rival gains.3 marks
    Answer
    1. Industrial espionage [1].
    2. The malware steals the studio's secrets [1], which the competing firm uses to its advantage [1].

    Trap: Naming only fraud or theft.

  8. A clinic's computers are hit by ransomware. Describe the ransomware and two effects on the clinic.4 marks
    Answer
    1. Ransomware locks or encrypts files so they cannot be used [1]. The hacker demands a ransom [1].
    2. Effect: loss of access to data and devices, so work is disrupted [1].
    3. Effect: financial cost of the ransom, or loss of revenue [1].

    Trap: Saying ransomware steals the files and returns them once the ransom is paid.

  9. Describe how anti-malware software helps to protect a laptop from malware.3 marks
    Answer
    1. It scans the computer to find malware, and scans can happen automatically [1] [1].
    2. Infected files are quarantined, or the user is asked whether to delete them [1].

    Trap: The vague phrase 'it protects from viruses'.

  10. A school bans memory sticks and provides one stand-alone computer on which any file brought in must be checked first. Evaluate this physical method of preventing malware.6 marks
    Answer
    1. Positive: a stand-alone computer lets devices be checked [1], so malware is found before it reaches the network [1].
    2. Negative: staff must follow the rule and may ignore it [1]; new staff may not know it [1].
    3. Conclusion: a judgement, for example that it helps but needs anti-malware software as well [1].

    Trap: Describing the method and listing points without a conclusion.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Ransomware steals your files and gives them back if you pay.Ransomware locks/encrypts access to files so they cannot be used until a ransom is paid.
Adware is malware that shows pop-ups.Adware places adverts to generate income for a third party.
A trojan is a virus that spreads to other files.A trojan looks like a legitimate program and creates a back door. It does not replicate.
Use anti-virus and a firewall.Anti-malware scans the computer and quarantines infected files. A firewall filters data packets.

Frequently asked questions

What is the difference between a trojan and a worm?
A trojan is a program that looks like a legitimate program or file, and it creates a back door into the computer when it is run. A trojan does not replicate itself or infect other files. A worm replicates itself and spreads, exploits security holes, and slows down a network or computer.
What does ransomware do to a computer?
Ransomware locks or encrypts files, devices or systems so they cannot be used. The attacker contacts the victim and demands a ransom. Access is not regained until the ransom is paid, so ransomware does not steal the files and return them.
What is a rootkit, and why is it hard to remove?
A rootkit is designed to give continued privileged or administrator access to a computer. It is hidden deep within the computer, so it is difficult to get rid of. Spyware is different: it secretly records what a user does, for example with a keylogger.
What are the uses of malware besides fraud?
The syllabus names four uses of malware: fraud, theft, industrial espionage and sabotage. Malware can also steal secrets that a competing firm uses to its advantage, which is industrial espionage. Examiners also credit extortion and tracking a user's keystrokes.
How can a company prevent malware from entering its computer systems?
Anti-malware software scans the computer to find malware, and it must be kept up to date. Physical and procedural methods include publishing anti-malware policies, teaching staff to report suspicious emails, and not connecting removable media or personal devices. A stand-alone computer can be used to check files. Vague phrases such as 'use anti-virus' earn no credit.
What is the disadvantage of relying on physical methods to prevent malware?
Physical methods work only if staff follow them, and they are not automatic. New or temporary staff may not know them. An evaluation ends in a judgement based on two arguments, so give the positive and the negative points before concluding.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters