Hackers create malware for a lot of reasons. Data theft, spying, blackmail, and even pranking are among the main reasons for malware creation.