A honeypot is a farm of trap that is used to detect hacking attacks or collect malware samples.

There are many different types of honeypots. Some consist of machines connected to the network that are used to capture network worms. Others provide fake network services (e.g. a web server) in order to log incoming attacks.

Honeypots are frequently used by security specialists in order to gather information about current threats and attacks.