overview
A Windows zero-day vulnerability is allowing threat actors to use malicious stand-alone JavaScript files to bypass Mark-of-the-web security warnings. The Mark-of-the-web security feature is the Windows security warning that one sees when attempting to open a file from the Internet. Internet files can be harmful to your computer if opened from an unknown and untrusted source.
Image 1: Mark-of-the-Web Security Pop Up
Additionally, Mark-of-the-web is utilized by Microsoft Office to determine if a file should open in Protected View, which disables macros. As of now, the security flaw does not have a CVE number or an official patch. Researchers from the HP threat intelligence team have observed threat actors infecting devices with Magniber ransomware using JavaScript files – specifically .JS files distributed as attachments or downloads that can run outside of a web browser.
After analysis, Will Dorman from ANALYGENCE discovered that the threat actors signed the JavaScript files with a malformed key. Signing with the malformed key stopped Microsoft from displaying the security warning, automatically executing the script to install the Magniber ransomware. With this technique, normal security warnings are bypassed by threat actors. Dorman believes that security flaw was present with the release of Windows 10.
The Mark-of-the-web vulnerability is concerning because threat actors have already started to exploit it in ransomware attacks. Microsoft stated that they are aware of the vulnerability and are investigating it. In the meantime, there is an unofficial micro-patch for the flaw issued by a third-party company called 0patch. The patch can be applied to the following Windows versions:
At this time, there are no known IoCs associated with the Mark-of-the-web vulnerability. Avertium’s threat hunters remain vigilant in locating IoCs for our customers. Should any be located, Avertium will disclose them as soon as possible. For more information on how Avertium can help protect your organization, please reach out to your Avertium Service Delivery Manager or Account Executive.
Exploited Windows zero-day lets JavaScript files bypass security warnings (bleepingcomputer.com)
Mark of the Web Windows Zero-Day Receives Unofficial Patch - Binary Defense