Ask Leo! by Leo A. Notenboom

Can my computer get a virus from my camera?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Viruses and Malware

Summary: Cameras are not likely to themselves be infected by a virus, but without care they can act as carriers, transferring viruses from computer to computer.

Can my computer get a virus from my camera? I got a nasty virus on my computer and I couldn't send photos because the photos were failing the virus scan. I plugged my camera into my laptop thinking it was safe to send the photos through that computer to someone else in email but again I couldn't send the photos that I just took because they were infected. So my camera must now be infected. Does this mean I need a new camera and have to discard my memory card with all my photos of my son for the past 2 years. Is there any way to save them?

I'm actually going to reverse a statement I made in an article over 4 years ago.

Yes.

Yes, it is possible that your computer can catch a virus from your camera's memory card.

We need to understand that, though, because I didn't say from the camera, I said from the memory card.

First, it's incredibly unlikely that your camera has been infected. Theoretically it's possible, I suppose, but I've not heard of it happening. There are so many different cameras with so many different versions of firmware on the camera, there's simply no way to write a virus that would infect any significant number of them. Heck, most of them never ever even "run programs" that you could supply via a memory card, all they do is write and read pictures.

There's simply no reasonable vector over which a camera could itself be infected.

"There's simply no reasonable vector over which a camera could itself be infected."

So hang on to your camera, it's fine.

It's the memory card we need to look at.

Memory cards are one way that viruses travel from computer to computer. And that can be any memory card - a USB stick, an SD RAM or Compact Flash card - whether you use it in a camera or not.

Here's the scenario that most people think of when they think of cameras and memory cards:

  • You use your camera and take pictures onto your new memory card.

  • You take that memory card and insert it into a card reader to transfer the pictures to your PC.

Seems quite simple. Here's the scenario we need to worry about:

  • You use your camera and take pictures onto your new memory card.

  • You insert that memory card into a reader on someone else's computer. Perhaps you wanted to show or share them prior to coming home, perhaps you were traveling and needed to off-load your memory card or whatever.

  • That computer had been infected with a virus, and that virus has now, unbeknownst to you, infected your memory card.

  • You put the memory card back into your camera, and keep taking pictures. The virus does not harm or infect your camera in any way.

  • You get home, and you insert the memory card into your own computer, where the virus you didn't realize was on the card infects your machine.

Note: this applies to direct connections as well. I use removable memory cards as the example above, but if you connect your camera to your computer via a cable, the virus can still spread to your computer, particularly if your camera appears as another drive on your computer.

The camera itself is not infected, it's simply a carrier - a host if you will - for the memory card that is.

How do you prevent it?

One: turn off auto-run, also known as auto-play. This is a feature of Windows that detects that removable media such as a CD, DVD or memory card has been attached to a computer, and follows instructions on that media to automatically run a program. This is how some installation programs automatically run when you insert a CD, for example. Note that the program which is run automatically is on the removable media. That makes it trivial for a virus to add those instructions to any memory card so that it will infect any computer that it comes in contact with.

I'd call it auto-infect, if you asked me.

Two: trust no one. OK, maybe trust a few, but be skeptical. That means think twice before you connect your camera or insert your memory card into someone else's computer. How likely are they to understand and stay on top of internet safety procedures? How do you know you're not picking up a virus that you'll then take home with you?

Three: Back Up! Do I really understand from your question that the only place you keep your pictures - two years of pictures - is on your camera? To be blunt, that's asking for problems. Besides this whole infection scenario, cameras are easy to lose; memory cards "wear out", there are dozens of reasons that you might lose the pictures that are kept only in your camera. If you honestly value your photos you should copy them to your computer as soon as you can, and then make sure that the computer itself is backed up. My approach is to actually backup my photos automatically to two different machines, until I have the chance to backup to CD-ROM manually.

The golden rule is simple: always have two copies of your valuable pictures. Camera and PC, PC and a backup, PC and CD-ROM, it doesn't matter. As long as it's always ok for one to disappear (at which point you then quickly make a new second copy), then you're taking appropriate precautions.

How do you recover?

The answers here aren't as clear. The problem is that there are many different viruses, and they do many different things.

Some won't affect your pictures at all. You can copy them off and reformat the memory card and you're done.

Some mark your files and folders as hidden, which might cause you to think that they were gone. Exploring your memory card looking for hidden files might well turn up your photos, which you could then copy off.

In your case, though, it sounds like the virus has, in fact, modified or even erased your photos and replaced them with something else - probably itself in an attempt to maximize its ability to infect other machines. I honestly can't say whether or not the photos are recoverable, but I'm guessing not.

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Article C3595 - December 19, 2008

Was this article helpful? «Yes» «No»

Recent Comments
15 Comments

This past summer I took a few pictures with a relatives camera. I inserted the SD card in my computer (Vista) and after downloading, the top line when I open Internet Explorer says "Hacked by Godzilla". Nothing seems to be affected. After that I switched to Firefox. I'm running AGV anti-virus.

Posted by: Merri at December 23, 2008 3:15 PM

I was "hacked by godzilla" and eventually had to wipe my hard drive. It progressively got worse and worse.

Posted by: mralan45 at December 23, 2008 4:46 PM

What about inserting a camera card in the card machine at Wal-Mart to make prints? Can I pick up a virus by doing that? I use Wal-Mart because I can't print on my own computer for anywhere near their cost, for paper and ink alone.

I don't know. I would assume that those dedicated single-purpose devices are not prone to infection, and I've not heard of it happening, but ... it seems like it could if the particular device is poorly architected or configured. Right now I consider the risk very low, but would be interested to hear from others if they've heard of or experienced an infection from a photo-printing kiosk.
- Leo
24-Dec-2008

Posted by: Bob Conlin at December 23, 2008 6:19 PM

yes, these solutions are effective, but stopping the autorun.ini is not the actual solution. i think that the computer should have a firewall( other than windows default) and the system should be kept in the show hidden files system, because by which anyone can these autorun.ini files and can delete the same. 2nd most imporatant thing is if there is any risk of virus then we can prefer to log on to the computer as a guest, after that the virus cat get intrusion in the registry of HKmachine hives.

Posted by: ritunath at December 24, 2008 6:18 AM

I agree with the suggestion to boot a linux live cd. Linux wont get infected by this virus you speak of and will safely allow you to retrieve any images (or anything else for that matter) then safely restore your card to how it was when new. The best tool for the job is often not Windows....

Posted by: TP at December 26, 2008 5:02 AM

2 comments:
I once looked into photo recovery, and there are dedicated programs out there which can recover damaged picture files. I will admit that they didn't work for me, but they are meant to. Google it, I can't remember names.

Also I remember reading an online article on how you CAN get viruses from dedicated kiosks. They come from other people's cards, and then to yours, then to either your camera (yes, you can damage the firmware) or computer.
I asked my local photo shop, and they have antivirus on their setups, but some places DON'T have anything.
Sorry for being vague about names/article links; its been a while since I found this out.

Posted by: Fred at December 30, 2008 7:52 PM

I currently have a virus which causes my my pictures folder to crash whenever I try to access the files. I always develop my pics at Wal Mart. Until now I hadn't considered the possibility of getting the virus from there. Hmmmm...... Does anyone know of a virus that attacks the my pictures folder on XP?

Posted by: Diesel at February 11, 2009 1:31 PM

I've read article that Photo Frame had been shipped from a factory containing viruses. I don't know if it's true but it's definitely possible for any device such as a photo frame, usb stick, SD card external hard drive etc. to even come preinstalled with a virus if for some reason it was tested in a factory on an infected computer. If you have a good AV on your computer it should detect it and quarantine it. But it's best to turn off auto-runs as Leo saiad.

Posted by: Mark at April 30, 2009 3:45 AM

In an explorer window go to Tools->Folder options->view and un-check "hide extensions for known file types" option. This is one of the most dangerous defaults settings of all time.

It's possible to name an executable file as for example picture.jpg.exe and if the extension is hidden you might be fooled into thinking you have a picture file. If you have a file with a double extension where the final extension is executable odds are high its a virus.

Also beware of screen saver files .scr. The name means screen saver but your computer handles it exactly the same as an .exe file.

Posted by: Mark at April 30, 2009 4:10 AM

Good day to You..
My computer is having a problem. It was started when i downloaded a file yesterday..
Occassionaly when i try to open the mozilla firefox and the other icon on the windows.

the result was this
=Java Virtual machine launcher-Invalid or corrupt jarfile C:\Progaram files\Mozilla Firefox\Firefox.exe.

At night when i turn to open my computer this was the result

=Java Virtual machine launcher-Invalid or corrupt jarfile C:\Progaram files\ahead\lib\NMBg monitor.exe

=Java virtual machine launcher-Invalid or currupt C:\windows\systems32\ctfmon.exe

=Java virtual machine launcher-Invalid or currupt C:\yahoo.\Messenger\yahoo messenger.exe

=Java virtual machine launcher-Invalid or currupt C:\program files\USB Disk Security\USB Guard exe.

=Java virtual machine launcher-Invalid or currupt C:Program\ALWILS-I\Avast4\ash Disp.exe.

=Java virtual machine launcher-Invalid or currupt C:\program files\ Messenger\msmsgs.exe.

As i understand about it,all the program and the system was corrupted.

What does it mean?Thus it a virus?What should i do to get it back?Is there any solution aside for repormatting my computer?

Please send me a reply……

-When god make you-

Posted by: jessnoe at November 7, 2009 9:45 PM

Post a comment on "Can my computer get a virus from my camera?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!