Security Market Segment LS
Wednesday, 14 April 2021 08:33

Exchange zero-day used to foist miner onto other Exchange servers Featured

Exchange zero-day used to foist miner onto other Exchange servers Image by kalhh from Pixabay

Global security provider Sophos has discovered a Microsoft Exchange Server hosting a malicious monero cryptominer which is aimed at other Exchange servers.

In a blog post, Sophos' principal researcher Andrew Brandt said there had been a variety of payloads noticed since Microsoft announced the Exchange zero-days in March.

"A range of threat actors have been targeting exploitable servers with a variety of malware, from webshells to ransomware," he wrote.

"But those aren’t the only payloads we’ve seen directed at Exchange servers: An unknown attacker has been attempting to leverage what’s now known as the ProxyLogon exploit to foist a malicious monero cryptominer onto Exchange servers, with the payload being hosted on a compromised Exchange server."

The Sophos research was released on the same day that Microsoft announced four remotely exploitable vulnerabilities in Exchange Server, among 114 vulnerabilities it announced as part of its monthly Patch Tuesday announcements.

The zero-day exploits were made public on 3 March, with the company saying that attackers would be able access email accounts and also allow installation of malware to ensure long-term residence in victims' systems.

Brandt said the attack began with a PowerShell command to get hold of a file named on another compromised server's Outlook Web Access logon path (/oaw/auth).

This file with a .zip extension was not a compressed file, but rather a batch script that called the Windows certutil.exe program to pull in two more files which were also posing as compressed archives.

"The first file is written out to the filesystem as QuickCPU.b64," Brandt noted. "The certutil application is designed to be able to decode base64-encoded security certificates, so the attackers have leveraged that functionality by encoding an executable payload in base64 and wrapping it in headers that indicate it is some form of digital certificate."

He said the batch script then put the decoded executable into the same directory and the miner and configuration data were then extracted, injected into a system process and then deleted.

"The file uses forged data in its Properties sheet that indicates the file is a Windows component, but the binary is not digitally signed and, besides, no such file has ever existed as a standard component of Windows, though there is a legitimate utility with the same name, made by a third-party software developer," Brandt wrote. "That utility is not connected to this malware in any way."

The executable appeared to have a doctored version of a tool available on GitHub which could migrate any x64 exe to any x64 process without having admin privileges.

"When it runs, it extracts the contents of the QuickCPU.dat file (an installer for the miner, and its configuration) temporarily to the filesystem, configures the miner, injects it into a running process, then quits," Brandt explained.

"The batch file then deletes the evidence and the miner remains running in memory, injected into a process already running on the system."

The wallet denoted in the miner had begun receiving funds on 9 March, he said, adding that some servers that were infected had been lost, but others gained.

Read 1029 times

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here


The past year has seen a meteoric rise in ransomware incidents worldwide.

Over the past 12 months, SonicWall Capture Labs threat researchers have diligently tracked the meteoric rise in cyberattacks, as well as trends and activity across all threat vectors, including:

Encrypted threats
IoT malware
Zero-day attacks and more

These exclusive findings are now available via the 2022 SonicWall Cyber Threat Report, which ensures SMBs, government agencies, enterprises and other organizations have the actionable threat intelligence needed to combat the rising tide of cybercrime.

Click the button below to get the report.



It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site and prominent Newsletter promotion and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinars and campaigns and assistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.


Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous




Guest Opinion

Guest Interviews

Guest Reviews

Guest Research

Guest Research & Case Studies

Channel News