AVG does not change your HOSTS file but it will alert you that the HOSTS file has changed since the last scan. What security programs are you using? Although malware can be responsible for altering the HOSTS file, some security programs like SpySweeper
and Spybot S&D
have features that can add numerous entries to your HOSTS file and that action may be detected as a change. If you downloaded and used a custom HOSTS file or made edits that too would trigger a change detection. If you did not make any changes or do not have security programs with these features, then you need to investigate what the changes are.
Re: C:\WINDOWS\system32\drivers\etc\hostsHost file changed
The HOSTS file should not show as changed unless the user is aware of a program needing a change made to it and is aware that it is being altered. Protection softwares and also Malware's will often change this file so they can affect where a computer goes to on the internet.
This is one reason why the user on this system needs to look at the file to make certain that something didn't change it and if so determine if it is a good or bad change...
General system maintenance can change the file even when it isn't apparent by visual inspection. AVG uses a checksum to compare a file before and after and a minor change or correction to the file could have caused it to appear changed.
The HOSTS file
is a text file that has no extension and can be viewed using notepad. At the top is an explanation of the simple syntax. Each line is an IP address, a domain name, and an optional comment placed after a # sign. A HOSTS file maps an IP address to a name. The original purpose of hosts files was to map the proper address to a site's name but now its also used for blocking purposes. Hosts File FAQS
The HOSTS file is found in these default locations:
Windows Vista -> C:\Windows\system32\drivers\etc\hosts
Windows XP -> C:\Windows\system32\drivers\etc\hosts
These files are usually located in the etc folder:
hosts - 1KB <- does not have a file extension
and varies in size if using a custom hosts file.
lmhosts.sam - 4 KB
networks - 1 KB
protocol - 1 KB
services - 1 KB
You may also have back ups of your hosts file created by various security programs.
An example HOSTS file is shown here
. An example of a customized HOSTS file is shown here
is an application to manage your Windows HOSTS file. It is mainly intended to block specific domains (mostly advertising servers) by redirecting them to localhost, but can also be used to add any other domain/IP combination that you want to be included in the HOSTS file. In addition to editing features, HostsMan can prevent other programs from writing to the HOSTS, import and merge Hosts files, resolve IP addresses and mark potential hijack entries.HostsXpert - Hosts File Manager
is a tool to view the hosts file, set it to read, restore, backup and general edit and repair.