Ransomware costs will reach a whopping $265 billion globally by 2031.