Adversaries may install malicious components that run on Internet Information Services (IIS) web servers to establish persistence. IIS provides several mechanisms to extend the functionality of the web servers. For example, Internet Server Application Programming Interface (ISAPI) extensions and filters can be installed to examine and/or modify incoming and outgoing IIS web requests. Extensions and filters are deployed as DLL files that export three functions: Get{Extension/Filter}Version, Http{Extension/Filter}Proc, and (optionally) Terminate{Extension/Filter}. IIS modules may also be installed to extend IIS web servers.[1],[2],[3],[4]

Adversaries may install malicious ISAPI extensions and filters to observe and/or modify traffic, execute commands on compromised machines, or proxy command and control traffic. ISAPI extensions and filters may have access to all IIS web requests and responses. For example, an adversary may abuse these mechanisms to modify HTTP responses in order to distribute malicious commands/content to previously comprised hosts.[2],[1],[5],[6],[4],[7]

Adversaries may also install malicious IIS modules to observe and/or modify traffic. IIS 7.0 introduced modules that provide the same unrestricted access to HTTP requests and responses as ISAPI extensions and filters. IIS modules can be written as a DLL that exports RegisterModule, or as a .NET application that interfaces with ASP.NET APIs to access IIS HTTP requests.[8],[4],[9]

References

  1. Microsoft. (2017, June 16). ISAPI Extension Overview. Retrieved June 3, 2021.
  2. Microsoft. (2017, June 16). ISAPI Filter Overview. Retrieved June 3, 2021.
  3. Julien. (2011, February 2). IIS Backdoor. Retrieved June 3, 2021.
  4. Grunzweig, J. (2013, December 9). The Curious Case of the Malicious IIS Module. Retrieved June 3, 2021.
  5. Microsoft. (2017, June 16). Intercepting All Incoming IIS Requests. Retrieved June 3, 2021.
  6. Dell SecureWorks Counter Threat Unit Threat Intelligence. (2015, August 5). Threat Group-3390 Targets Organizations for Cyberespionage. Retrieved August 18, 2018.
  7. MMPC. (2012, October 3). Malware signed with the Adobe code signing certificate. Retrieved June 3, 2021.
  8. Microsoft. (2007, November 24). IIS Modules Overview. Retrieved June 17, 2021.
  9. Hromcová, Z., Cherepanov, A. (2021). Anatomy of Native IIS Malware. Retrieved September 9, 2021.

Susietos užduotys

Saitai
Saito tipas Užduotis
is related to Techniques
is blocked by Privileged Account Management
is blocked by Detection Strategy for T1505.004 - Malicious IIS Components
is blocked by Execution Prevention
is blocked by Audit
is blocked by Code Signing
is blocked by Asset Governance
is blocked by Configuration Management Program
is blocked by Least Functionality
is blocked by Configure Technology Assets, Applications and/or Services (TAAS) for High-Risk Areas
is blocked by Continuous Monitoring Policy
is blocked by Malicious Code Protection (Antimalware)
is blocked by Documented Endpoint Security Protection Measures
is blocked by Identity & Access Management (IAM)
is blocked by Authenticator Feedback
is blocked by Restrictions on Shared Groups / Accounts
is blocked by Boundary Protection
is blocked by Data Flow Enforcement – Access Control Lists (ACLs)
is blocked by Zero Trust Architecture (ZTA)
is blocked by Application Partitioning
is blocked by Security Function Isolation
is blocked by Product Tampering and Counterfeiting (PTC)
is blocked by DevSecOps
is blocked by Product Testing & Reviews
is blocked by Vulnerability Remediation Process
is blocked by Asset Inventories
is blocked by Provenance
is blocked by Secure Baseline Configurations
is blocked by Restrict Roles Permitted To Install Software
is blocked by Continuous Monitoring
is blocked by Endpoint File Integrity Monitoring (FIM)
is blocked by Access Enforcement
is blocked by Least Privilege
is blocked by Identification & Authentication for Organizational Users
is blocked by Remote Access
is blocked by Non-Persistence
is blocked by Memory Protection
is blocked by Security, Compliance & Resilience Testing Throughout Development
is blocked by Developer Configuration Management
is blocked by Acquisition Strategies, Tools & Methods
is blocked by Vulnerability Scanning