Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Is this stuff in my ‘hosts’ file supposed to be there?

Question: In your article on the Sasser worm you mentioned that a person could check \windows\system32\drivers\etc\hosts and see what was posted in there. I have around a hundred entries. Almost all of which is Ad/Ware or SpyWare sites. I use several AdWare / SpyWare removers. Should this list of offenders be removed from the hosts file? Should I delete them and resave the cleaned hosts file?

The “hosts” file is a common target of spyware, because it’s a way to force your computer to bypass DNS, and re-route web addresses, or block them entirely.

But it’s also a useful tool for other purposes as well. So how to know what’s what?

Become a Patron of Ask Leo! and go ad-free!

In this case, without seeing the entries, it’s hard to say.

The good news, unless you actually did something to your hosts file yourself, chances are the only entries there are the result of spyware.

I would:

  • make a backup copy of the hosts file
  • delete all those entries out of the hosts file
  • see if you can get to an anti-spyware and an anti-virus tool, and run both immediately.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.