Sub topic 17
When a System Fault Is Really Malware
This chapter assumes you know the CompTIA troubleshooting methodology, can open Task Manager and Event Viewer, and have read the chapters on performance degradation and application crashes. Here you learn to recognize when a "Windows problem" is actually an infection, and how to respond without destroying evidence or spreading the damage.
Why malware overlaps with ordinary faults
Malware is software built to run without the user's informed consent. It uses the same resources as legitimate programs: CPU, memory, disk, network and startup entries. Because of that, its side effects look like ordinary faults. A machine that is slow, crashes often or loses its network connection may have a failing driver, or it may have an infection.
The skill the exam tests is not memorizing a symptom list. It is noticing when the pattern does not fit a normal cause. A single slow application points to the application. Slowness that began suddenly, together with pop-ups and a changed browser home page, points to malware.
Common symptoms and what they usually mean
| Symptom | Ordinary cause to rule out | Malware pattern |
|---|---|---|
| Sudden slow performance | Too many startup items, low RAM, failing disk | High CPU or disk use by an unknown process, often when the user is idle |
| Pop-ups and unwanted browser tabs | A legitimate site's ads | Pop-ups when no browser is open, or on every site |
| Browser redirects | A bad DNS setting or proxy | Search results sent to unfamiliar sites, new toolbars, changed home page |
| Antivirus disabled | A license expired or an update failed | Protection turned off and cannot be re-enabled |
| Renamed or encrypted files | A file system error | A ransom note and files with a new extension (ransomware) |
| Certificate warnings on trusted sites | Wrong system clock | Traffic intercepted by a rogue proxy or root certificate |
| Email sent from your account that you did not write | A shared password | A compromised account or a spam-sending bot |
| Missing or changed system files | Disk corruption | Files replaced or hidden by a rootkit |
| Unexpected network traffic | Windows Update or backups | Constant outbound connections to unknown hosts |
| Fake security alerts | A real security product | Rogue antivirus (scareware) demanding payment |
Several of these overlap with earlier chapters. Time drift can trigger certificate errors, and corrupt system files can cause crashes. Rule out the ordinary cause first, because it is cheaper to test.
Malware types you must tell apart
The exam names these categories, so learn what each one does.
- Virus: attaches to a file and spreads when the file is run.
- Worm: spreads across a network by itself, with no user action.
- Trojan: looks like legitimate software but carries a harmful payload.
- Ransomware: encrypts files and demands payment for the key.
- Spyware: secretly collects information such as browsing habits or credentials.
- Keylogger: records keystrokes to capture passwords.
- Rootkit: hides itself and other malware by modifying the operating system, often at a low level.
- Botnet client: turns the PC into a "zombie" that takes remote commands, often for spam or denial-of-service attacks.
- Cryptominer: uses your CPU or GPU to mine cryptocurrency, which causes sustained high usage and heat.
- Adware and browser hijackers: show ads or change browser settings.
- Scareware (rogue antivirus): displays false infection warnings to sell a fake cleaner.
Rootkits matter for the exam because they hide from the running operating system. A scan run from inside Windows may miss them. That is why a bootable scanner or Windows Defender Offline is the recommended tool.
Gathering evidence before you act
The troubleshooting methodology still applies. Identify the problem, then research and test a theory. Gather evidence with the tools you already know.
- Task Manager. Sort by CPU, memory and disk. Look for processes with random names, no publisher, or a path outside
C:\WindowsandC:\Program Files. Right-click a process and choose Open file location. - Resource Monitor. The Network tab shows which processes are talking to which remote addresses. An unknown process with constant outbound traffic is suspicious.
- Startup entries. Check the Startup tab in Task Manager and the scheduled tasks. Malware often adds itself so it survives a restart.
- Event Viewer. Look for repeated failed sign-ins, services installed unexpectedly, or a security product being stopped.
- Browser extensions and proxy settings. Hijackers change these.
The following PowerShell command lists processes that use the most CPU time. It helps you spot an unknown process quickly.
Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, Id, CPU, PathA blank Path for a process can mean you lack permission to read it. Run the prompt as administrator before drawing conclusions.
The remediation sequence
CompTIA lists a specific order for malware removal. Memorize it, because exam questions ask "what is the next step?"
Here is why each step sits where it does.
- Quarantine first. Disconnect the network cable, disable Wi-Fi, and move the machine away from shared storage. This stops worms, stops data leaving the machine, and protects other systems.
- Disable System Restore before cleaning. Restore points may contain infected files. If you leave them, a later restore can bring the malware back. Disabling System Restore also deletes the old restore points.
- Remediate. Update the anti-malware definitions first (using a clean computer and removable media if the infected PC is quarantined). Then scan and remove. If the normal scan fails or the malware blocks it, boot into Safe Mode, or use a bootable rescue disc or Windows Defender Offline. Safe Mode loads minimal drivers and services, so many threats do not start.
- Schedule scans and updates. Set automatic scans and keep Windows and anti-malware current.
- Re-enable System Restore and create a new restore point. This gives a clean recovery point.
- Educate the user. Explain the cause, such as a phishing attachment or an unofficial download, so it does not happen again.
Special cases
Ransomware
Do not pay as a first response. Isolate the machine immediately, and restore from a clean backup if one exists. Check that the backup is not itself encrypted or connected to the infected host.
Rootkits
If a rootkit is confirmed or strongly suspected, scanning may not be enough. The most reliable fix is often to back up the data (scanned separately), wipe the drive, and reinstall Windows from trusted media.
Disabled antivirus and blocked tools
If malware stops the security product from running, or blocks sites such as security vendors, treat that as strong evidence of an infection. Use an offline scanner instead of trying to repair the installed product.
Rogue antivirus pop-ups
Do not click inside the pop-up. Close the browser from Task Manager, then run a scan with a trusted tool. Clicking "Remove" or "Scan" in a fake alert can install the malware.
Corrupted system files after removal
Malware often damages system files. After cleaning, run sfc /scannow and, if needed, DISM /Online /Cleanup-Image /RestoreHealth. Also check the hosts file and proxy settings for leftovers.
Common mistakes
- Cleaning before quarantining, which lets the infection spread or keep communicating.
- Leaving System Restore on, which may restore infected files.
- Treating a symptom as the cause. Fixing a slow PC by adding RAM does not remove a cryptominer.
- Trusting a scan run from the infected, running system when a rootkit is possible.
- Skipping user education, which leads to reinfection.
Worked example
A user reports that a laptop became slow overnight. Their browser home page changed, and a "security warning" keeps appearing.
- Identify: Task Manager shows an unfamiliar process using 80% of the CPU. Its file location is in a user's temporary folder.
- Theory: The symptoms (hijacked browser, fake alert, high CPU from an unsigned process) fit adware or a cryptominer.
- Quarantine: Disconnect from the network.
- Disable System Restore.
- Remediate: Boot into Safe Mode with Networking only if updates are needed, update definitions, and run a full scan. Remove the browser extension and reset the home page.
- Verify: CPU use returns to normal and the fake alerts stop. Run
sfc /scannow. - Restore and educate: Re-enable System Restore, create a restore point, and tell the user which download caused it.
- Document the findings.
Exercise
A technician finds that a workstation shows pop-ups, redirects searches, and will not let the user open the antivirus console. The technician has confirmed the symptoms are caused by malware. According to the CompTIA remediation order, what should the technician do next?
Show answer
Quarantine the infected system by disconnecting it from the network. Quarantine comes right after identifying and verifying the symptoms. Disabling System Restore and scanning follow it.
Exercise
Why should System Restore be disabled before removing malware, and what should be done once the system is clean?
Show answer
Old restore points can contain infected files, and restoring one later could bring the malware back. Disabling System Restore removes those points. After the system is clean, re-enable System Restore and create a new restore point.
Exercise
A normal antivirus scan run in Windows finds nothing, yet the PC still shows hidden processes and network traffic to unknown hosts. What kind of malware is likely, and what is a good scanning approach?
Show answer
A rootkit is likely, because it hides from the running operating system. Scan from outside Windows, using a bootable rescue disc or Windows Defender Offline. If the rootkit cannot be removed with confidence, back up the data and reinstall Windows.