Ransomware is hitting businesses across the globe. What can firms do if they find themselves under attack?