Trojan:W32/Hosts2.Gen, Trojan.Win32.Hosts2.gen


This detection is designed to flag hosts files with multiple entries that point to a single IP address or IP block. This is a characteristic of many trojans, which modify the hosts file to facilitate communications with a malicious remote server.


Automatic action

For corporate/business environments, please see the note below.

Based on the settings of your F-Secure security product, it will either move the file to the quarantine where it cannot spread or cause harm, or remove it.

Find out more

Knowledge Base

Find the latest advice in our Community Knowledge Base.

User Guide

See the user guide for your product on the Help Center.

Contact Support

Chat with or call an expert for help.

Submit a sample

Submit a file or URL for further analysis.

Technical Details


Corporate or business environments are special exceptions, as they may require machines in the network to use a customized hosts file with multiple entries for a single IP address/block. These customized hosts files may inadvertently trigger this detection, as they appear to have the same characteristics as a trojanized file.

To prevent the possibility of a false positive or false alarm, customized hosts files should be screened for malicious entries; if all entries are legitimate, the file can then be excluded from subsequent scanning.

Date Created: -

Date Last Modified: -