How to protect against Windows WMF attacks

03.01.2006
With Microsoft promising a security update "upon completion of [an] investigation" of the WMF security flaw, there's currently no vendor-sanctioned fix for the Windows Metafile vulnerability.

However, there are ways to protect your system and network from potential attack.

"If you are a Windows OneCare user and your current status is green, you are already protected from known malware that uses this vulnerability to attempt to attack systems," according to Microsoft. If not, there are several other defense strategies, including:

-- Un-register the Windows shimgvw.dll file. The command "regsvr32 -u %windir%system32shimgvw.dll" (without the quotation marks) at the command-line prompt should do this on an individual system. "This workaround is better than just trying to filter files with a WMF extension," according to security firm F-Secure, since some malicious WM files are being disguised with other file extensions.

-- Ilfak Guilfanov, "the main author of Interactive Disassembler Pro and...arguably one of the best low-level Windows experts in the world," F-Secure says, has posted a temporary fix at hexblog.com. Security firm iDefense Inc. says it tested the patch and verified that it's effective and doesn't seem to include malicious code, but notes that the patch "is still from an independent source, and not the actual vendor, and should be treated as such." SANS also says it has "reverse engineered, reviewed and vetted" the fix. Guilfanov recommends uninstalling his workaround once Microsoft issues an official fix.

-- "Configure Internet Explorer to a HIGH security level," iDefense suggests in a listing of several protection strategies.

-- Block several IP addresses that have been associated with malicious activity in the past, according to Johannes Ullrich with SANS. Details are posted on the SANS Internet Storm Centre diary.

"WMF exploitation has rapidly become a major threat, especially as the work week resumes after a long holiday weekend," iDefense spokesman Ken Dunham said in an e-mail advisory. "The situation is rapidly escalating now with hundreds of hostile sites purported, dozens confirmed, and more from public and private data shared to date. ...Traditionally, any rapid exploitation on a widespread basis within seven days or less has led to a major meta-event."

For more information on the WMF vulnerability from security vendors and experts:

F-Secure's blog -- http://www.f-secure.com/weblog/

Hexblog -- hexblog.com

Steve Gibson's explainer of the fix on Hexblog -- http://www.grc.com/sn/notes-020.htm

SANS Internet Storm Center diary -- http://isc.sans.org/

Microsoft's initial security advisory -- http://www.microsoft.com/technet/security/advisory/912840.mspx