Computer security involves protecting systems from threats like viruses, worms, Trojan horses, and hackers through mechanisms like cryptography, digital signatures, and firewalls. Key aspects of security include availability, integrity, and confidentiality of data and systems. Common malicious software include viruses that replicate and infect files/boot sectors, worms that spread through email/networks to perform destructive actions, and Trojan horses that are hidden in downloads to act like viruses or worms.