• How To Disable Autorun In Windows Systems : The Effective Way

    short link to article : http://ntsysv.com/quria

    Having Autorun enabled in Microsoft Windows systems may help the spread of viruses. This is true because autorun can start any arbitrary code without user interaction.

    In a previous article we saw how to disable low dik space warnings in Windows systems, in this article we will talk about Autorun.

    Microsoft Windows come with the AutoRun feature which make applications start automaticaly when inserting a CD/DVD, mapping a network drive or plugging a USB key. This is the worst case because everyone can plug a usb key to move data, to get pictures from a friend, to copy music …etc.

    When a Removable Device is connected to computer, either the autorun launches the exe/.com file to witch a Autorun.inf file point to, or the user double click on the icon to browse the device content. In both cases, a hidden execution happens and make the computer infected. As an example, the Malicious software W32.Downadup uses this technique to spread.

    In Microsoft, we can read many articles, such :

    Today I received an US-CERT notification to say that those solutions are not effective when a media is first time connected to computer. In the Technical Cyber Security Alert TA09-020A we can read :

    The Autorun and NoDriveTypeAutorun registry values are both ineffective for fully disabling AutoRun capabilities on Microsoft   Windows systems. Setting the Autorun registry value to 0 will not prevent newly connected devices from automatically running code specified in the Autorun.inf file. It will, however, disable Media Change Notification (MCN) messages, which may prevent Windows from detecting when a CD or DVD is changed. According to Microsoft, setting the NoDriveTypeAutorun registry value to 0xFF “disables Autoplay on all types of drives.” Even with this value set, Windows may execute arbitrary code when the user clicks the icon for the device in Windows Explorer.

    The proposed solution is to set the following value to registry :

    Path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf

    Value : @=”@SYS:DoesNotExist”
    You can copy past the following code to a blank text file, and save it as .reg file, name it for example “disable-autorun.reg”, you will just have to double click on it to register the value.
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
    @=”@SYS:DoesNotExist”
    To have this configuration taken into account, you’ll have to reboot your system. If it is not possible, you’ll have to clean pre-cached mounted devices by deleting the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

    Hope you found this post useful, and I’d like to invite you to subscribe to my feed to keep in touch with future posts.

    [del.icio.us] [Digg] [Facebook] [Google] [MySpace] [StumbleUpon] [Technorati] [Windows Live] [Email]
    Mercredi, janvier 21st, 2009 at 03:44 by ElMehdi
  • Vous avez aimé cet article? Pensez à le réferencer! C'est simple! il suffit d'ajoutez ce code source sur votre site!

    <a href="http://www.ntsysv.com/index.php/howto-disable-autorun-windows-systems-effective-way">How To Disable Autorun In Windows Systems : The Effective Way</a>

    You liked this article? Please consider referencing it by adding the previous HTML code to your website!
  • Aicha
    Jeudi, janvier 22nd, 2009 at 05:05 | #1

    thank very much you for your post

    i think it is usefull because it is a problem i suffred from and i still

    i will try this solution

  • Jeudi, janvier 22nd, 2009 at 05:15 | #2

    hi Aicha!
    Nice to see you back.
    Happy to see that it is useful for you! think to deploy it on the lab using GPO, if you need assistance, I can make a post to explain.

    cheers!

  • Aicha
    Jeudi, janvier 22nd, 2009 at 07:55 | #3

    Okey

    it’s a great idea

    I would be very grateful if you could tell us more

    waiting for you new post

    Thank you!

Laisser un commentaire

XHTML: Vous pouvez utiliser ces codes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TOP