Match the following types of malware to their definitions:
A. Virus
1. Once executed, will spread from one computer to another.
B. Trojan
2. Appears as a legitimate program but performs malicious activities.
C. Worm
3. Does not need a host, a file, or any user interaction to spread.
D. Ransomware
4. Encrypts your computer's files and demands payment for decryption.
E. Spyware
5. Used to log your keystrokes to steal personal information.