Vulnerability in Windows Shell Could Allow Remote Code Execution

based on http://www.kb.cert.org/vuls/id/940193

here is the solutions,

Disable the displaying of icons for shortcuts

According to Microsoft Security Advisory 2286198:
Note See Microsoft Knowledge Base Article 2286198 to use the automated Microsoft Fix it solution to enable or disable this workaround.

Note Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the “Changing Keys And Values” Help topic in Registry Editor (Regedit.exe) or view the “Add and Delete Information in the Registry” and “Edit Registry Data” Help topics in Regedt32.exe.

1. Click Start, click Run, type Regedit in the Open box, and then click OK
2. Locate and then click the following registry key:
HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler
3. Click the File menu and select Export
4. In the Export Registry File dialog box, enter LNK_Icon_Backup.reg and click Save
Note This will create a backup of this registry key in the My Documents folder by default
5. Select the value (Default) on the right hand window in the Registy Editor. Press Enter to edit the value of the key. Remove the value, so that the value is blank, and press Enter.
6. Restart explorer.exe or restart the computer.

Disable AutoRun

Disabling AutoRun can increase the amount of user interaction that is required to trigger this vulnerability. It will not block the vulnerability, however. Please see Microsoft Support article 967715 for more details. Setting the NoDriveTypeAutoRun registry entry to 0xFF should provide the highest amount of protection.

Use least privilege

Use “least privilege” approach to user accounts. By reducing the privileges of the user accounts, the impact of this and other vulnerabilties may be reduced. More information about this technique is available in the Microsoft TechNet article Applying the Principle of Least Privilege to User Accounts on Windows XP. Note that these concepts still apply to Windows Vista and newer operating systems.

Disable the WebClient service

According to Microsoft Security Advisory 2286198:
Disabling the WebClient service helps protect affected systems from attempts to exploit this vulnerability by blocking the most likely remote attack vector through the Web Distributed Authoring and Versioning (WebDAV) client service. After applying this workaround, it will still be possible for remote attackers who successfully exploited this vulnerability to cause Microsoft Office Outlook to run programs located on the targeted user’s computer or the Local Area Network (LAN), but users will be prompted for confirmation before opening arbitrary programs from the Internet.

To disable the WebClient Service, follow these steps:
1. Click Start, click Run, type Services.msc and then click OK.
2. Right-click WebClient service and select Properties.
3. Change the Startup type to Disabled. If the service is running, click Stop.
4. Click OK and exit the management application.
Block outgoing SMB traffic

Block outgoing connections on ports 139/tcp, 139/udp, 445/tcp, and 445/udp at your network perimeter. Doing so will help prevent machines on the local network from connecting to SMB servers on the internet. While this does not remove the vulnerability, it does block an attack vector for this vulnerability.

recommended articles:

http://www.sophos.com/blogs/chetw/g/2010/07/16/windows-day-attack-works-windows-systems/

http://blog.eset.com/2010/07/17/windows-shellshocked-or-why-win32stuxnet-sux

http://blog.didierstevens.com/2010/07/18/mitigating-lnk-exploitation-with-ariad/

Update from Microsoft (Microsoft Security Advisory: Vulnerability in Windows Shell could allow remote code execution)

http://support.microsoft.com/kb/2286198

You can it Manually. or use the automate method by download Microsoft Fixit from here

Using the interactive method

1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then select the following registry key:
HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler
3. Click the File menu and then click Export.
4. In the Export Registry File dialog box, type LNK_Icon_Backup.reg and then click Save.
Note This will create a backup of this registry key in the My Documents folder by default .
5. Select the value (Default) on the right pane in the Registy Editor. Press ENTER to edit the value of the key. Delete the value, so that the value is blank, and press ENTER.
6. Locate and then select the following registry key:
HKEY_CLASSES_ROOT\piffile\shellex\IconHandler
7. Click the File menu and then click Export.
8. In the Export Registry File dialog box, type PIF_Icon_Backup.reg and then click Save.
Note This will create a backup of this registry key in the My Documents folder by default
9. Select the value (Default) on the right pane in the Registy Editor. Press ENTER to edit the value of the key. Delete the value, so that the value is blank, and press ENTER.

Impact of the workaround :
Some icons will no longer show a graphical representation

How to undo the interactive method

1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. On the File menu, click Import.
3. In the Import Registry File dialog box, select LNK_Icon_Backup.reg, and then click Open.
4. On the File menu, click Import.
5. In the Import Registry File dialog box, select PIF_Icon_Backup.reg, and then click Open.
6. Exit Registry Editor, and then restart the computer.

How to manually reset the Registry key values to the default values

1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then click the following registry key:
HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler
3. Reset the registry key value to:
{00021401-0000-0000-C000-000000000046}
4. Locate and then click the following registry key:
HKEY_CLASSES_ROOT\piffile\shellex\IconHandler
5. Reset the registry key value to:
{00021401-0000-0000-C000-000000000046}
6. Restart the computer