When a number of related malicious program-carrying devices are connected to the  internet they are called a botnet. . These related devices are controlled by a common attacking party to perform malicious activities e.g. send spam.