Ask Leo! by Leo A. Notenboom

How do I remove a virus from a memory card?

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

Home » Viruses and Malware » Malware Detection

Summary: Lately memory cards, such as used in digital cameras, have been used as "carriers" of malware. The card is easy to clean. Your system may not be.

I have been having problems with hackers and viruses and the like and have one right now that avast will not find and superantispyware wont find either. I've tried in the past a range of virus scanners for it but to no success. its on a camera disc little SD memory card, and tries to spread to my hard drive and any other media anytime i connect it.

I was wondering what steps you would take in my position?

There are a few things I would do, and they start out pretty simply.

With any disk that isn't your system disk you have a wonderful opportunity to get rid of viruses and spyware fairly quickly and easily.

Reformat the card.

Presumably you have a card reader, and presumably that card, when inserted, appears as another drive on your computer.

Reformat it. Remove any data you want to keep first, but then reformat it.

"Reformat it. Remove any data you want to keep first, but then reformat it."

That will erase everything from the card. Data. Viruses. Spyware. Everything.

If for some reason you cannot reformat it on your computer, then once again, copy off the data you want to keep, and use your camera or other device to reformat it; most have this as an option.

We talk about "reformat and reinstall" as a last resort, or in some cases the only resort, to curing an infection on your system drive. The problem is that while this does eradicate the infection by erasing everything, it erased everything, including your operating system. You now have to reinstall, or perhaps recover from a backup image that was created prior to the infection.

With other drives we have a little bit more flexibility. It still really is "reformat and reinstall", but typically the "reinstall" part is significantly less of a problem. You can copy all the pictures off of your camera's SD card, and reformat it without much effort. Even other drives, such as external hard drives or internal hard disks, can be treated the same way, though in these cases the problem is often where to copy the data, and making sure you also don't copy the infection.

So that gets it off of your SD card.

But I'm still concerned.

Most viruses insert themselves into your system. Specifically, they copy files onto your system drive, and insert themselves in various system-related places like the registry. It's unclear how you've been clearing this off once you've determined you've become infected. In fact, it sounds like the tools you have at hand haven't been able to clean it from your SD card, so I don't see how your system isn't still infected as well.

It's quite possible, then, that even after formatting your SD card, your still-infected system might not put the infection right back.

Unfortunately I don't have a silver bullet for this situation. Not all anti-malware programs catch every possible malware. I would, in your shoes, run a variety of those tools, both anti-virus and anti-spyware, to attempt to clear off the infection.

If that still doesn't work, then you're faced with only one alternative.

Backup, reformat your system drive and reinstall everything.

Related:

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

Your Name:
Your Email:


Why Subscribe?

Article C3413 - June 11, 2008

Recent Comments
18 Comments

Its better you can use virus removal software from this site http://www.virusremovalsoftwares.org/

Posted by: virus remover at October 28, 2008 3:11 PM

I have brought new 4GB Micro sd card for my mobile phone , but the card has now got virus in it , if i format also it is not going out , what should i do.
How can i remove virus from it.

How do you know it has a virus? Formatting an SD card will remove everything, including any viruses. You could be getting re-infected if your machine also has that virus, though.
- Leo
05-Nov-2008

Posted by: shiv at November 4, 2008 10:54 PM

Hi I have compaq prasario c772tu with win xp sp2, when i connect any removable device, the system shows there is no device in drive please insert a dis, but works. how can i solove the problem

Posted by: Wani at December 18, 2008 7:50 AM

Hi i have brought 4gb micro scandisk memory card for my mobile ,but its not working if i take photo it shows format not supported if i create folder in it the format of folder changes , anything copied from PC to card there is change in the format . i cant delete the folder created also. I tried to format it but still its the same.

Posted by: shiv at March 17, 2009 12:31 AM

ok! this articles was nor helpfull to me! my merory ard is on my mobile phone. I FORMATTED IT MANY TIMES FROM MY MOBILE. but when i join it to computer it tells that the disk is not formatted and i try to format my card from computer but then tells" the formatt is incomplete" . And my phone also shut off and on automatically when inserting card on toit. please help me.mail me at [email address removed]

Did you consider that perhaps the memory card is bad?
- Leo
19-Apr-2009

Posted by: www.pshycic.de.tl at April 18, 2009 7:24 PM

hei.. i juxt want to axk that wheneve i tried to reformat me micro sd card it says unable to complete. when i tried to erase all the datas. it will only be gone a few seconds. and when i still inserted it the data still remains. i know it has virus but how can i re4mat it?

Posted by: princess at April 23, 2009 5:40 AM

the memory card was working normaly on my phone suddenly it starts to show every time i want to go to memory card that " memory card not formated do u want to format memory card " & i am afraid to format it so that i will lose all my data
so leo what is the solution

Posted by: hadi at June 3, 2009 4:36 PM

hi, pls help me, my mmc memory card was eaten by a virus, i'm not familiar with the virus but i think it was a comwarrior that comes into mutation that makes it even stronger that my avast anti virus can't even rid of it. it just says unreadable or unknown format. it can't even be formatted either... please help me.

Posted by: janz at September 3, 2009 5:12 AM

i agree with u Leo in what u said but there are one comment why we cant not remove the virus directly without format the card ,as i know there memory card is like the excess hard on the computer .
then there is no problem to treat it with the same way

Posted by: amany at October 8, 2009 7:50 AM

i have a virus in my memory card i want to remove virus and download anti virus

Posted by: chetanyasharma at October 11, 2009 1:40 AM

Post a comment on "How do I remove a virus from a memory card?":






(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!