Skip the navigation

Windows 'shortcut' attack code goes public

One researcher publishes exploit, another touts defense for Microsoft's newest zero-day

July 19, 2010 06:47 AM ET

Computerworld - A security researcher on Sunday published a working exploit of a critical Windows vulnerability, making it more likely that attacks will spread.

According to a security advisory issued Friday by Microsoft, hackers can use a malicious shortcut file, identified by the ".lnk" extension, to automatically run their malware simply by getting a user to view the contents of a folder containing the shortcut. Malware can also automatically execute on some systems when a USB drive is plugged into the PC.

All versions of Windows, including the just-released beta of Windows 7 Service Pack 1 (SP1), as well as the recently retired Windows XP SP2 and Windows 2000, contain the bug.

Sunday, a researcher known as "Ivanlef0u" published proof-of-concept code to several locations on the Internet. Later that day, Belgian researcher Didier Stevens -- who in late March revealed a serious design flaw in Adobe's PDF document format -- confirmed that Ivanlef0u's code could be tweaked to create an effective attack.

Stevens also announced that he'd tested Ivanlef0u's exploit against a tool he'd written a year ago, and said that the utility successfully blocked attacks launched from USB flash drives and CDs. "You can use Ariad if you want to mitigate attacks with these shortcut links until Microsoft releases a patch," Stevens said of the tool in a Sunday blog.

In the blog post, Stevens illustrated how to set up Ariad to block executable files, including .lnk files, from running from a USB or CD drive. He also urged users to read Ariad's online documentation, and warned them that running it could be risky. "Ariad is a mini-filter drive, and as such operates inside the Windows kernel," Stevens said. "Bugs in kernel software can have grave consequences: the dreaded BSOD [Blue Screen of Death]. So please test this software first on a test machine you can miss."

Stevens clearly told rookie users to steer clear of the tool. "I don't want inexperienced users to install this. [Ariad] is not user-friendly," he said.

Microsoft's defensive advice thus far has been limited to recommending that users edit the Windows registry to disable the displaying of all shortcut icons, and to switch off the WebClient service.

Another researcher didn't think much of Microsoft's workarounds. "This is highly impractical for most environments," argued Chester Wisniewski, a senior security advisory with Sophos. "While it would certainly solve the problem, it would also cause mass confusion among many users and might not be worth the support calls," he said. "Microsoft also suggests disabling the WebClient service that is used for WebDav. If you are not a Microsoft SharePoint customer this may be a solution, but many organizations rely on SharePoint so this is limiting as well."



Our Commenting Policies
Internet of Things: Get the latest!
Internet of Things

Our new bimonthly Internet of Things newsletter helps you keep pace with the rapidly evolving technologies, trends and developments related to the IoT. Subscribe now and stay up to date!