Cybercriminals are getting smarter. Ransomware attacks are more sophisticated.