Skip to content

Instantly share code, notes, and snippets.

@NullifyDev
Created September 28, 2023 13:46
Show Gist options
  • Save NullifyDev/d26e02aa6fbf0b089a0130a7e03f33d5 to your computer and use it in GitHub Desktop.
Save NullifyDev/d26e02aa6fbf0b089a0130a7e03f33d5 to your computer and use it in GitHub Desktop.
Hosts file configuration redirecting all in and out-going data collection requests. Modify C:\Windows\System32\drivers\etc\hosts to this state!
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost
# redirect suspected telemetry and other unknown links
127.0.0.1 incoming.telemetry.mozilla.org
127.0.0.1 array614.prod.do.dsp.mp.microsoft.com
127.0.0.1 checkappexec.microsoft.com
# Redirect in and outgoing data collection requests from and into 3rd-parties into localhost.
127.0.0.1 data.microsoft.com
127.0.0.1 msftconnecttest.com
127.0.0.1 azureedge.net
127.0.0.1 activity.windows.com
127.0.0.1 bingapis.com
127.0.0.1 msedge.net
127.0.0.1 assets.msn.com
127.0.0.1 scorecardresearch.com
127.0.0.1 edge.microsoft,com
127.0.0.1 data.msn.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment