It is used to refer to any form of hostile or invasive code or software, it includes computer viruses, worms, Trojan horses, ransom-ware, spyware, adware, scare-ware, and other malicious programs. Anti-virus and firewalls are used to protect against malicious software.