An item on DPReview indicates that someone has developed (no pun intended) a way to encrypt image files on some WiFi equipped Canon DSLRs by posing the ransomware as a software update.

Security firm Check Point shows how ransomware can be installed on Canon cameras: Digital Photography Review