Jump to content

Windows 10: HOSTS file blocking telemetry is now flagged as a risk

Recommended Posts



Starting at the end of July, Microsoft has begun detecting HOSTS files that block Windows 10 telemetry servers as a 'Severe' security risk.


The HOSTS file is a text file located at C:\Windows\system32\driver\etc\HOSTS and can only be edited by a program with Administrator privileges.


This file is used to resolve hostnames to IP addresses without using the Domain Name System (DNS).


This file is commonly used to block a computer from accessing a remote site by assigning host to the or IP address.


For example, if you add the following line to the Windows HOSTS file, it will block users from accessing www.google.com as your browsers will think you are trying to connect to, which is the local computer. www.google.com


Microsoft now detects HOSTS files that block Windows telemetry

Since the end of July, Windows 10 users began reporting that Windows Defender had started detecting modified HOSTS files as a 'SettingsModifier:Win32/HostsFileHijack' threat.


When detected, if a user clicks on the 'See details' option, they will simply be shown that they are affected by a 'Settings Modifier' threat and has 'potentially unwanted behavior,' as shown below.



SettingsModifier:Win32/HostsFileHijack detection


BleepingComputer first learned about this issue from BornCity, and while Microsoft Defender detecting HOSTS hijacks is not new, it was strange to see so many people suddenly reporting the detection [12345].


While a widespread infection hitting many consumers simultaneously in the past is not unheard of, it is quite unusual with the security built into Windows 10 today.


This led me to believe it was a false positive or some other non-malicious issue.


After playing with generic HOSTS file modifications such as blocking BleepingComputer and other sites, I tried adding a blocklist for Microsoft's telemetry to my HOSTS file.


This list adds many Microsoft servers used by the Windows operating system and Microsoft software to send telemetry and user data back to Microsoft.


As soon as I saved the HOSTS file, I received the following alert stating that I could not save the file as it "contains a virus or potentially unwanted software." I also received alerts that my computer was infected with 'SettingsModifier:Win32/HostsFileHijack.''



HOSTS file blocked from being saved



So it seems that Microsoft had recently updated their Microsoft Defender definitions to detect when their servers were added to the HOSTS file.


Users who utilize HOSTS files to block Windows 10 telemetry suddenly caused them to see the HOSTS file hijack detection.


In our tests, some of the Microsoft hosts detected in the Windows 10 HOSTS file include the following:




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



Default Windows 10 HOSTS file


Users who intentionally modify their HOSTS file can allow this 'threat,' but it may enable all HOSTS modifications, even malicious ones, going forward.


So only allow the threat if you 100% understand the risks involved in doing so.


BleepingComputer has reached out to Microsoft with questions regarding this new detection.


Via bleepingcomputer.com




  • Thanks 1
  • Upvote 2
Link to post
Share on other sites

Interesant, dar are sens. Multe mizerii ca sa blocheze accesul la anumite site-uri pun in hosts, nu e vorba doar de acel telemetry shit.

Cat strict despre telemetry, exista metode mai practice, ca oprire a serviciilor sau mai stiu eu ce. Asta cu e un cacat. 

  • Thanks 1
Link to post
Share on other sites
2 hours ago, dimss said:

Pt Android mai nou e mai ușor să folosești Private DNS și să pui dns de la adguard.

Foarte util ce explicati aici. Voi verifica si eu sa vad ce mai intra prin fisierele host...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...