How to invest wisely in ransomware prevention