Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use my USB drive on Windows computers, then return to my Linux computer, I find many extra files are added to the drive, often exe files and various folders.

  • Is it sufficient to delete the new files? Will some viruses be placed inside my files?
  • Is there some software to help identify and delete these, from Linux?
share|improve this question
up vote 3 down vote accepted

There is also the possibility, that any malware install itself in the MBR/VBR boot sectors of the drive. From there it could be executed automatically if booting from USB storage devices is enabled.

As soon as the malware runs, it could install nasty root/bootkits.

To clean the MBR of the usb drive from any malware, install a new one. And remove any existing bootflag from all partitions on the drive by using fdisk or any other partition manager (gparted, cfdisk, ...)

share|improve this answer
  1. Yes, unless a virus appends itself to an exe file.
  2. Try ClamAV, an open-source virus scanner which runs on Linux.
share|improve this answer
Appending code to existing executables is an incredibly common technique. Just search for "virus append exe", there's gobs of them out there to eat you. – Mat Feb 26 '12 at 9:22
That's quite interesting... editing my post to reflect it. – Renan Feb 26 '12 at 14:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.