The most common kind of malware is a virus. An infection is a piece of code that is designed to reproduce itself and cause damage to a computer system. read this There are several types of infections, and they can be spread in a number of ways, including through e-mail accessories, download links, and contaminated sites.