Featured Posts

  • Prev
  • Next

One Simple Solution to all those USB prone viruses

Posted on : 23-04-2008 | By : Cloud | In : Code, Hack, Microsoft, Tricks, Vista, Windows

0

I have been seeing loats of my friends laptops being infected my one or more virus through the Pen Drives..

I came to know that these spywares or viruses or trojans whatever it is tries to execute thier code by altering the AUTORUN.INF file within the Pen drive.. so that whenever a pen drive is inserted the autorun is read and the code / virus is executed .. how sweet ??
Off lately me and my friends tried to alter or change the autorun.inf file so that the file dont get executed.. but they were not that simple..
So searching the net over this , i found a interesting article … here it is.

There is a difference between AutoPlay and AutoRun. AutoPlay is when you insert a USB flash drive, you get a dialog box that ask you what do you want Windows to do.

As for AutoRun, it will run an executable file instructed by autorun.inf file. There’s no chance for you to Cancel autorun at all. Microsoft way of disabling autorun is editing the NoDriveTypeAutoRun value from registry. However, this is hard to do in practice. First, it’s a per-user key, which in a corporate environment is harder to manipulate reliably than a per-PC key. Secondly, there are several bugs known for it. And thirdly, a little-known registry key called MountPoints2 contains cached information about every memory stick or other removable device which your PC has ever seen, and that overrides the NoDriveTypeAutoRun value if you insert a volume which the PC already knows about.

Here is the registry key that you should use to globally block autorun.inf. Open notepad or any text editor, copy the text below and save it as NoAutoRun.reg. Make sure the extension is .reg and not .txt. Run it and click Yes if you’re asked “Are you sure you want to add the information in C:\NoAutoRun.reg to the registry?”

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@=”@SYS:DoesNotExist”


This hack tells Windows to treat AUTORUN.INF as if it were a configuration file from a pre-Windows 95 application. The next time you insert a flash drive, CD, DVD, or other removable disc into your system, Windows will not execute the information in any autorun.inf file that may be present. This is a great method to prevent Windows from being infected by virus through autorun.inf method without installing any security software. The only downside of this is that if you insert a CD or DVD with software on it, you have to explore it by hand to find the setup program which I think isn’t a big deal compared to being infected by virus and having to spend hours to scan and clean it.
This article Gives best results or say virtually protects your system when you use more of pen drives on your system.
Try this and gives us your feed back..in the comment section

Source : RAymond.cc

Related posts:

  1. Customize Your USB Pen Drive !!
  2. A Simple GIF image crashes Sony Ericsson Phones !!
  3. Optimize Your Internet Connection
  4. Now run Windows Vista On PS3
  5. Install Windows Media Player 12 on Vista

Write a comment