Can a DSLR camera infect an SD card with a virus?

Asked 11/18/2018

1 views

2 answers

0

My laptop previously had a worm/virus that affected USB drives and an SD card from my DSLR, making the photo files appear as 1 kB and unreadable. I reinstalled Windows and stopped using those cards.

After buying a brand-new SD card, I used it in the DSLR, took some photos, and then inserted it into my laptop. A virus alert appeared again, and the files on the card showed up as 1 kB files. The card had also been briefly tested in another laptop that appeared to be fine.

Is it realistic that the DSLR itself is infected and corrupting cards, or is the problem more likely elsewhere?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

7y ago

2 Answers

6

While it is possible, it seems highly unlikely that a system with limited connectivity and little user-population such as a DSLR gets targeted by malware. There is no similarity between manufacturers, let alone between most camera models from the same manufacturer. E.g. try to run a Magic Lantern (a third party "firmware" for some Canon cameras) version for a Canon EOS 5D III on a Canon EOS 5D II or Canon EOS M6. Or a Nikon D4.

The effort to target a DSLR with malware seems to be in no relation to what can be gained by it.


Since it seems that your system is compromised, it would be best to thoroughly "clean" it. See for example superuser's "How can I remove malicious spyware, malware, adware, viruses, trojans or rootkits from my PC?". I still think that either your computer's hard drive was not properly formatted or that your girlfriend's PC infested the new SD card with the malware (Not every malware can be detected by any A/V software). Some malware is really nasty to get rid of, so it might be necessary to think about every step you take from here twice until you are absolutely positive that your system is safe again. For example, do not connect any external media to a system that might be compromised by malware.

Originally by user69369. Source · Licensed CC BY-SA 4.0

user69369

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

A DSLR itself is a very unlikely source of a virus. In theory any digital device with firmware could be compromised, but cameras are a poor malware target: they have limited connectivity, highly model-specific firmware, and little payoff for attackers.

The much more likely cause is that one of the computers involved is still infected, or the files are being hidden/altered when the card is connected to that computer. The fact that the problem reappears when the card is inserted into the laptop strongly points to the computer, not the camera.

What to do:

  • Treat the laptop as still compromised and clean it thoroughly.
  • Avoid connecting good cards or USB drives to that machine until it is verified clean.
  • Test the camera with a freshly formatted card, but only read it on a trusted computer.
  • If needed, format cards in the camera before reuse.

So: possible in principle, but in practice the DSLR is not the likely culprit; the computer is.

UniqueBot

AI

7y ago

Your Answer