Module 18 · Malware Analysis · Lesson 52 of 75
Malware types and a safe analysis lab
The main families of malicious software, what each one wants, and how analysts build an isolated lab so a sample can never escape.
In this lesson · about 30 minutes
- Tell viruses, worms, trojans, ransomware, RATs, rootkits and loaders apart
- Describe the goals of malware analysis and its levels
- Set up an isolated analysis lab and handle samples safely
Common families
| Type | What it does |
|---|---|
| Virus | Attaches to files and spreads when they are run |
| Worm | Spreads itself across networks with no user action (WannaCry used an SMB flaw) |
| Trojan | Pretends to be useful software and carries a hidden payload |
| Ransomware | Encrypts files (and often steals them first) to demand payment |
| RAT / backdoor | Gives the attacker remote control |
| Infostealer | Takes saved passwords, browser cookies and crypto wallets |
| Loader / dropper | A small first stage that downloads or unpacks the real payload |
| Rootkit | Hides itself and other malware from the operating system |
| Botnet agent | Joins the machine to a network of bots for spam, DDoS or mining |
| Fileless malware | Lives in memory and in scripts (PowerShell, WMI) instead of files on disk |
Why analyse malware?
- Get indicators of compromise (hashes, domains, IPs, file paths, mutexes) to hunt for other infections.
- Understand capability: does it steal data, spread, or encrypt? That decides how urgent the response is.
- Write detections (YARA, EDR and SIEM rules) and feed threat intelligence (Module 19).
Levels of analysis
- Automated: submit to a sandbox and read the report (minutes).
- Basic static: look at the file without running it: hashes, strings, headers, imports.
- Basic dynamic: run it in the lab and watch processes, files, registry and network.
- Advanced: reverse engineering with a disassembler and debugger (Ghidra, IDA, x64dbg).
The safe lab
- A dedicated Windows VM (often with FLARE-VM tools) and a Linux VM (REMnux) on a host-only network, with no shared folders or clipboard.
- Take a clean snapshot and revert after every run.
- Fake internet services (INetSim, FakeNet-NG) so malware "talks" to you instead of the real attacker.
- Store samples in password-protected zips (the convention is the password
infected) and rename them with a harmless extension such as.bin, so nobody double-clicks one. - Never analyse on your work laptop, and follow your employer's rules on sharing samples: uploading a client's file to a public sandbox can leak their data.
Sorting drill
Name the family
Sort each description into the type of malware it describes.
- Encrypts the file server and leaves a note asking for bitcoin
- Spreads from PC to PC through an unpatched network service, with no clicks
- A free 'PDF converter' that quietly downloads a second program
- Grabs saved browser passwords and session cookies, then uploads them
- Threatens to publish stolen data unless paid, after locking the files
- A macro document whose only job is to fetch and run the next stage
0 of 6 sorted
Check your understanding0 of 3 correct
Quiz score: 0 of 3
Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.