Creators of Tools for Building Malicious Office Docs Ditch Old Exploits In their place is a collection of new exploits for more recently disclosed - and therefore not likely widely patched - vulnerabilities.
In an unusual development, the creators of tools used to mass-produce malicious Microsoft Office documents have completely scrapped a range of exploits they've been using, some for years, and replaced them with a new set of exploits.
Researchers from Sophos observed the trend developing around the beginning of this year. They say they've never seen such a complete abandonment of existing exploits — and, in a few cases, the tools that used them — over such a short time period.
The development suggests that many of the exploits developers have been using in their malicious document "builders" have been patched, so they are quickly turning to new exploits instead, says Gabor Szappanos, principal malware researcher at Sophos.
The main takeaway for enterprises is that the exploit deployment cycle has shortened significantly, he says. "A year ago, when a new Office exploit surfaced, enterprises had one to two months to deploy the security patch before large-scale infection campaigns started hitting their users," Szappanos says.
That cycle has now shortened to a couple of weeks or, in extreme cases, even just couple of days. "There is no time to hesitate when it comes to deploying security patches for Office exploits," he notes.
Exploit builders are tools that allow criminals — especially those with little technical savvy — to deliver malware of their choice on target systems with little effort. The tools automate the process of creating malicious Office document with exploit content.
One example is ThreadKit, an $800 tool available on several Russian-language marketplaces that was used to create nearly one-third of all malicious Office documents that Sophos analyzed. ThreadKit and three other exploit builders accounted for more than 75% of all malicious Office documents that Sophos investigated in the first quarter of 2018.
"Without the builders, [criminal] groups would instead rely on more traditional methods, [such as] executable attachments, scripts, [and] VBA macros in malware delivery, rather than exploits," Szappanos says.
The authors of builders typically offer criminals a menu of exploits that they can choose from to embed in their malicious documents. Over the past two years, the exploits that have been available for embedding have remained fairly consistent. But starting in January, many of the most popular exploits available for embedding started disappearing.
One example is an exploit for CVE-2017-0199, a remote code execution vulnerability that affects the way Microsoft Office and WordPad handle specially crafted files. Another example is CVE-2012-0158, a buffer overflow flaw in an ActiveX control that criminals actively exploited for more than four years. Along with these exploits, some of the tools that implemented them — such as Microsoft Word Intruder and AKBuilder — have disappeared, as well, Sophos said in a report this week.
In their place is a collection of new exploits for more recently disclosed — and therefore not likely widely patched — vulnerabilities.
By far the most popular is an exploit for memory corruption vulnerability CVE-2017-11882 in the Equation Editor feature in Office that Microsoft disclosed last November. Criminals have embedded an exploit for the vulnerability in some 56% of the malicious Office documents that Sophos has inspected since then. "It’s popular because it is easy to use, and it works with all unpatched Office versions," Szappanos says. "Consequently, there are also a lot of builders providing it."
He says other popular new exploits currently being used in builders include those for another flaw in Equation Editor (CVE-2018-0802); a memory-handling error in Microsoft Office (CVE-2017-8570); and a .NET framework remote code execution flaw (CVE-2017-8759).
Increasingly, malicious Office documents also do not have malware embedded directly in them. Instead, criminals are resorting to fileless approaches that invoke tools like PowerShell to download and execute the malicious payload, thereby making the documents harder to spot and stop, Sophos said.
Black Hat Europe returns to London Dec 3-6 2018 with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the conference and to register.
Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio