Even an organization as big and armed as the United States Navy doesn't take the ransomware threat for granted.