Viruses, Worms, Trojans and Malware Prevention
Read the clue that identifies the threat
Malware is software or code that can deliberately harm a device, misuse data or disrupt normal operation. In these exam questions, the useful clues describe what the code does and how it reaches other systems.
- Virus. The code gets into a host file or program and can copy itself into other files or programs when the infected host runs. The infected host is your main clue.
- Worm. A standalone program makes copies of itself and spreads between systems. It can replicate without inserting itself into another program. Independent spread is your main clue.
- Trojan horse. A program appears useful or harmless and conceals a harmful purpose. Disguise is your main clue. A Trojan can bring additional malware with it, so a real incident may show several behaviours.
Clue in the question ↓ Infects another file → virus Spreads as its own program → worm Useful-looking disguise → Trojan horse
Worked example. A lab finds that a program reached several computers on its own over the network. It runs as a separate program and no host file needs to carry it. The combination of making copies and spreading independently points to a worm. If a program advertised as an image viewer hides code that copies private files, the apparent usefulness and hidden purpose point to a Trojan. A slow computer by itself gives too little evidence to pick a type. NIST guide, malware categories
Match the protection to the situation
- Unexpected file or installer. Verify a surprising attachment through a contact you already trust. Use the software maker's official site or a trusted app store for downloads. Leave unknown files unopened while you check.
- Known software flaw. Install supported security updates for the operating system and applications. A patch closes the weakness it addresses. Keeping real-time malware protection and its detection data up to date provides another layer.
- Security alert. Read the alert from the security app. An item in quarantine has been isolated and blocked from ordinary use. Leave an unverified item quarantined. On a work or school device, report the event to the support team through the usual channel.
Unexpected attachment ↓ Leave it unopened ↓ Verify separately ↓ Report if suspicious
Worked example. A message that appears to be from your course coordinator says an updated timetable is attached. You were not expecting it. Open the course portal yourself or ask the coordinator using a known contact method. This lets you check the claim while the attachment stays unopened. CISA phishing guidance · Microsoft malware prevention · Microsoft on quarantine · SSC CGL computer syllabus
Sign in to keep your progress. Sign in