Malware, also known as malicious software, refers to codes or programs created to harm servers, networks, or computers. Malware interrupts the normal functioning of systems. A virus is malware that replicates itself when introduced into a computer.