Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Reply
 
LinkBack Thread Tools Display Modes
Old 15-05-2011, 10:09 AM   #1 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,471
Default [HowTO] Prevent Your USB Devices From Getting Infected By Viruses


Question: How can you protect USB devices like sticks or drives from being infected with computer viruses?
Some users are lucky enough to have USB devices that have write protection switches, just like floppy drives had back in the good old days. They just need to pull the switch to write protect their devices.

Modern USB devices on the other hand do not ship with write protection switches anymore, which means that other solutions need to be discovered that work equally well.

What if you’d fill the storage on the USB device to the brim? That’s what USB Dummy Protect does. The idea is simple. You create a fake file that takes up all free space on the device. With no space left on the drive, viruses cannot write on it which means that they are blocked and cannot replicate.



The software is fully portable and needs to be placed on the USB device. You can run the program on any computer system that runs the Windows operating system.

USB Dummy Protect detects the free size on the device directly after it has been started, and begins to write a dummy file of the same size to the drive. The filename is always dummy.file.

If you need space to store files on the drive, you need to remove the dummy file first, copy or move the new files to the drive, and run USB Dummy Protect again to fill the remaining free space again with a dummy file.

The protection is basic, and advanced viruses may be able to circumvent it, for instance by deleting files on the stick to free up space before writing to the stick.

Still, USB Dummy Protect is relatively comfortable to use, especially since it is always located on the USB drive so that it can be used to write a new file whenever that is necessary.

The software worked fine on a 64-bit Windows 7 Pro test system. The developer notes that it only works on USB devices of up to 4 Gigabytes if they use the FAT file system.

You can download USB Dummy Protect from the project homepage at Google Code.

Last edited by sygeek; 15-05-2011 at 10:14 AM.
sygeek is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-05-2011, 11:36 PM   #2 (permalink)
127.0.0.1
 
mitraark's Avatar
 
Join Date: Nov 2010
Location: Kolkata / Durgapur
Posts: 770
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

Little troublesome But anyway many people are plagued by this , some might have to go this far to safeguard themselves.

I would recommened creating a FOlder named "autorun.inf" , it actually prevents creation of newer autorun.inf file , blocking many possible threats !
__________________
Intel i5 760 || Gigabyte H55 || Corsair 4GB 1333MHz Value || XFX HD5670 1GB
WD 2TB Green + Seagate 5900RPM 2 TB + Seagate Freeagent 1 TB x2
Corsair CX400 || Zebronics Bijli || Samsung P2350 23.5" || Altec Lansing VS2621
My Speedtest :D
mitraark is offline   Reply With Quote
Old 16-05-2011, 12:18 AM   #3 (permalink)
iDota
 
Sarath's Avatar
 
Join Date: Apr 2011
Location: Bangalore, Visakhapatnam, Abu Dhabi
Posts: 2,667
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

All 6 drives of mine got infected however careful i am so i just leave it to it now.
I think the autorun.inf one.
It even killed one of my sandisk 8GB sticks.
__________________

Online Shopping guide - PART IIIPS3™ master guide
Spoiler:

Gaming:♦ PS3 ♣ i5|HD6970 Gaming RIG | Dell U2311H review iΡod & iPhone 4 ♥ Xperia™ Arc review
Audio gear: Logitech Z623 | Klipsch X10 | Siberia V1 | M1 | M2 | CX180 | | | Article/Discussion: PS3™ vs PC
Sarath is offline   Reply With Quote
Old 16-05-2011, 12:26 AM   #4 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,471
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

Quote:
Originally Posted by mitraark View Post
Little troublesome But anyway many people are plagued by this , some might have to go this far to safeguard themselves.

I would recommened creating a FOlder named "autorun.inf" , it actually prevents creation of newer autorun.inf file , blocking many possible threats !
Not folder, a file. But I recommend using Panda USB Vaccine for the above purpose.
The method I mentioned above is foolproof of any viruses.
sygeek is offline   Reply With Quote
Old 16-05-2011, 08:39 AM   #5 (permalink)
Wise Old Owl
 
Tech.Masti's Avatar
 
Join Date: Dec 2005
Location: ( 22.2° N, 88.2° E )
Posts: 1,507
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

use panda USB vaccine, Bitdefender also has a same type of software, but it did not worked for me

BTW, Avira AntiVir free also blocks autorun.ini from Pen drive...
Tech.Masti is offline   Reply With Quote
Old 16-05-2011, 09:18 AM   #6 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,471
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

Actually blocking autorun.inf isn't really a good choice unless you don't customize it often for your convinience. The only reason I use "USB Dummy Protect" instead "Panda USB Vaccine" is that I often customize autorun.inf files in my USB sticks according to my convenience.
sygeek is offline   Reply With Quote
Old 16-05-2011, 09:46 AM   #7 (permalink)
Alpha Geek
 
CA50's Avatar
 
Join Date: May 2007
Location: GraveYard
Posts: 918
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

^this is not at all a feasible solution, when you have to take something form a system, you will have to delete the dummy file, then the virus will attack the pen drive and will infect it. Moreover prolong writing on a usb drive reduces it lifespan.

My advice is to use USB disk Security on your system along with your regualar AV, it will detect the usually autorun virus and will delete those. And also create a "autorun.inf" folder in your usb drive and disable autorun of the usb drives.

Though this is not 100% fool proof, but from my experience, i can say that these works and i am not infected till date
__________________
| A Bit IP35-Pro | E8400 | GTS250 | Gskill 2x2GB | 1.9 TB | CM EP+ 460W | 2x DVD-RW|
| Win XP x86 | Win 7 Ult x86 | LinuxMint |
| Nokia 2700c |
CA50 is offline   Reply With Quote
Old 16-05-2011, 09:54 AM   #8 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,471
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

^I've already tried the above mentioned method in my Friend's Laptop with a few of those autorun related viruses. So far none of them have affected my USB stick unless and until I insert the USB stick with a few space left. That means once the virus tried to write to the USB stick which was full, it probably was unsuccessful and gave up at exact same moment. There's another thing I've noticed that a autorun related virus won't affect the USB stick if there's already a autorun.inf file (which in my case, is there but a customized version of it).
But yeah, I agree that both of the methods aren't exactly foolproof if there's a much more advanced virus.
sygeek is offline   Reply With Quote
Old 16-05-2011, 10:10 AM   #9 (permalink)
Alpha Geek
 
CA50's Avatar
 
Join Date: May 2007
Location: GraveYard
Posts: 918
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

^ some of them can rewrite the existing autorun.inf file with the virus code, so its better to create a folder with that name
__________________
| A Bit IP35-Pro | E8400 | GTS250 | Gskill 2x2GB | 1.9 TB | CM EP+ 460W | 2x DVD-RW|
| Win XP x86 | Win 7 Ult x86 | LinuxMint |
| Nokia 2700c |
CA50 is offline   Reply With Quote
Old 16-05-2011, 12:35 PM   #10 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Posts: 687
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

I am wondering who will actually use this program !
__________________
~Ricky

» Looking for someone to partner with me in Indian Linux forum
Free domain is available ! I am also at Indian Forums.
Ricky is offline   Reply With Quote
Old 16-05-2011, 01:16 PM   #11 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,471
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

^Me, if you understand my scenario.
sygeek is offline   Reply With Quote
Old 17-05-2011, 01:23 PM   #12 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Posts: 687
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

Quote:
Originally Posted by SyGeek View Post
^Me, if you understand my scenario.
.. May be I dont ...
__________________
~Ricky

» Looking for someone to partner with me in Indian Linux forum
Free domain is available ! I am also at Indian Forums.
Ricky is offline   Reply With Quote
Old 17-05-2011, 02:09 PM   #13 (permalink)
Manc
 
xtremevicky's Avatar
 
Join Date: Dec 2009
Location: Bhopal / Bangalore
Posts: 834
Default Re: [HowTO] Prevent Your USB Devices From Getting Infected By Viruses

Subscribed . Will check it out later .

Autorun.inf is one of the most prominent virus in computers and laptops
__________________
If you like the Post , There is a Rep Button ,

If not then Understand that, There are people with different Opinions !
xtremevicky is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Who
- by Krow
- by clmlbx
- by Tech&ME
- by icebags

Advertisement




All times are GMT +5.5. The time now is 08:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2