Home > Utils > Panda USB and AutoRun Vaccine

Panda USB and AutoRun Vaccine

March 5th, 2009 Pedro Bustamante

UPDATE October 8, 2009: New version 1.0.1.4 released.

The Microsoft Windows Operating Systems use the AUTORUN.INF file from removable drives in order to know which actions to perform when a new external storage device, such as a USB drive or CD/DVD, is inserted into the PC. The AUTORUN.INF file is a configuration file that is normally located in the root directory of removable media and contains, among other things, a reference to the icon that will be shown associated to the removable drive or volume, a description of its content and also the possibility to define a program which should be executed automatically when the unit is mounted.

The problem is that this feature, widely critizised by the security community, is used by malware in order to spread by infecting as soon as a new drive is inserted in a computer. The malware achieves this by copying a malicious executable in the drive and modifying the AUTORUN.INF file so that Windows opens the malicious file silently as soon as the drive is mounted. The most recent examples of this are the W32/Sality, W32/Virutas and also the W32/Conficker worm which, in addition to spreading via a vulnerability and network shares, also spreads via USB drives.

Due to the large amount of malware-related problems associated with Microsoft AutoRun we have created a free utility for our user community called Panda USB Vaccine.

Computer Vaccination

The free Panda USB Vaccine allows users to vaccinate their PCs in order to disable AutoRun completely so that no program from any USB/CD/DVD drive (regardless of whether they have been previously vaccinated or not) can auto-execute. This is a really helpful feature as there is no user friendly and easy way of completely disabling AutoRun on a Windows PC.

USB Vaccination

The free Panda USB Vaccine can be used on individual USB drives to disable its AUTORUN.INF file in order to prevent malware infections from spreading automatically. When applied on a USB drive, the vaccine permanently blocks an innocuous AUTORUN.INF file, preventing it from being read, created, deleted or modified. Once applied it effectivelly disables Windows from automatically executing any malicious file that might be stored in that particular USB drive. The drive can otherwise be used normally and files (even malware) copied to/from it, but they will be prevented from opening automatically. Panda USB Vaccine currently only works on FAT & FAT32 USB drives. Also keep in mind that USB drives that have been vaccinated cannot be reversed except with a format.

Download

Panda USB Vaccine is a 100% free utility. We’ve tested it under Windows 2000 SP4, Windows XP SP1-SP3,  and Windows Vista SP0 and SP1. Feedback is always welcomed. Click on the download button below to start downloading.

Get it from CNET Download.com!

Command line Operation

For advanced users who wish to run Panda USB Vaccine automatically at boot to notify every time a new USB device is mounted on the system or to perform network-wide computer vaccinations via login scripts or other distribution methods, Panda USB Vaccine can be operated via command-line. Its input parameters are the following:

USBVaccine.exe [ A|B|C|Z ] [ +system|-system ] [ /resident [/hidetray] ]

[drive unit]:     Vaccinate drive unit
+system:      Computer vaccination
-system:        Remove computer vaccination
/resident:      Start program hidden and prompt for vaccinating every new drive
/hidetray:      Hides tray icon when used with the /resident command

Examples:
To vaccinate USB drives F:\ and G:\, use
USBVaccine.exe F G

To vaccinate the computer, use
USBVaccine.exe +system

To vaccinate computer and prompt for vaccinating every new drive without showing a tray icon, use
USBVaccine.exe /resident /hidetray +system

It could be very useful to create a Shortcut in the Startup folder to USBVaccine.exe with this last command line (or without the /hidetray) to make sure that every time you boot the computer USBVaccine gets loaded by the system and it vaccinates the computer and prompts the user for vaccinating any new non-vaccinated USB drive. However if you do this under Vista, UAC will block it from running at Startup as it requires admin priviledges. We’ll fix this in future versions.

Categories: Utils Tags:
  1. http://
    June 17th, 2009 at 10:04 | #1

    Buenos däias tengo un pendrive formateado en NTFS y el usb vacune no le puede vacunar. ¿solucion?

  2. http://
    June 19th, 2009 at 11:28 | #2

    very good tools thanks To panda !

  3. http://
    June 20th, 2009 at 08:23 | #3

    Version 1.0.0.50

    unable to execute file : schtasks.exe
    create process failed ; code 2

  4. Gari
    June 22nd, 2009 at 05:15 | #4

    How to remove vaccination from usb with NTFS formatted ???

  5. Pedro Bustamante
    June 22nd, 2009 at 09:46 | #5

    @Peter, can you try the following:
    1- open a command-line window
    2- type “schtasks” and then hit enter

    Do you get an error? Which one?

  6. http://
    June 22nd, 2009 at 16:33 | #6

    How about a portable version in addition to the installer. The installer is nice, but I like to keep a portable version also. Thanks for the utility.

    Also, it says to read the help before you enable NTFS support, this help would be where?

  7. http://
    June 23rd, 2009 at 09:32 | #7

    I try to to install command mode with /agreelicense] option for avoid the agreement dialog, but not work. It still present. Who can give me solution.
    Thanks.

  8. Pedro Bustamante
    June 23rd, 2009 at 12:27 | #8

    @redsec, try using /agreelicense along with either /silent or /verysilent parameter.

    For example:
    USBVaccine /silent /agreelicense /resident /experimentalntfs

  9. http://
    June 23rd, 2009 at 14:48 | #9

    After vaccinating my USB drive, I find that I cannont UNvaccinated it (as I can my Computer).

    Why is there no option to REMOVE VACCINE from a USB drive (as there is for the Computer)?

    Thanks,

    CurlySue

  10. Pedro Bustamante
    June 25th, 2009 at 03:45 | #10

    @ pedro bustamante
    thanks a lot for your solution

    I use
    USBVaccine /silent /agreelicense /resident /autovaccinate /hidetray /agreelicense

    but I no seen USBVaccine process running.

  11. Pedro Bustamante
    June 25th, 2009 at 17:20 | #11

    @CurlySue, there’s no way to un-vaccinate from within Windows other than to backup your files and format the USB drive.

    @Redsec, you can use the same parameters but without /hidetray and then you’ll be able to see it running.

  12. http://
    June 26th, 2009 at 02:18 | #12

    [autorun]
    open=driver\usb\–¼‡‘Š•†‘Í€ŒŽ
    action=Open
    shell\open=Open
    shell\open\command=driver\usb\–¼‡‘Š•†‘Í€ŒŽ
    Usb_Driver installed

    i have this
    what should i do ??
    is that virus ?

  13. http://
    June 26th, 2009 at 03:21 | #13

    Panda Tec

    Tried Vaccination on my SONY ICD-SX57 Digital Voice Recorder Stick using Beta version 1.0.0.18 but it only came up Vaccination was not possible

    Today I have formatted my SONY ICD-SX57 Digital Voice Recorder Stick and tried New version 1.0.0.50 released and when I plug the Digital Voice Recorder Stick into the USB the window stays the same INSERT USB KEY, version 1.0.0.50 does not recognize Recorder Stick, Beta version 1.0.0.18 at least did but Vaccination was not possible

    Need help why

    Mitchell

  14. Tim Burton
    June 26th, 2009 at 06:01 | #14

    So what’s the real secret behind the un/detele/modifi/access/able autorun.inf file?

  15. http://
    June 26th, 2009 at 08:13 | #15

    Is good and is helpful thanks

  16. Pedro Bustamante
    June 26th, 2009 at 09:30 | #16

    @munky, download Panda USB Vaccine, vaccinate your computer & vaccinate each of your USB sticks. Then, one by one, insert your USB sticks and scan them with your AV or even better with http://www.activescan.com.

    @Mitchell, we'll try to get one of those and study the problem.

    @Tim Burton, cannot say, don't wanna give clues to the bad guys :)

  17. Mitchell
    June 26th, 2009 at 16:16 | #17

    Thanks Pedro

    Look forward to response, also have a Sony ICDU70 Digital Voice stick and had no problems vaccinating it! Just haven’t been able to on my SONY ICD-SX57 Digital Voice Stick

    Thanks again

  18. http://
    June 29th, 2009 at 06:30 | #18

    It is incorrectly installed in W2k.
    Does not work with the rights of the user.

  19. Pedro Bustamante
    June 29th, 2009 at 07:08 | #19

    @pedro bustamante

    but still the same

    I mean any process of USBvaccine is not running, no vaccinate any drive.
    I look for its on windows task manager, whether with /hidetray or not are the same.

    Thanks

  20. http://
    July 2nd, 2009 at 04:17 | #20

    I’m glad because this latest version 1.0.0.50 always vaccinate and never prompts, and still comes with the portable version. I have some suggestions: This program could delete the remaining AUTORUN_.INF file and could delete the folder RECYCLE inside the pen (or heal RECYCLE and make it unwritable by the virus too, it could be with hidden property). Also, I think if there would be a easy way (icon?) to distinguish this healed autorun.inf from infected autorun.inf to prevent people to make some mistake.

    Also, I noticed that in the installed version, a folder AUTORUN_.INF is always created, even the pendrive is empty (reformatted).

  21. http://
    July 2nd, 2009 at 18:29 | #21

    Also I would like to suggest to add an option in the command line:

    USBVaccine.exe F G /resident F G

    The last F and G drive letters could be the drives that you like to use the /resident parameter.

    It could prevent some errors in the newer version. When I opened usbvaccine 1.1.0.50 in one of my computer I got a error dialog box because the program is searching for drive A: (but I only use pendrive as drive F: and next letters). In older version 1.10.0.19 it doesn’t happens, but I always need to click OK to exit or to shutdown the computer. =(

  22. http://
    July 3rd, 2009 at 00:04 | #22

    I’ve inserted an infected USB and that tool automatically “vaccineted” it by doing it’s trick with the _existing_ infected binary autorun.inf.
    That makes it hard to fix it (I have to backup data and reformat).

    Please make your tool smarter!

  23. http://
    July 5th, 2009 at 09:36 | #23

    Well, I don’t know how effective this will prove in the long run, but I have to give you credit for this simple and effective approach. The culprit behind almost all viruses is the annoying autorun feature of windows. So far, I’ve been doing all data transfer in linux for the same reasons. But hopefully, I can do that in windows as well!

    Thanks for a great product!

  24. http://
    July 6th, 2009 at 01:50 | #24

    Great Utility. Makes sense, since I wasn’t able to find setting for disabling “Autorun for drives” under Vista (it was in WinXP) and the USB Firewall 1.1.3 is buggy and the USB Disk Security tool is not free and it runs every 10 seconds at about 10% of processing power. Panda runs quiet and very lite on resources. Very nicely programmed.

    Just to let everybody like me know.. If you try to vaccinate a large USB flash drive and start the process and you look and wonder, nothing is happening.. Panda window is “not responding”… just wait… For me it was a slow process, it took approx 15 minutes to vaccinate the drive. (and it is a very fast USB flash disk by all means).

  25. http://
    July 8th, 2009 at 02:27 | #25

    how revert the vacination pen drive?

    only format the device???

  26. http://
    July 8th, 2009 at 16:20 | #26

    Is there a way to keep vaccination even running other o.s. and after come back to Windows?

  27. wolf arts
    July 16th, 2009 at 14:37 | #27

    Bom dia,

    Gostaria de saber por que está aparecendo a seguinte mensagem quando vou vacinar o hd do meu pc.

    segue a mensagem:
    Vaccination was not possible. Only FAT volumes are supportaded right now

    pois ele está no formato NTFS.
    tem algum limita para vacinar? pois, meu hd é de 160GB mas so reconhece 148GB.

    Obs:vacinei dois hds NTFS e só esse da essa mensagem e tambem 4 pendrives fat32 e nao deu nenhum problema.

    Aguardo resposta

  28. http://
    July 19th, 2009 at 06:26 | #28

    Hello New User
    Install Panda Antivirus 2010 and forget every things about Virus , Scam and other Malware … i think the one of best software is in this time
    Thank alot Panda
    Keep it up
    Regards
    Faisal Ali Khan from pakistan

  29. http://
    July 21st, 2009 at 15:55 | #29

    wolf arts:

    A capacidade de disco total nunca e totalemnte utilizada para armazenamento de informação. Parte é reservada para o sistema… por esse motivo é normal o disco parecer ter menos capacidade…

    A nova versao beta da vacina já permite a vacina do disco formatado em NTFS.

    Prestm atenção ao Mxone. O ikill não é compatível com a vacinação das pen's mas é compatível com a vacinação dos computadores e com programas que tornem as pen's protegidas contra escrita. Atenção que a protecção contra escria pode dar muitas dores de cabeça aos donos das pen's…

    (I've written in Portuguese because it is one of the most spoken language in the world…)

  30. Pedro Bustamante
  31. http://
    July 21st, 2009 at 17:54 | #31

    Pretty cool post. I just stumbled upon your blog and wanted to say

    that I have really liked reading your blog posts. Anyway

    I’ll be subscribing to your blog and I hope you post again soon!

  32. http://
    July 25th, 2009 at 08:54 | #32

    I ACTIVATED THIS

    BUT NW NO USB DEVICES ARE DETECTED BY MY SYSTEM WT IS IT ICANT EVEN OPEN ANY DEVICES

  33. http://
    July 27th, 2009 at 18:42 | #33

    Has the suggestions posted by Satellite at 27 May 09 being implemented?

  34. http://
    July 27th, 2009 at 18:46 | #34

    opps …. not by Satellite but by mihi

  35. http://
    July 27th, 2009 at 22:16 | #35

    It appears from the above that I cannot reverse the “vaccination” of a USB drive with an autorun.inf file. I tried to re-start the vaccination program, but it stalls & never starts up (Not Responding is a s far as it goes). How do I remove this **** from my computer. As far as I can tell you have destroyed one of my backup drives.

  36. http://
    August 1st, 2009 at 02:47 | #36

    Kewl tool!
    Thanks!
    In the past I’ve just created folder called autorun.inf and that worked for most of the usb virus but not all. This seems to work well.

    For those of you who install this & vaccinate your USB drives.. then complain about not being able to remove the protected autorun.inf file —
    Why have you not read the comments? I mean there have been several posts all asking same thing. Always the same answer by Panda.
    Cannot be edited from within windows & the only solution is to back up data & format the USB device.
    Other removal solutions have included using either a linux computer to remove the autorun.inf or bootable linux cd to remove it.
    No wonder people get infected so often … running/installing stuff without reading up what the program does. Same for “breaking” things..
    Someone says “this is kewl — run it” so people click it without thinking or doing a bit of research first.

    Geeezzz …
    READ the info provided by the Panda team about the tool before blindly running it.
    REad it, absorb it, understand it, then decide if it is useful to your situation.
    The info is there.

  37. http://
    August 4th, 2009 at 03:18 | #37

    New version still encounter Windows XP shut down problem (XP SP2 & SP3). Any idea how to solve this? Thanks~!

    Great work, keep it up~!

  38. http://
    August 4th, 2009 at 09:14 | #38

    thanks to panda team for such a excellent product for usb virus

  39. Pedro Bustamante
    August 4th, 2009 at 22:04 | #39

    @Jon, the problem you mention only occured under Vista, not XP. Are you sure its caused by Panda USB Vaccine? If you can, please troubleshoot and send me details to pedro.bustamante@pandasecurity.com.

  40. http://
    August 9th, 2009 at 05:53 | #40

    My BIG thank to PandaSecurity Team!!!

    This is truely the answer to my prayer all along. Been looking on how to disable those nuisance message from my AntiVirus. It deleted the virus but the autorun thingy from USB keep running the registry.

    With USBVaccine, problem no more! no more autorun… TQ TQ TQ to ya all..bless U…

  41. http://
    August 15th, 2009 at 07:17 | #41

    This is a very good product for usb.it protect all usb ports by preventing malware from other peripheral devices.we can proudly plug our usb devices when panda vaccination is on

  42. http://
    August 15th, 2009 at 12:29 | #42

    It’s good to take preventive actions

  43. mady
    August 15th, 2009 at 19:37 | #43

    really
    thanks

  44. http://
    August 17th, 2009 at 22:15 | #44

    Unsure whether C drive vaccinated. Check mark appears at illustration, but only horizontal bar entry is D drive and I believe that cannot be changed. Please be so kind as to reply.Thank you.

  45. Pedro Bustamante
    August 18th, 2009 at 08:49 | #45

    @Robert, are you talking about “Computer Vaccination” or “USB Drive Vaccination”?

    If “D” is your USB drive, insert it, open Panda USB Vaccine and then when “D” appears at the bottom of the screen, click “Vaccinate”.

  46. http://
    August 20th, 2009 at 16:34 | #46

    HEY
    i installed this one
    and now no usb drives are working
    the safe removal icon appears in the task bar
    but the drive is not detected or its not appear in the ‘my computer’ folder
    even the usb mouse is not working
    what shud i do to revert this???????????????
    reply me

  47. http://
    August 26th, 2009 at 10:18 | #47

    thank’s panda, you save my usb

  48. http://
    September 2nd, 2009 at 21:50 | #48

    Congratulations for great idea!
    USBVacine is an excellent tool against the plagues.

    Brazil

  49. http://
    September 3rd, 2009 at 13:48 | #49

    Good day, I vacinated my computer and the usb drive. I found out that the usb is working fine. How come when I put dvd on my player, it would still auto run? hoping for answers…ty.

  50. http://
    September 3rd, 2009 at 14:01 | #50

    Great tool. Thanks a lot!

Comment pages
Comments are closed.