Check Point security has shared a new warning that even high-end DSLR cameras can become infected with ransomware as noted in following links 

https://www.pcmag.com/news/370123/dslr-cameras-can-be-infected-with-ransomware

https://research.checkpoint.com/say-cheese-ransomware-ing-a-dslr-camera/

Ransomware is a very lucrative business for those distributing it, and it seems there’s no limit to the devices they’ll attempt to infect, including your DSLR camera.   As Check Point Research reveals, digital cameras are a great choice for ransomware as they typically contain photos that are of high value to the owner.  In other words, we’d be more willing to pay to get them back.  Check Point recorded the video you see below to demonstrate how easy it is for your DSLR camera to be infected: