Advertisement

Microsoft now flags HOSTS files that block Windows 10 telemetry

Microsoft has introduced another change to Windows 10 users. If you are using the HOSTS file to block Windows 10 telemetry or updates, Microsoft Defender will flag its as a malicious, and show a severe level alert.

Advertisеment

Actually, it is not big news. It is a well known fact that Windows 10 doesn't use the HOSTS file to resolve addresses to certain Windows servers. The new thing is the changed behavior of Microsoft Defender.

The Hosts file is just a regular text file which can be modified using any text editor. The only catch is that the editor app should be started elevated (as Administrator). The hosts file is located in the system directory, so non-elevated apps will fail to save it.

The Hosts file consists of lines of text. Each line must include an IP address in the first text column followed by one or several host names. Text columns are separated from each other by white space.  For a historical reason, <Tab> is often preferred, but spaces will also do the trick. Lines started with a hash character (#) are comments. Windows ignores blank in the hosts file.

After you put Microsoft's servers in the HOSTS file in order to get them resolved as, let's say 127.0.0.1, i.e. to stop the OS accessing the actual servers, Microsoft Defender will prevent you from saving that file, and will display the following dialog.

Microsoft Defender Flags The Hosts File

Notice SettingsModifier:Win32/HostsFileHijack, it is a new, dedicated category for the modified file. It seems that Microsoft had recently updated their Microsoft Defender definitions to detect when their servers were added to the HOSTS file.

As BleepingComputer reports, the following lines in HOSTS will trigger detection:

www.microsoft.com
microsoft.com
telemetry.microsoft.com
wns.notify.windows.com.akadns.net
v10-win.vortex.data.microsoft.com.akadns.net
us.vortex-win.data.microsoft.com
us-v10.events.data.microsoft.com
urs.microsoft.com.nsatc.net
watson.telemetry.microsoft.com
watson.ppe.telemetry.microsoft.com
vsgallery.com
watson.live.com
watson.microsoft.com
telemetry.remoteapp.windowsazure.com
telemetry.urs.microsoft.com

If you decide to clean this threat, Microsoft will restore the HOSTS file back to its default contents.

Well, modifying the HOSTS file can be a bad idea if it is done in an improper way, or has been done by malware. However, for users who actually know what they are doing, it is just another restriction that leaves even less control of the OS in users' hands.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

3 thoughts on “Microsoft now flags HOSTS files that block Windows 10 telemetry”

  1. Truly crazy! It seems Microsoft still wants to milk their Home user customers. I’ve disabled Windows Defender long ago, but I wonder if you can add the file as an exclusion.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.