How to protect Windows from the new MHTML zero-day hole
Analysis
Jan 31, 20115 mins
Turning off the MHTML protocol will offer protection and break little, Microsoft advises
On Friday, Microsoft warned of a new zero-day bug affecting all versions of Windows that could allow remote code execution if users clicked on malicious links. It also released some guidance on how to determine if your Windows machines are vulnerable and how to turn off MHTML, the offending protocol that allows the attack.
Microsoft explains that this is a Windows hole, even though the tool used to cause the attack is Internet Explorer. Internet Explorer and Opera are the only two browsers that natively support MHTML, a format used to combine items that are typically external links (such as images, Flash animations, Java applets, audio files) with HTML in a single file, Wikipedia explains.
All versions of Windows are affected. Turning off MHTML apparently only has one side affect, that some ActiveX scripts in MHT files would be stopped. Microsoft said it is working with Google and others to develop and deploy a server-side fix.
Updated 2/1/2011: You can block MHTML in two ways. If you are a Windows user, working on one machine, you can use Microsoft’s Fix-it tool that will turn off MHTML for you on your PC. Here is the link to the Fix-it tool (it includes a link to an uninstall). Your second option is to directly edit the Windows registry. This would be the preferred method if you are an enterprise managing large numbers of clients. Microsoft has shared the code that will edit the registry, which you can then push out to the enterprise Windows PCs through Group Policy.
For your convenience, here is the registry information and the information from the TechNet article on how to test your system and ensure your lockdown of the protocol has worked.
To lockdown the MHTML protocol, paste the following text in a text editor such as Notepad. Then, save the file by using the .reg file name extension.