Site icon Sophos News

Word exploits weaponised in quick time

The bad guys were especially efficient at turning the CVE-2017-0199 Word exploit into a potent attack, according to a SophosLabs analysis.

Principal Researcher Gábor Szappanos outlined the sequence of events in “CVE-2017-0199: life of an exploit,” a paper published today.

He wrote:

The normal lifecycle of an Office exploit starts with the initial use in targeted attacks. Then, at some point, the information leaks out and cybercrime groups start using it more widely. Offensive security researchers then start experimenting with antivirus evasion, and the exploit finally ends up in underground exploit builders. Normally this cycle can take a few months. In the case of the CVE-2017-0199 Word exploit, we have observed this at a much more accelerated time scale.

Exploit history

The following chart shows the lifecycle of the CVE-2017-0199 Word exploit:

23/11/2016

First known sample of the exploit

07/04/2017

McAfee report about zero-day samples [1]

08/04/2017

FireEye first blog about the exploit [2]

10/04/2017

Massive Dridex distribution

10/04/2017

Proofpoint report with first hashes [3]

11/04/2017

Microsoft releases the patch [4]

11/04/2017

FireEye releases full report [5]

12/04/2107

AV evasion experiments start

14/04/2017

Metasploit module released

18/04/2017

Builder 1 was released (based on Metasploit)

24/04/2017

Builder 2 was released (based on Dridex)

08/05/2017

MWI support released [8]

 

The vulnerability has been used for months in targeted attacks, and most of the activity happened in March and April. But the first samples date back to November. Szappanos wrote:

At this point, most security researchers and virus labs didn’t have reliable information about the exploit, let alone samples. Yet somehow the criminals behind the Dridex distribution campaigns found a working sample of the exploit and started using it for malware distribution all within a couple of days.

They could react quickly because they were reusing their own already existing distribution mechanism, he wrote.

The paper goes on to outline specific steps the bad guys took to turn the exploit into an effective series of attacks. The PDF is available on Sophos.com’s technical papers page.

Word zero-day attacks

Szappanos decided to delve deeper after attackers used a previously undisclosed Word zero-day vulnerability to install a variety of malware on victims’ computers.

The attacks culminated in Microsoft releasing a patch on April 11 for the vulnerability, which was triggered when users opened a document with a benign-looking download warning, followed by a download from a booby-trapped server that sent a document of a more dangerous sort.

In this case, the booby-trapped server sent out a compiled HTML file with an embedded program script. Word accepted and ran the script without producing the warning you would expect to see.

It affected all current Office versions used on every Windows operating system, including the latest Office 2016 running on Windows 10. Attacks did not rely on enabled macros, so no warning for macro-laden documents appeared. The Dridex banking Trojan was among the malware used in some of the exploits.

The patch and other defenses

Sophos detected the first stage RTF downloader used in these exploits as Troj/DocDrop-TJ, and the second stage HTA code as Troj/DocDrop-SU. Sophos customers were protected.

The ultimate solution was to install Microsoft’s patch, but at the time Naked Security offered the following suggestions for a more robust defense:

Exit mobile version