Sub topic 12
The seven-step malware removal process
This chapter assumes you know the common malware types (viruses, ransomware, trojans, spyware) and can use Safe Mode, Task Manager and Windows Settings. It covers the CompTIA A+ Core 2 (220-1102) malware removal best practice. The exam tests the order of the steps, so learn the sequence and the reason behind each step.
The seven steps
- Investigate and verify malware symptoms.
- Quarantine the infected systems.
- Disable System Restore in Windows.
- Remediate the infected systems.
- Update the anti-malware software.
- Scan and use removal techniques (Safe Mode, pre-installation environment).
- Schedule scans and run updates.
- Enable System Restore and create a restore point in Windows.
- Educate the end user.
Why the order matters
Step 1: Investigate and verify
Confirm that the symptoms point to malware before you act. Pop-ups, redirects, disabled security tools and unexplained slowness can also come from a failing drive or a misconfigured browser. Check Task Manager, startup entries and the hosts file. This step is the identification phase of the CompTIA troubleshooting method.
Step 2: Quarantine
Quarantine means isolating the system so the malware cannot spread or contact its controller. Unplug the network cable, turn off Wi-Fi and disconnect removable drives. Do this before you clean anything. Worms spread over the network, and ransomware can encrypt shared folders.
Step 3: Disable System Restore
System Restore stores restore points. Malware can hide in those points, and a scan often cannot clean them. If you leave System Restore on, restoring later could bring the infection back. Disabling it also deletes the existing restore points, which removes that hiding place.
Step 4: Remediate
First update the anti-malware signatures, because an old signature set misses new threats. Then scan and remove. If the malware resists, boot into Safe Mode, which loads only core drivers and services, so most malware does not start. For rootkits or boot-sector infections, use a pre-installation environment such as Windows PE or a bootable rescue disk. Scanning from outside the infected OS prevents the malware from hiding its files. Repeat the scan until it comes back clean. If the system cannot be cleaned, reimage it.
Step 5: Schedule scans and run updates
Set recurring scans and turn on automatic updates for the OS and the anti-malware tools. Patching closes the vulnerability the malware used.
Step 6: Enable System Restore
Turn System Restore back on and create a new restore point. This point is clean, so the system has a safe fallback.
Step 7: Educate the end user
Explain how the infection likely happened and how to avoid it. Cover phishing links, untrusted downloads and attachments. Users are the usual entry point, so training prevents repeat incidents.
Common exam traps
| Wrong choice | Why it is wrong |
|---|---|
| Run a full scan before disconnecting from the network | Skips quarantine, so the malware can spread |
| Restore from an old restore point to remove the malware | System Restore may hold the infection, and it is not a removal method |
| Re-enable System Restore before the scan | The restore points would store the infection |
| Reformat the drive as the first action | Causes needless data loss before you verify or try remediation |
| Educate the user first | Education is the last step |
Worked example
A user reports pop-ups and a very slow PC. You confirm the symptoms and see an unknown process using the CPU. You unplug the network cable. You turn off System Restore. You update the anti-malware signatures from another clean machine, then reboot into Safe Mode and scan. The scan removes two items and a second scan is clean. You schedule a weekly scan, turn automatic updates on, re-enable System Restore and create a restore point. Finally you explain to the user that the infection came from a bundled installer.
Exercise
A technician has confirmed that a workstation is infected with a worm. The workstation is still connected to the office network. What is the next step, and which step comes after it?
Show answer
Quarantine the workstation by disconnecting it from the network (step 2). After that, disable System Restore (step 3), and only then update the anti-malware software and scan (step 4).
Exercise
Why do you disable System Restore before you remediate, and when do you turn it back on?
Show answer
Malware can be stored in restore points, and scanners often cannot clean them. Disabling System Restore removes those points so a restore cannot bring the infection back. You turn it on again in step 6, after scans are scheduled and updates are applied, and then you create a new clean restore point.