The following are some of the major variants of malware: Virus: A virus is a program that reproduces its own code by attaching itself to other executable files in such a way that the virus code is executed automatically when an infected executable file is executed. A virus reproduces usually without your permission or knowledge. […]