CTL-008 · human
Black-Holing Domains in Windows Hosts File
Point unwanted domains to localhost through the hosts file.
TechnicalEffort LowEffectiveness Low
Adding a hosts entry such as 127.0.0.1 for a domain stops that name resolving on that machine. It is a quick, local fix for a few sites. It does not scale and an admin user can edit the file, so use it for small gaps and monitor changes to the hosts file with file integrity monitoring.
Put it in place
- 01Add sinkhole entries through a managed configuration push.
- 02Make the hosts file writable only by admins.
- 03Monitor the file for changes.
- 04Prefer DNS or proxy filtering for large lists.