--SEARCH--
Acropack 2008

Tip #4745 - Preventing AutoRun Attacks From Malicious CDs

Printer Friendly Version | E-Mail This Tip

Like These Tips? Get 'Em Free In Your E-mail Everyday!

E-mail Address:

Preventing AutoRun Attacks From Malicious CDs

How many times have you innocently inserted a CD or flash drive into your computer, only to find out it has infected your PC with a virus? How did that happen? Why did that happen? Well, one of the causes could be the AutoRun feature in Windows. If you have your computer set up to run the AutoRun, it can launch installers and other programs automatically as soon as you insert any removable hard disk. Luckily, there are two ways you can save yourself from a possible virus spread. Let's check them out!



Turn AutoPlay Off

The next time you want to prevent Windows from launching applications automatically from an external device containing the necessary AutoRun information, this is how you do it:

In Windows XP, you can change the defaults for AutoPlay by right clicking on the selected drive and choosing Properties (find the drive in your My Computer folder). Choose the AutoPlay tab and change the settings for the different types of media you use.

Similarly, in Windows Vista, you can choose one of many options: "Always launch the program," "Always open a listing of the disk in a Windows Explorer window," "Always prompt for a choice" or "Take no action."

If That Fails

However, hackers will tell you that turning the AutoPlay feature off may not be 100 percent safe if you're up against a malicious AutoRun error. There are ways to make an AutoRun file run even if AutoPlay is disabled in XP and the "Take no action" option is selected in Vista. This is what happens: turning AutoPlay off seems to work, but when you double click on the drive you're using, it will launch whatever commands are in the AutoRun file. The worst part is, you're completely unaware this is happening while the hacker goes on and spreads the virus all over your computer. It's all done without you knowing anything unusual has happened.



Another Way of Tackling the Problem

You may think you can protect yourself from AutoRun by using two keys in the Registry Editor, known as NoDriveAutoRun and NoDriveTypeAutoRun. However, those keys can be overridden. The solution is to globally block the AutoRun files (autorun.inf) from executing, without trying to use the dialogue boxes in XP and Vista to do so. Here's the procedure:

Step 1: Open Notepad (Start, All Programs, Accessories, Notepad) or any other text editor you may have on your computer.

Step 2: Copy the following text from this page and paste it into the text editor. (Make sure you copy everything as is. For example, each entry needs to be on its own line):

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

@="@SYS:DoesNotExist"

Step 3: Save the file under a name such as "NoAutoRun.reg" (make sure you include the .reg extension).

Step 4: Right click on the .reg file and choose Merge. Next, confirm any warning prompts to add the information to the Registry Editor.



And Finally...

The next time you insert a flash drive, CD, DVD or other removable disk into your computer, Windows will not execute the information on any AutoRun file that may be present. Naturally, taking those steps means the next time you put a game or installer disk into your CD or DVD ROM drive, the software will not launch automatically. You will have to do it manually. The benefit is big though! If you ever happen to insert another malicious disk into your computer, your system will have no choice but to fight it. Now, that's bliss!

~ Zahid H. Javali

Want To Comment On This Tip? Click Here! We'd love to hear from you :-)

Like These Tips? Get 'Em Free In Your E-mail

Computer & MS Office Tips
Computer Tips & MS Office Tips Daily - Run your Windows PC like a pro! No matter what your skill level, beginner or advanced, you'll find tons of valuable tips, tricks, and ideas in every issue (plus great software deals). Become the computer guru you've always wanted to be! The tip you've just read was in this newsletter!
Computer Tips & MS Office Tips Weekly - If you don't want our Computer Tips newsletter every day, then sign up for this weekly newsletter to get the best information of the week. Sent on Fridays
Our Other Great Newsletters
Just For Grins - Each issue includes a couple clean jokes, some funny quotes, and a hilarious reader's story. Newsletter is sent five days a week
  Life's Adventures - Each issue features a short story. Some of these are of the warm and fuzzy variety, some are sad, some are a little of both, but they all deliver powerful messages. Sent every Tuesday and Thursday.
  Software Deals - Every week, we send out great deals in our Software Deals newsletter. Many of these deals are exclusively for our Software Deals newsletter subscribers and can't be found with our regular specials.

Enter Email address:
 
Your e-mail address is safe with us!
We only use it to send you the newsletters you request. It is NEVER disclosed to a third party for any reason, ever! Plus, if you decided you don't like our newsletters (don't worry, you'll love 'em :-), unsubscribing is fast and easy.

Click Here to find out why we have over 400,000 readers who enjoy our newsletters every week! (And growing fast!)

  (Computer Tips Daily)

.. .Tip Search:  
..
.. Include Cool Sites

Tip Categories