[Ilugc] virus in usb

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Sun Jul 25 15:25:53 2010

On Sun, Jul 25, 2010 at 10:20 AM, Baskar Selvaraj <baskar@xxxxxxxxxxx> wrote:


http://www.troublefixers.com/make-pen-drive-write-protected/

http://www.irongeek.com/i.php?page=security/thumbscrew-software-usb-write-blocker


Neither of the above can guarantee write protect.   Besides, the
registry hack has to be made in the Cyber Cafe machine - good luck.

I have a 128MB USB stick with a hardware write protect - that is the
only way I would be sure the viruses cannot write on to my device (I
have tested it).

As for removal of *all* traces of viruses:

"dd if=/dev/zero of=/dev/sdX"  where X is the device assigned to pen
drive by the kernel.

On most desktop systems with one HDD it would typically be sdb.

Otherwise "sudo /sbin/fdisk -l" and note the device name that maps to
the capacity of the pen drive.

Then create the vfat fs as others have suggested.

The above can be scripted if this is happening ever so often - just
make sure you are zapping the right device :)

-- Arun Khan

Other related posts: