Security Market Segment LS
Tuesday, 23 November 2021 11:00

Threat actors use Exchange flaws to attack through on-premise servers Featured

Threat actors use Exchange flaws to attack through on-premise servers Pixabay

Threat actors have used exploits for Microsoft Exchange Server to deceive users into opening emails with malicious content, the security firm Trend Micro says.

Threat intelligence analysts Mohamed Fahmy, Sherif Magdy and Abdelrhman Sharshar said in a blog post that both ProxyLogon and ProxyShell exploits were used to send malicious emails as replies to existing mail chains.

This ensured that the recipients had little suspicion about the malicious emails as they were coming from servers on their own premises.

The three researchers examined a number of intrusions in the Middle East which used the new loader Squirrelwaffle.

All these intrusions came from on-premise Exchange Server installations that were vulnerable to ProxyLogon and ProxyShell.

Microsoft released patches for ProxyLogon in March and the ProxyShell vulnerability was patched by updates in May and July.

Detailing what had happened, the Trend Micro trio said of the use of ProxyLogon: "This server-side request forgery (SSRF) vulnerability can allow a threat actor access by sending a specially crafted Web request to an Exchange Server. The Web request contains an XML payload directed at the Exchange Web Services (EWS) API endpoint.

"The request bypasses authentication using specially crafted cookies and allows an unauthenticated threat actor to execute EWS requests encoded in the XML payload then ultimately perform operations on victims’ mailboxes.

"From our analysis of the IIS [Internet Information Server] log, we saw that the threat actor uses a publicly available exploit in its attack. This exploit gives a threat actor the ability to get users SID and emails. They can even search for and download a target’s emails."

There were two vulnerabilities used in the ProxyShell attacks. One, documented as CVE-2021-34473, is exploited as an abuse of "the URL normalisation of the explicit Logon URL, wherein the logon email is removed from the URL if the suffix is autodiscover/autodiscover.json. This grants arbitrary backend URL the same access as the Exchange machine account (NT AUTHORITY\SYSTEM)".

The second flaw, documented as CVE-2021-34523, is an Exchange PowerShell backend elevation-of-privilege.

Said Fahmy, Magdy and Sharshar: "Exchange has a PowerShell remoting feature that can be used to read and send emails. It can’t be used by NT AUTHORITY\SYSTEM as it does not have a mailbox.

"However, in cases where it is accessed directly via the previous vulnerability, the backend/PowerShell can be provided with X-Rps-CAT query string parameter. The backend/PowerShell will be deserialised and used to restore user identity. It can therefore be used to impersonate a local administrator to run PowerShell commands."

In one intrusion, the malicious emails were sent as legitimate replies to existing email threads.

"In the same intrusion, we analysed the email headers for the received malicious emails, the mail path was internal (between the three internal exchange servers’ mailboxes), indicating that the emails did not originate from an external sender, open mail relay, or any message transfer agent," the Trend Micro researchers said.

They pointed out that this meant that it was not safe to conclude that a particular email was safe even if it came from a trusted contact.

Please join our community here and become a VIP.

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


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 webinatrs and campaigns and assassistance 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.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


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