Supplemental Resources and Links for Episode #45

Resource links for Security Now! Episode #45:

The 'Hosts' File

In Windows systems, the Hosts file — simply called "hosts" with no file extension — can generally be found in the directory:

Note that in this directory path, "c:\Windows" is the system's Windows installation directory, which is usually on the "C" drive and located in "\Windows" or "\WINNT" . . . but the directory could be named something else.

The directory where Windows looks for the Hosts file can be changed as a means for throwing malware off the track. The directory where Windows looks for the Hosts file is contained in this Registry key:

Although it's possible for sufficiently smart malware to lookup the directory itself, most programs assume that it hasn't been moved. So you could leave a decoy in the default location but keep your system's actual active Hosts file elsewhere.

During my discussion with Leo I mentioned my own Hosts file. Here's its current contents:
You'll notice that the first line in the file is the common "localhost" reference, telling my system that the self-referencing IP of can also be referred to with the simple machine name of "localhost".

The other domains and machine names in the file are places I don't want my web browser or other software inside my machine venturing for any reason. Many of these names may look familiar, and you would probably find web browser third-party tracking cookies bearing these domain names if you were to look into most PCs.

Preventing Windows and your web browser from going where you'd rather not have them go is a cool enough trick, and so easy to do with no software to install, that many people have invested a lot of time, effort and resources into creating and maintaining comprehensive Hosts files. Just take a browser through THIS typical "full feature" Internet site blocking Hosts file:

As you can see, that file is being served from the GRC server, but it is not being actively maintained. So if you are interested in beefing up your system with a similarly comprehensive Hosts file, I hope you'll check out the MVPS.ORG site where you can find the latest version of that file and a lot of other great information and resources about Windows Hosts files: Wikipedia:
As Leo mentioned during the episode, Wikipedia has its typically great treatment of the Hosts file. Be sure to check it out. And, finally, a simple Google search for "hosts file" returns a current "best of the web" collection of useful links:

Jump to top of page
Gibson Research Corporation is owned and operated by Steve Gibson.  The contents
of this page are Copyright (c) 2023 Gibson Research Corporation. SpinRite, ShieldsUP,
NanoProbe, and any other indicated trademarks are registered trademarks of Gibson
Research Corporation, Laguna Hills, CA, USA. GRC's web and customer privacy policy.
Jump to top of page

Last Edit: May 04, 2013 at 17:12 (3,947.80 days ago)Viewed 1 times per day