A distributed, immutable ledger of medical records could help to counter ransomware attacks, provided that there are adequate controls to protect patient privacy in light of statutory and regulatory requirements.