Guide | How To Lock Hosts File To Prevent Hijacking

The associated guide may contain user-generated or external content.


Thread author
Imagine clicking on and seeing a completely different web site load in your browser. Malware can redirect Web addresses on your computer by altering your hosts file. This is referred to as the Host File Hijack.

To prevent Host file hijacks, you may navigate to it, right-click on it, select Properties and make it a Read only file. This will lock down your Hosts file and prevent any one or any malware from writing to it.

Source: Hosts File in Windows 10 / 8 / 7: Location, Edit, Lock, Manage

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.