W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.03k stars 851 forks source link

Antivirus reports hosts file being infected #225

Closed W4RH4WK closed 4 years ago

W4RH4WK commented 4 years ago

Yesterday, one guy wrote me a mail stating that his antivirus complains about the hosts file being infected.

The only script that touches the hosts file is block-telemetry.ps1 and it only uses Out-File with the append flag. My guess is that malware commonly patches the hosts file to prevent system or antivirus updates. And now the antivirus triggers if it detects that the hostsfile has been altered in a similar fashion by the scripts. Therefore I'd count this as a false-positive.

Let me know if anyone has additional information regarding this topic.

Untitled

W4RH4WK commented 4 years ago

I'll close this for now.