Skip to main content
Mallory
← Back to News
proof-of-concept-releaseendpoint-software-vulnerabilityphishing-campaign-intelligencecredential-stealer-activity

Microsoft Office Equation Editor Flaw CVE-2017-11882 Fueled Public Exploits and LokiBot Delivery

Patch & Detection Intelligence · 13 sources · Updated 3mo ago · First seen Jan 20, 2021

Microsoft Office Equation Editor Flaw CVE-2017-11882 Fueled Public Exploits and LokiBot Delivery

CVE-2017-11882 is a Microsoft Office memory corruption flaw in the legacy Equation Editor that enables arbitrary code execution in the context of the current user when a victim opens a crafted document. The vulnerability affects Office 2007 SP3, Office 2010 SP2, Office 2013 SP1, and Office 2016, and public exploit material quickly emerged showing how malicious RTF files could trigger remote command execution or shellcode execution, including Metasploit support and techniques that leveraged mshta.exe or injected payloads into EQNEDT32.EXE.

The flaw was also used in phishing operations to deliver malware. One documented campaign used malicious Office documents exploiting CVE-2017-11882 alongside CVE-2017-0199 to deploy the LokiBot stealer through a multi-stage chain involving encrypted Excel files, embedded OLE objects, and follow-on document retrieval. Investigation of the campaign exposed misconfigured attacker infrastructure, including a publicly accessible phpinfo.php page on 192.3.239.42, a host identified as WIN-2NF07F1AQLT, and OSINT links to additional infrastructure and Brazil-registered scam domains tied to the operation.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · Nov 14, 2017 – Jan 20, 2021
  1. Reported Jun 30, 20224y ago

    Misconfigured LokiBot infrastructure exposed attacker details

    Investigation of the LokiBot campaign found a publicly accessible phpinfo.php page on 192.3.239.42 that exposed the hostname WIN-2NF07F1AQLT and a Windows Server 2016 environment. OSINT linked the hostname to additional malicious infrastructure and to Brazil-registered domains Webcamer.com.br and Citydesconto.com.br.

    How to expose a potential cybercriminal due to misconfigurations - CYBER GEEKS
  2. Reported Jun 30, 20224y ago

    LokiBot phishing chain used CVE-2017-11882 documents

    Researchers described a phishing campaign using malicious Office documents that exploited CVE-2017-0199 and CVE-2017-11882 to deliver the LokiBot stealer. The lure impersonated Romania's ANAF and led victims through a multi-stage chain ending with download of vbc.exe from attacker infrastructure.

    How to expose a potential cybercriminal due to misconfigurations - CYBER GEEKS
  3. Jan 20, 20216y ago

    CVE-2017-11882 record updated

    The CVE record for CVE-2017-11882 was updated, with the entry continuing to note advisory, CERT, exploit, and in-the-wild research references. The update did not change the core description of the Microsoft Office memory corruption flaw.

    CVE Record: CVE-2017-11882
  4. Jan 2, 20189y ago

    GitHub PoC shows WebDAV-based CVE-2017-11882 code execution

    A GitHub repository published a proof of concept named webdav_exec for CVE-2017-11882 that generated a malicious document using OLE objects for sequential command execution. The technique used a UNC path and WebDAV to start the WebClient service and launch an attacker-controlled executable from a remote server, bypassing command-length limitations.

    GitHub - rxwx/CVE-2017-11882: Proof-of-Concept exploits for CVE-2017-11882 · GitHub
  5. Dec 8, 20179y ago

    Trend Micro reports CVE-2017-11882 used to deliver Loki spyware

    Trend Micro disclosed a malicious RTF document exploiting CVE-2017-11882 to launch an HTA file, invoke PowerShell, and retrieve the Loki spyware payload. The report also said other actors were using the flaw in spam campaigns to distribute malware including Pony/FAREIT, FormBook, ZLoader, and Ursnif.

    17-Year Old MS Office Flaw (CVE-2017-11882) Actively Exploited in the Wild | Trend Micro (US)
  6. Reported Dec 6, 20179y ago

    Public exploit repo documents large-payload RTF attack

    A GitHub exploit repository documented a Python-based CVE-2017-11882 exploit that could generate crafted RTF files for command execution or shellcode delivery, supporting payloads of roughly 17 KB. The write-up also described optional shellcode injection into a new EQNEDT32.EXE process.

    GitHub - rip1s/CVE-2017-11882: CVE-2017-11882 Exploit accepts over 17k bytes long command/code in maximum. · GitHub
  7. Nov 21, 20179y ago

    Metasploit module for CVE-2017-11882 posted on GitHub

    A GitHub repository published a Metasploit module and RTF template for exploiting CVE-2017-11882, based on a public Embedi proof of concept. The module used mshta.exe to execute the payload.

    GitHub - 0x09AL/CVE-2017-11882-metasploit: This is a Metasploit module which exploits CVE-2017-11882 using the POC released here : https://embedi.com/blog/skeleton-closet-ms-office-vulnerability-you-didnt-know-about. · GitHub
  8. Nov 20, 20179y ago

    Unit 42 links CVE-2017-11882 attacks to FormBook invoice campaign

    Unit 42 reported active in-the-wild exploitation of CVE-2017-11882 and said that since November 20 it had seen thousands of attack attempts. The researchers described a Europe-targeted fake invoice campaign in which a malicious Office document used the flaw to launch mshta and ultimately download the FormBook information stealer.

    Analysis of CVE-2017-11882 Exploit in the Wild
  9. Nov 15, 20179y ago

    CVE-2017-11882 published by MITRE/Microsoft

    CVE-2017-11882 was published as a Microsoft Office memory corruption vulnerability that can allow arbitrary code execution in the context of the current user. The record identifies affected Office versions including Office 2007 SP3, 2010 SP2, 2013 SP1, and 2016.

    CVE Record: CVE-2017-11882
  10. Nov 14, 20179y ago

    Microsoft releases advisory and security update for CVE-2017-11882

    Microsoft published its Security Update Guide entry for CVE-2017-11882, describing a Microsoft Office memory corruption vulnerability that could lead to remote code execution when a user opens a specially crafted file. Microsoft said the flaw was not publicly disclosed or exploited at original publication and that the update fixed how the affected component handled objects in memory.

    CVE-2017-11882 - Security Update Guide - Microsoft - Microsoft Office Memory Corruption Vulnerability
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

2 linked

Affected products

1 linked
Microsoft Office

Organizations

1 linked
Microsoft Corporation

Observables

81 linked

Indicator values are masked on this page. View all 81 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.