Malware, short for malicious software, is any program written to cause harm. This lesson sorts the main kinds, shows how malware usually arrives, and how security software catches it.
Kinds of malware
- Virus: attaches itself to other files or programs and spreads when they are shared and opened.
- Worm: spreads by itself from computer to computer across a network, without anyone opening anything. WannaCry was a worm.
- Trojan: pretends to be something useful, such as a free game or a pirated copy of a paid app, and does harm once installed.
- Ransomware: locks files and demands payment (stations SECU and RISK).
- Spyware and keyloggers: secretly record what you do or type.
- Rootkit: hides deep in the system so that other malware cannot be seen.
How it arrives
Most malware arrives through a person: an email attachment, a download from a link, a pirated copy of paid software, an app installed from outside the official store, or a found USB stick. Worms arrive through unpatched flaws, which is why updates matter so much.
security software
Anti-malware software checks files and programs. The oldest method compares each file's fingerprint (station HASH) with a list of known harmful files, called signatures.
How it is caught
Security software uses signatures (fingerprints of known malware) and behaviour (what a program does). One of this course’s books says anti-malware relies mainly on signatures; modern tools, including Microsoft Defender, which is built into Windows, rely mostly on behaviour and on checks against their makers’ online services. Organisations use EDR (endpoint detection and response) tools, which also record what happened so a security team can investigate.
HOST-3 counts as completed once you step through the figure to its last step.