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

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

23 hours ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago