The steps you need to take in the face of infection.
The scenarios differ, but the problem’s always the same: a machine has been infected with some form of malware, and the machine’s owner is having a tough time getting rid of it.
Often there’s even anti-malware software installed that “should” have taken care of it before things got to this stage.
Hopefully, that’ll never be you.
Let’s review the steps I recommend for removing malware and reducing the chances it’ll happen again.
Become a Patron of Ask Leo! and go ad-free!
- Back up the infected machine for an additional safety net and data recovery later.
- Restore to backups taken prior to the infection if you can.
- Update your security software database and run full scans of your disks.
- Try additional anti-malware tools.
- Look for removal instructions specific to the malware you have, if possible.
- If unsuccessful, give up: back up, reformat, and reinstall everything from scratch.
- Prevention (and preparation in the form of a backup) are by far the easiest solutions.
A word about prevention
If there’s one thing I would have you take away from this, it would be this: Prevention is less painful than the cure.
As we’ll see shortly, the steps to remove malware can be painful and time consuming. You run the risk of losing data.
Knowing how to stay safe on the internet is much, much easier in comparison.
Let’s look at what to do when prevention has failed.
My strong recommendation is to start by taking a complete image backup of your system.
Why would you want to back up a system you know is infected with malware?
A backup taken now is an “it-can’t-get-any-worse-than-this” fallback. Some of the techniques we use to remove malware run the risk of breaking things and making the situation worse. With this backup at the ready, you can always restore and start over with nothing lost.
Restore a prior backup
If you’ve been taking regular backups, this is the most expedient step, and can save a lot of time and energy.
Simply restore your machine completely from the most recent full system backup plus any incremental backups (often handled transparently by your backup software) taken before the infection occurred.
Except for learning from the experience, you’re done.
Unfortunately, most people don’t have this option available. Most people don’t begin backing up until after they’ve experienced data loss or a severe malware infection. One of the lessons they learn is that a recent backup can save them from almost any problem, including malware.
Update your anti-malware database
If you have anti-malware software installed, make sure it’s up to date. This includes more than just the software itself; the database of malware definitions must also be current.
Almost all anti-malware tools use databases of malware definitions. They change daily, if not more often. As a result, they must be updated regularly.
Many programs do this automatically, but if for some reason they do not, then the program will not “know” about the most recent forms of malware. Make sure the database is up to date so yours does.
Perform a full scan
Anti-malware tools regularly perform a “quick” or fast scan. That’s typically sufficient for day-to-day operations.
But not today.
Fire up your anti-malware tools and run a full/advanced/complete scan of your entire system drive. If you have a single tool, that might be one run; if you use multiple tools, then run a full scan with each. This may take some time, but let the tools do their job.
This also applies if your anti-malware automated scans have stopped working for some reason (that reason often being malware). If this full scan discovers something, it might be worth checking to make sure the security software is properly configured to still scan automatically.
Try another anti-malware tool
No anti-malware tool catches all malware.
I’ll say it again: there is no single tool that will catch every single piece of malware out there. None. Some catch more than others, but none of them catch everything.
So using additional reputable tools is a reasonable approach.
Regardless of which tool you select, stick with reputable tools. When a machine is infected, some people tend to panic and download just about anything and everything claiming to be an anti-malware tool. Don’t do that. There are many less-than-reputable individuals out there ready to take advantage of your panic.
Do some research before downloading anything, or you may just make the problem worse instead of better.
Research specific removal instructions
If your anti-malware software tells you the name of the specific malware you’re dealing with, that’s good information, even if it can’t remove it.
Search for that malware, and you may find specific removal instructions at one or more of the major anti-malware vendor sites. These instructions can be somewhat technical and intimidating, so take your time to follow them precisely, or get a techie friend to help.
The instructions often come with offers to remove the malware for a price. As long as it’s an option (in other words, the manual removal instructions are also provided), then it may be a viable alternative if the company is one you trust. On the other hand, if all you’re presented with is a promise and a price, move on.
Some sites offer free tools you can download to remove specific malware. Once again, use caution. When the tools are from reputable sources, they’re a quick way to avoid some hassle. When the tools are really just more malware in disguise, they’ll make your problems worse.
If you download anything to help address the problem, make sure it comes from an organization you know and trust.
This is the only sure-fire way to remove any virus. 100%. Guaranteed.
In fact, it’s the only way to know you’ve removed a virus. Once infected, none of the steps above are guaranteed to remove malware even if they report your machine is clean. Once infected, all bets are off. An infection can fool anti-malware software into thinking everything is fine even when it’s not.
There’s just no way to know.
The only way to be absolutely positive you’ve removed any and all viruses is:
- Back up. If you haven’t already, back up the entire system. You’ll use this to restore your data after we’re done.
- Reformat. Reformatting erases the entire hard disk of everything: the operating system, your programs, your data, and most important of all, all malware. This may be part of the next step, as Windows set-up often offers to reformat the hard drive before installing.
- Reinstall. Yes, reinstall everything from scratch. Reinstall the operating system from your original installation media or download. Reinstall applications from their original media or downloads saved elsewhere.
- Update. Update everything. In particular, make sure to bring Windows as completely up-to-date as possible for the most current protections against all known and patched vulnerabilities. Applications, particularly your anti-malware tools, should be updated as well.
- Restore. Restore your data by carefully copying it from the backups you created when we started. By “carefully,” I mean take care to only copy the data you need, so as not to copy back the malware — don’t copy potential sources of infection. There is no guarantee you won’t copy the malware back, so copy only what’s absolutely needed, and make sure your anti-malware tools are running and up to date.
- Learn. Take stock of how this happened, what you might have done to get infected in the first place, and what might have helped you recover more efficiently. Institute a frequent system backup.
It’s not your fault, but it is your responsibility
By now, I hope you can see why prevention is so much less painful than the cure.
Taking a few extra steps to keep things up to date, avoiding those cute virus-laden downloads and attachments, and just generally learning how to stay safe is much easier than the recovery process I just outlined.
And having backups can make the recovery process as close to painless as possible if you do get infected.
It’s not your fault. But it is your responsibility to learn the basics about staying safe when you use your computer.
In an ideal world, we’d never have to worry about malware or “bad guys” trying to fool us into doing things we really shouldn’t. But you already know this isn’t an ideal world; software isn’t perfect and never will be. There will always be someone out to scam the vulnerable.
Even though it’s not your fault, you still need to be the one to get educated and take the steps needed to stay safe.
Right or wrong, it’s practical reality.
Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.
I'll see you there!