Attackers Use Malicious IIS Extensions to Deploy Covert Backdoors into Exchange Servers

As opposed to web shells, malicious extensions for the IIS web server have a lower detection rate, which means attackers are increasingly using them to backdoor unpatched Exchange servers.

Since they can be hidden deep within a compromised server, and are often very difficult to detect. As they are installed in the same location as legitimate modules and use the same structure, attackers can provide themselves with the perfect and durable persistence mechanism that they need. 

Since they use the same structure as legitimate modules in order to achieve the same effect as legitimate modules. The actual mechanism used to create a backdoor is usually quite minimal and the logic is not regarded as malicious in most cases.

Continued Access and built-in Capability

It is rare that attackers will use unpatched security flaws in an app that is hosted to inject such malicious extensions into a server after successfully compromising it.

These types of attacks are usually deployed after the initial payload for the attack is deployed, usually a web shell. Later on, the IIS module is deployed on the compromised server so that it can be accessed more stealthily and persistently.

Previously, Microsoft experienced the installation of custom IIS backdoors after hackers exploited the following products:-

  • ZOHO ManageEngine ADSelfService Plus
  • SolarWinds Orion

There are several things that can be harvested by malicious IIS modules once they have been deployed, and here they are listed below:- 

  • From the memory of the system, credentials are retrieved
  • Data collection from infected devices and the victims’ network
  • Payloads are delivered at a higher rate

Types of IIS Backdoors

Here below we have mentioned all the types of IIS backdoors:-

  • Web shell-based variants
  • Open-source variants
  • IIS handlers
  • Credential stealers

As a result of Kaspersky’s recent analysis of IIS extensions delivered onto Microsoft Exchange servers, it has been observed that malware performs the following actions:-

  • Execute commands
  • Steal credentials remotely

It has been at least since March 2021 that a similar piece of IIS malware has been detected in the wild, and this malware is referred to as SessionManager. 

Recommendations

It is recommended that you consider the following mitigations in order to protect your system against attacks that use malicious IIS modules:- 

  • Make sure to keep Exchange servers up to date
  • It is important to keep anti-malware and security solutions enabled at all times
  • Make sure that roles and groups that are sensitive are reviewed
  • IIS virtual directories can be restricted in order to prevent unauthorized access
  • Alerts should be prioritized based on their importance
  • Ensure that the configuration files and bin folders are in order
Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Evasive Panda Attacking Cloud Services To Steal Data Using New Toolkit

The Evasive Panda group deployed a new C# framework named CloudScout to target a Taiwanese…

5 hours ago

Massive Midnight Blizzard Phishing Attack Using Weaponized RDP Files

Researchers warn of ongoing spear-phishing attacks by Russian threat actor Midnight Blizzard targeting individuals in…

6 hours ago

Sophisticated Phishing Attack Targeting Ukraine Military Sectors

The Ukrainian Cyber Emergency Response Team discovered a targeted phishing campaign launched by UAC-0215 against…

6 hours ago

Chinese Hackers Attacking Microsoft Customers With Sophisticated Password Spray Attacks

Researchers have identified a network of compromised devices, CovertNetwork-1658, used by Chinese threat actors to…

6 hours ago

New Windows Zero-Day Vulnerability Let Attackers Steal Credentials From Victim’s Machine

A security researcher discovered a vulnerability in Windows theme files in the previous year, which…

6 hours ago

SYS01 InfoStealer Malware Attacking Meta Business Page To Steal Logins

The ongoing Meta malvertising campaign, active for over a month, employs an evolving strategy to…

6 hours ago