The infamous ransomware WannaCry and how to guard against it and others like it