Worms. Worms are comparable to viruses in that they're made to self-replicate. The difference between worms and viruses is always that viruses connect them selves to existing files and rely on user actions to propagate. Worms are self-contained programs and might unfold automatically.Vulnerabilities and exploits. Vulnerabilities are weaknesses in s