Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocklists: there are hostnames to block, too #681

Closed
ltguillaume opened this issue May 10, 2020 · 9 comments
Closed

Blocklists: there are hostnames to block, too #681

ltguillaume opened this issue May 10, 2020 · 9 comments

Comments

@ltguillaume
Copy link
Contributor

As answered here, the list of IPs to block Microsoft's spy/updates/services isn't complete. There are also hostnames that should be blocked, since they could apply a custom DNS policy, like load balancing with geo-location awareness.

Therefore, for full protection it would be needed to do one of the following:

  1. (Preferred) Let simplewall add the selected lists from https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/hosts to the Windows hosts file
  2. Resolve the IPs of the selected lists from https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/hosts and let simplewall add them as firewall rules. The IPs could change over time, or be semi-random due to load balancing, so this would not be a full protection.
@ltguillaume
Copy link
Contributor Author

ltguillaume commented May 10, 2020

Also, a new list has been provided since 3 days ago (https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/simplewall), while the latest update in simplewall is from April 4th.

@ghost
Copy link

ghost commented Aug 7, 2020

Today I found about simplewall and I spend my free time tinkering with it, it's an awesome firewall but lack some features popular firewalls have.

I understand from your post that simplewall doesn't support blocking hostnames?

..............................
@henrypp

@ltguillaume
Copy link
Contributor Author

It does if you have "Resolve Network Addresses" enabled.

@ghost
Copy link

ghost commented Aug 8, 2020

I enabled it but I don't understand how to block a domain or subdomain like http://example.com or http://dl3.example.com.

@ltguillaume
Copy link
Contributor Author

You can just add example.com to a rule. When simplewall starts, it will resolve it to an IP and apply the filter rule to the IP.

@ghost
Copy link

ghost commented Aug 10, 2020

(Preferred) Let simplewall add the selected lists from https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/hosts to the Windows hosts file

It won't work anymore, new update by Microsoft that flag any change to hosts file as a risk, Microsoft now detects HOSTS files that block Windows telemetry, Windows 10 users began reporting that Windows Defender had started detecting modified HOSTS files as a 'SettingsModifier:Win32/HostsFileHijack' threat. If you decide to clean this threat, Microsoft will restore the HOSTS file back to its default contents.

https://www.bleepingcomputer.com/news/microsoft/windows-10-hosts-file-blocking-telemetry-is-now-flagged-as-a-risk/

the only working method right now is 2.

@ltguillaume
Copy link
Contributor Author

Good point, I saw the news (NTLite'd Defender out of the system, though).

@ltguillaume
Copy link
Contributor Author

ltguillaume commented Dec 31, 2020

@henrypp henrypp closed this as completed Oct 19, 2021
@ltguillaume
Copy link
Contributor Author

Repository owner locked as resolved and limited conversation to collaborators May 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants