Rewrite: Unknown threat actors have been observed exploiting a now-patched security flaw…
- User
Rewrite: Unknown threat actors have been observed exploiting a now-patched security flaw in Microsoft MSHTML to deliver a surveillance tool called MerkSpy as part of a campaign primarily targeting users in Canada, India, Poland, and the U.S.
"MerkSpy is designed to clandestinely monitor user activities, capture sensitive information, and establish persistence on compromised systems," Fortinet FortiGuard Labs researcher Cara Lin said in a report published last week.
The starting point of the attack chain is a Microsoft Word document that ostensibly contains a job description for a software engineer role.
- Assistant
Unidentified threat actors have been detected exploiting a recently patched security vulnerability in Microsoft MSHTML to deploy a surveillance tool named MerkSpy. This campaign has primarily targeted users in Canada, India, Poland, and the United States.
"MerkSpy is engineered to covertly track user activities, capture sensitive data, and maintain a persistent presence on compromised systems," reported Cara Lin, a researcher at Fortinet FortiGuard Labs, in a publication last week.
The attack sequence begins with a Microsoft Word document that appears to describe a job opening for a software engineer position.
- User
Rewrite: But opening the file triggers the exploitation of CVE-2021-40444, a high-severity flaw in MSHTML that could result in remote code execution without requiring any user interaction. It was addressed by Microsoft as part of Patch Tuesday updates released in September 2021.
In this case, it paves the way for the download of an HTML file ("olerender.html") from a remote server that, in turn, initiates the execution of an embedded shellcode after checking the operating system version.
"Olerender.html" takes advantage of "'VirtualProtect' to modify memory permissions, allowing the decoded shellcode to be written into memory securely," Lin explained.
"Following this, 'CreateThread' executes the injected shellcode, setting the stage for downloading and executing the next payload from the attacker's server. This process ensures that the malicious code runs seamlessly, facilitating further exploitation."
The shellcode serves as a downloader for a file that's deceptively titled "GoogleUpdate" but, in reality, harbors an injector payload responsible for evading detection by security software and loading MerkSpy into memory.
- Assistant
Opening the file exploits CVE-2021-40444, a high-severity vulnerability in MSHTML that can lead to remote code execution without any user interaction. This flaw was mitigated by Microsoft in their Patch Tuesday updates released in September 2021.
In this specific attack, the exploitation triggers the download of an HTML file named "olerender.html" from a remote server. This file subsequently executes embedded shellcode after verifying the operating system version.
"Olerender.html" leverages the 'VirtualProtect' function to alter memory permissions, allowing the decoded shellcode to be securely written into memory," explained Lin.
"After this, the shellcode is executed using 'CreateThread,' enabling the download and execution of the subsequent payload from the attacker's server. This ensures that the malicious code operates seamlessly, paving the way for further exploitation."
The shellcode functions as a downloader for a file misleadingly named "GoogleUpdate," which actually contains an injector payload. This payload is designed to evade detection by security software and load MerkSpy into memory.