November 12th, 2004, 07:30 AM
how to check the HOST file
hi, i have heard that there are viruses that can get into your HOST file for windows and really screw things up for you. well my question is how do you check to make sure your host file hasnt been messed with? thanx bye.
November 12th, 2004, 07:43 AM
November 12th, 2004, 08:39 AM
It's not just virus's that change your host file.. Adware software have been doin it for a long time
NJormaly the file will have a preamble text (not needed) and a single entry:
some of us have various ad servers listed.. this is to block anumber of unwanted advertising sites having their way with our machines..
To check the hosts file you could write a batch file to compare the hosts file with a known good sample.. or whatever..
this is a short sample of mine.. (not you can make the host file too big)
bTW "Cat"dun seem to be recognised by the command prompt in XPee
the file is located in C:\WINDOWS\system32\drivers\etc where C is the HDD where your WinXP OS is installed
"Consumer technology now exceeds the average persons ability to comprehend how to use it..give up hope of them being able to understand how it works." - Me http://www.cybercrypt.co.nr
November 12th, 2004, 08:46 AM
I take it that Shrekkie was right, and you are talking about the hosts-file.
Before messing around with it, have first a look at  and  for guides
how to "block" ads.
You can check the hosts file as follows. Assuming an english windows version:
If you have a virginal setup (assuming a stand-alone PC without special settings),
the only non-commented out (#) entry should be
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)
November 15th, 2004, 01:46 PM
On *nix it's /etc/hosts
On Win9x it's %windir%\hosts.
On NT/XP/2k/2k3 it's %windir%\system32\drivers\etc\hosts.
Note the dot at the end of the filename on windows systems. It doesn't have a file extension.
Experience is something you don't get until just after you need it.
November 15th, 2004, 04:30 PM
well thanx for all the help. one more question is there any programs that check this host file for u? i have heard that Win Patrol does, is this true? thanx bye.
November 15th, 2004, 04:34 PM
Directly from the winpatrol web site:
Detect HOSTS file changes.
November 15th, 2004, 04:42 PM
alright... thanx alot yall, talk to ya later.
November 15th, 2004, 08:43 PM
Try Spybot Search & Destroy..................open it in "Advanced" mode. That lets you look at the Hosts file BHOs and all sorts.
There is an option to load a list of blocks into the Hosts file like Und3rtak3r has done.