X

Flame virus can hijack PCs by spoofing Windows Update

Using rogue security certificates, the virus is able to exploit Microsoft's Windows Update service to infect unsuspecting computers.

Lance Whitney Contributing Writer
Lance Whitney is a freelance technology writer and trainer and a former IT professional. He's written for Time, CNET, PCMag, and several other publications. He's the author of two tech books--one on Windows and another on LinkedIn.
Lance Whitney
3 min read

The infamous Flame virus can infect even secure PCs by tricking them into believing its malicious payload is actually an update from Microsoft.

As we already know, Flame has gained traction by tapping into security certificates for Microsoft's Terminal Server. Though they appear to be digitally signed by Microsoft, the certificates are actually cooked up by the people behind Flame, thereby tricking PCs into accepting them as legitimate.

Microsoft and Symantec revealed yesterday that the virus can up the ante by using the fake certificates to spoof Microsoft's own Windows Update service. As such, Windows PCs could receive an update that claims to be from Microsoft but is in fact a launcher for the malware.

Symantec described the method behind Flame's madness: The virus, also known as Flamer, uses three applications to infect PCs -- Snack, Munch, and Gadget. Collectively, this trio can trick PCs into redirecting Internet traffic to an infected computer with a fake Web server,. Once infected, a PC thinks the file that loads Flame is actually a Windows Update from Microsoft.

And as Symantec explained in its blog, spoofing Windows Update is not a trivial matter.

Hijacking Windows Update is not trivial because updates must be signed by Microsoft. However, Flamer bypasses this restriction by using a certificate that chains to the Microsoft Root Authority and improperly allows code signing. So when a Windows Update request is received, the GADGET module through MUNCH provides a binary signed by a certificate that appears to belong to Microsoft.

The unsuspecting PC then downloads and executes the binary file, believing it to be a legitimate Windows Update file, Symantec added. The binary is not the Flame virus itself but a loader for Flame.

Microsoft also confirmed the risk to Windows Update, explaining that the vulnerability could be used to attack customers who weren't the focus of the original Flame virus.

"In all cases, Windows Update can only be spoofed with an unauthorized certificate combined with a man-in-the-middle attack," Microsoft said. The Flame virus itself has employed a man-in-the-middle attack to steal data, listen in on audio conversations, and take shots of screen activity.

Microsoft has already taken action by issuing a Security Advisory on how to block software signed by the unauthorized certificates, releasing an update to block the rogue certificates, and cutting off the ability of the Terminal Server Licensing Service to issue certificates that allow code to be signed.

To further protect its customers, the software giant is promising to harden its Windows Update service.

"We will begin this update following broad adoption of Security Advisory 2718704 in order not to interfere with that update's worldwide deployment," Microsoft said. "We will provide more information on the timing of the additional hardening to Windows Update in the near future."

Some security experts have downplayed the danger of Flame, claiming it's not as huge a threat as feared.

So far, the virus has targeted just the Middle East. But security vendor Kaspersky, which discovered the virus, is at the very least increasingly amazed by the complexity of it.

"As we continue our investigation of Flame, more and more details appear which indicate our initial statement: this is one of the most interesting and complex malicious programs we have ever seen," Kaspersky said in a blog yesterday.