You can defend yourself against ransomware by backing up your data.

DYK