NIST Site Search
Search NIST.GOV
Custom Search
[Official NIST.GOV TIME]
Product Research

Advertise on this site
Microsoft Windows Does Not Disable AutoRun Properly - Technical Cyber Security Alert TA09-020A
Disabling AutoRun on Microsoft Windows systems can help prevent the spread of malicious code. However, Microsoft's guidelines for disabling AutoRun are not fully effective, which could be considered a vulnerability. Technical Cyber Security Alert TA09-020A by: US-CERTNo Longer Supported
The most recent version of this document can be found at:



National Cyber Alert System

Technical Cyber Security Alert TA09-020A

Microsoft Windows Does Not Disable AutoRun Properly


Original release date: January 20, 2009
Last revised: --
Source: US-CERT

Systems Affected - Microsoft Windows

Overview

Disabling AutoRun on Microsoft Windows systems can help prevent the spread of malicious code. However, Microsoft's guidelines for disabling AutoRun are not fully effective, which could be considered a vulnerability.

I. Description

Microsoft Windows includes an AutoRun feature, which can automatically run code when removable devices are connected to the computer. AutoRun (and the closely related AutoPlay) can unexpectedly cause arbitrary code execution in the following situations:

* A removable device is connected to a computer. This includes, but is not limited to, inserting a CD or DVD, connecting a USB or Firewire device, or mapping a network drive. This connection can result in code execution without any additional user interaction.

* A user clicks the drive icon for a removable device in Windows Explorer. Rather than exploring the drive's contents, this action can cause code execution.

* The user selects an option from the AutoPlay dialog that is displayed when a removable device is connected. Malicious software, such as W32.Downadup, is using AutoRun to spread. Disabling AutoRun, as specified in the CERT/CC Vulnerability Analysis blog, is an effective way of helping to prevent the spread of malicious code.

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.

II. Impact

By placing an Autorun.inf file on a device, an attacker may be able to automatically execute arbitrary code when the device is connected to a Windows system. Code execution may also take place when the user attempts to browse to the software location with Windows Explorer.

III. Solution

Disable AutoRun in Microsoft Windows

To effectively disable AutoRun in Microsoft Windows, import the following registry value:

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


To import this value, perform the following steps:

   * Copy the text
   * Paste the text into Windows Notepad
   * Save the file as autorun.reg
   * Navigate to the file location
   * Double-click the file to import it into the Windows registry

Microsoft Windows can also cache the AutoRun information from mounted devices in the MountPoints2 registry key. We recommend restarting Windows after making the registry change so that any cached mount points are reinitialized in a way that ignores the Autorun.inf file. Alternatively, the following registry key may be deleted:

   HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

Once these changes have been made, all of the AutoRun code execution scenarios described above will be mitigated because Windows will no longer parse Autorun.inf files to determine which actions to take. Further details are available in the CERT/CC Vulnerability Analysis blog. Thanks to Nick Brown and Emin Atac for providing the workaround.

IV. References


____________________________________________________________________

The most recent version of this document can be found at:
http://www.us-cert.gov/cas/techalerts/TA09-020A.html
____________________________________________________________________

Feedback can be directed to US-CERT Technical Staff. Please send email to comments@cert.org with "TA09-020A Feedback VU#889747" in the subject.
____________________________________________________________________

For instructions on subscribing to or unsubscribing from this mailing list, visit http://www.us-cert.gov/cas/signup.html.
____________________________________________________________________

Produced 2009 by US-CERT, a government organization.

Terms of use:
http://www.us-cert.gov/legal.html
____________________________________________________________________

Revision History
January 20, 2009: Initial release




Share or Bookmark this Article Using:
| furl | reddit | del.icio.us | magnoliacom | digg | newsvine | stumble it |



Google
WebNIST.org
NIST.govSecurityFocus.com







Posted by NIST.org on Wednesday 21 January 2009 - 05:16:25 | |printer friendly
Translate to: {GOOGLETRANS}
Google Ads




Headlines

»CVE-2012-6706
A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Th ...
»CVE-2014-9962 (android)
In all Android releases from CAF using the Linux kernel, a vulnerability exists in the parsing of a ...
»CVE-2014-9963 (android)
In all Android releases from CAF using the Linux kernel, a buffer overflow vulnerability exists in W ...
»CVE-2014-9964 (android)
In all Android releases from CAF using the Linux kernel, an integer overflow vulnerability exists in ...
»CVE-2014-9965 (android)
In all Android releases from CAF using the Linux kernel, a vulnerability exists in the parsing of an ...
»CVE-2014-9966 (android)
In all Android releases from CAF using the Linux kernel, a Time-of-check Time-of-use (TOCTOU) Race C ...
»CVE-2014-9967 (android)
In all Android releases from CAF using the Linux kernel, an untrusted pointer dereference vulnerabil ...
»CVE-2015-2251 (oceanstor_uds_firmware)
The DeviceManager in Huawei OceanStor UDS devices with software before V100R002C01SPC102 might allow ...
»CVE-2015-2252 (oceanstor_uds_firmware)
Huawei OceanStor UDS devices with software before V100R002C01SPC102 might allow remote attackers to ...
»CVE-2015-2253 (oceanstor_uds_firmware)
The XML interface in Huawei OceanStor UDS devices with software before V100R002C01SPC102 allows remo ...
»CVE-2015-2692 (adblock)
AdBlock before 2.21 allows remote attackers to block arbitrary resources on arbitrary websites and t ...
»CVE-2015-2800 (s5300_firmware, s5700_firmware, s6300_firmware, s6700_firmware, s7700_firmware, s9300_firmware, s9700_firmware)
The user authentication module in Huawei Campus switches S5700, S5300, S6300, and S6700 with softwar ...
»CVE-2015-3254 (thrift)
The client libraries in Apache Thrift before 0.9.3 might allow remote authenticated users to cause a ...
»CVE-2015-3913 (s12700_firmware, s2300_firmware, s2350ei_firmware, s2700_firmware, s2750ei_firmware, s3300_firmware, s3700_firmware, s5300ei_firmware, s5300hi_firmware, s5300li_firmware, s5300si_firmware, s5700ei_firmware, s5700hi_firmware, s5700li_firmware, s5700si_firmware, s5710hi_firmware, s5720hi_firmware, s6300ei_firmware, s6700ei_firmware, s7700_firmware, s9300_firmware, s9700_firmware)
The IP stack in multiple Huawei Campus series switch models allows remote attackers to cause a denia ...
»CVE-2015-9020 (android)
In all Android releases from CAF using the Linux kernel, an untrusted pointer dereference vulnerabil ...


Date published: 2017-06-23T00:00:30Z
Details

»IC3 Issues Internet Crime Report for 2016
Original release date: June 21, 2017 The Internet Crime Complaint Center (IC3) has released i ...
»Drupal Releases Security Updates
Original release date: June 21, 2017 Drupal has released an advisory to address several vulne ...
»Cisco Releases Security Updates
Original release date: June 21, 2017 Cisco has released updates to address several vulnerabil ...
»Mozilla Releases Security Update
Original release date: June 15, 2017 Mozilla has released a security update to address multip ...
»Google Releases Security Updates for Chrome
Original release date: June 15, 2017 Google has released Chrome version 59.0.3071.104 for Win ...
»ISC Releases Security Updates for BIND
Original release date: June 15, 2017 | Last revised: June 16, 2017 The Internet Systems Conso ...
»Microsoft Releases June 2017 Security Updates
Original release date: June 13, 2017 Microsoft has released updates to address vulnerabilitie ...
»Mozilla Releases Security Updates
Original release date: June 13, 2017 Mozilla has released security updates to address multipl ...
»Adobe Releases Security Updates
Original release date: June 13, 2017 Adobe has released security updates to address vulnerabi ...
»FTC Recommends Steps to Protect Against Mobile Phone Theft
Original release date: June 08, 2017 The Federal Trade Commission (FTC) has released an alert ...


Date published: not known
Details

»Research paper shows it may be possible to distinguish malware traffic using TLS
Researchers at Cisco have published a paper describing how it may b ...
»Is CVE-2017-0199 the new CVE-2012-0158?
After five years of exploitation in a wide variety of attacks, CVE- ...
»Review: BSides London 2017
Virus Bulletin was a proud sponsor of BSides London 2017 - Martijn ...
»VB2017: one of the most international security conferences
It is well known that the problem of cybersecurity is a global one ...
»VB2016 paper: Diving into Pinkslipbot's latest campaign
Qakbot or Qbot, is a banking trojan that makes the news every once ...
»Book review: Spam: A Shadow History of the Internet
VB Editor Martijn Grooten reviews Finn Brunton's book 'Spam: A Shad ...
»Virus Bulletin to sponsor BSides London
Virus Bulletin is proud to be a Silver sponsor of BSides London nex ...
»VB2016 video: Last-minute paper: Malicious proxy auto-configs: an easy way to harvest banking credentials
In a VB2016 last-minute presentation, Jaromír Horejší and Jan Širme ...
»WannaCry shows we need to understand why organizations don't patch
Perhaps the question we should be asking about WannaCry is not ...


Date published: not known
Details
Main Menu
· Home
Current Security News
 
US-CERT Current Activity

» IC3 Issues Internet Crime Report for 2016
[21 Jun 2017 04:40pm]

» Drupal Releases Security Updates
[21 Jun 2017 03:30pm]

» Cisco Releases Security Updates
[21 Jun 2017 01:45pm]

» Mozilla Releases Security Update
[15 Jun 2017 07:29pm]

» Google Releases Security Updates for Chrome
[15 Jun 2017 07:27pm]

» ISC Releases Security Updates for BIND
[14 Jun 2017 11:26pm]

» Microsoft Releases June 2017 Security Updates
[13 Jun 2017 02:56pm]

» Mozilla Releases Security Updates
[13 Jun 2017 02:52pm]

» Adobe Releases Security Updates
[13 Jun 2017 02:51pm]

» FTC Recommends Steps to Protect Against Mobile Phone Theft
[08 Jun 2017 05:43pm]

***
US-CERT Alerts

» TA17-164A: HIDDEN COBRA – North Korea’s DDoS Botnet Infrastructure
[13 Jun 2017 09:45am]

» TA17-163A: CrashOverride Malware
[12 Jun 2017 03:44pm]

» TA17-156A: Reducing the Risk of SNMP Abuse
[05 Jun 2017 06:11pm]

» TA17-132A: Indicators Associated With WannaCry Ransomware
[12 May 2017 07:36pm]

» TA17-117A: Intrusions Affecting Multiple Victims Across Multiple Sectors
[27 Apr 2017 04:50pm]

» TA17-075A: HTTPS Interception Weakens TLS Security
[16 Mar 2017 06:40am]

» TA16-336A: Avalanche (crimeware-as-a-service infrastructure)
[30 Nov 2016 10:00pm]

» TA16-288A: Heightened DDoS Threat Posed by Mirai and Other Botnets
[14 Oct 2016 05:59pm]

» TA16-250A: The Increasing Threat to Network Infrastructure Devices and Recommended Mitigations
[06 Sep 2016 04:29pm]

» TA16-187A: Symantec and Norton Security Products Contain Critical Vulnerabilities
[05 Jul 2016 08:50am]

***
Computerworld Security

» How IT should prep for Apple's public OS betas
[22 Jun 2017 10:22am]

» Not the disaster recovery we were expecting
[22 Jun 2017 04:00am]

» Q&A: AppDynamics CIO sees SaaS as the future of mobile management
[21 Jun 2017 04:11am]

» 4 ways blockchain is the new business collaboration tool
[20 Jun 2017 03:58pm]

» 2 handy yet hidden Chromebook security features
[20 Jun 2017 10:04am]

» The Microsoft security hole at the heart of Russian election hacking
[20 Jun 2017 09:29am]

» The price of security is eternal phone calls
[16 Jun 2017 04:00am]

» Rogue cell phone surveillance gives rise to mobile threat defense
[15 Jun 2017 04:01am]

» Microsoft resurrects Windows XP patches for second month straight
[13 Jun 2017 04:22pm]

» What Microsoft owes customers, and answers to other 'WannaCry' questions
[12 Jun 2017 01:57pm]

» For real Windows 10 privacy, you need the China Government Edition
[12 Jun 2017 12:19pm]

» IDG Contributor Network: Can Dell change endpoint security?
[12 Jun 2017 10:15am]

» 24% off Resqme Keychain Car Escape Tool 2-Pack - Deal Alert
[09 Jun 2017 07:42am]

» Blockchain integration turns ERP into a collaboration platform
[09 Jun 2017 04:06am]

» How to fix Android's Smart Lock Trusted Places feature
[08 Jun 2017 10:33am]

***
Microsoft Security Advisories

» 4025685 - Guidance related to June 2017 security update release - Version: 1.0
[13 Jun 2017 11:00am]

» 4022345 - Identifying and correcting failure of Windows Update client to receive updates - Version: 1.3
[12 May 2017 11:00am]

» 4022344 - Security Update for Microsoft Malware Protection Engine - Version: 1.2
[12 May 2017 11:00am]

» 4021279 - Vulnerabilities in .NET Core, ASP.NET Core Could Allow Elevation of Privilege - Version: 1.1
[10 May 2017 11:00am]

» 4010323 - Deprecation of SHA-1 for SSL/TLS Certificates in Microsoft Edge and Internet Explorer 11 - Version: 1.0
[09 May 2017 11:00am]

» 3123479 - SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 2.0
[14 Mar 2017 11:00am]

» 4010983 - Vulnerability in ASP.NET Core MVC 1.1.0 Could Allow Denial of Service - Version: 1.0
[27 Jan 2017 11:00am]

» 3214296 - Vulnerabilities in Identity Model Extensions Token Signing Verification Could Allow Elevation of Privilege - Version: 1.0
[10 Jan 2017 11:00am]

» 3181759 - Vulnerabilities in ASP.NET Core View Components Could Allow Elevation of Privilege - Version: 1.0
[13 Sep 2016 11:00am]

» 3174644 - Updated Support for Diffie-Hellman Key Exchange - Version: 1.0
[13 Sep 2016 11:00am]

» 3179528 - Update for Kernel Mode Blacklist - Version: 1.0
[09 Aug 2016 11:00am]

» 2880823 - Deprecation of SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 2.0
[18 May 2016 11:00am]

» 3155527 - Update to Cipher Suites for FalseStart - Version: 1.0
[10 May 2016 11:00am]

» 3152550 - Update to Improve Wireless Mouse Input Filtering - Version: 1.1
[22 Apr 2016 11:00am]

» 3137909 - Vulnerabilities in ASP.NET Templates Could Allow Tampering - Version: 1.1
[10 Feb 2016 11:00am]

***


***
Network World Security

» 6 things you need to know about virtual private networks
[22 Jun 2017 02:35pm]

» IDG Contributor Network: The fight to defend the Internet of Things
[22 Jun 2017 09:00am]

» Banks and Fed sites score as least trustworthy in OTA 2017 security and privacy audit
[21 Jun 2017 07:35am]

» EU wants to ease commercial drone use with future flight rules
[20 Jun 2017 02:06pm]

» Gravityscan, keeping WordPress sites safe
[24 May 2017 02:34pm]

» Network monitoring tools: Features users love and hate
[01 May 2017 04:51am]

» Fight firewall sprawl with AlgoSec, Tufin, Skybox suites
[10 Apr 2017 04:32am]

» Review: Canary Flex security camera lives up to its name
[24 Mar 2017 07:01am]

» Zix wins 5-vendor email encryption shootout
[13 Mar 2017 04:00am]

» Review: vArmour flips security on its head
[06 Mar 2017 03:50am]

» 5 open source security tools too good to ignore
[21 Feb 2017 07:12am]

» Review: Samsung SmartCam PT network camera
[15 Feb 2017 07:00am]

» Review: Arlo Pro cameras offer true flexibility for home security
[09 Feb 2017 07:01am]

» IDG Contributor Network: The fight to defend the Internet of Things
[22 Jun 2017 09:00am]

» Banks and Fed sites score as least trustworthy in OTA 2017 security and privacy audit
[21 Jun 2017 07:35am]

***


More IT Security
News Feeds
More Sponsors

Advertise on this site
RSS Feeds
Our news can be syndicated by using these rss feeds.
rss1.0
rss2.0
rdf

NIST.org is in no way connected to the U.S. government site NIST.gov

This site is © John Herron, CISSP. All Rights Reserved.

Please visit daily to stay up to date on all your IT Security compliance issues.

http://www.nist.org -
Hosted by BlueHost. We've never had a better hosting company.
{THEMEDISCLAIMER}