What is a general term for a wide variety of harmful software that infects, explores, or exposes user data to without that user's knowledge?

The general term for a wide variety of harmful software that infects, explores, or exposes user data without that user's knowledge is "malware" (short for malicious software).