New Module Module Added To IIS Server

Detects the addition of a new module to an IIS server.

Sigma rule (View on GitHub)

 1title: New Module Module Added To IIS Server
 2id: dd857d3e-0c6e-457b-9b48-e82ae7f86bd7
 3status: experimental
 4description: Detects the addition of a new module to an IIS server.
 5references:
 6    - https://learn.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/configure-logging-in-iis
 7    - https://www.microsoft.com/en-us/security/blog/2022/12/12/iis-modules-the-evolution-of-web-shells-and-how-to-detect-them/
 8    - https://www.microsoft.com/en-us/security/blog/2022/07/26/malicious-iis-extensions-quietly-open-persistent-backdoors-into-servers/
 9    - https://learn.microsoft.com/en-us/iis/get-started/introduction-to-iis/iis-modules-overview
10author: frack113
11date: 2024-10-06
12tags:
13    - attack.defense-evasion
14    - attack.persistence
15    - attack.t1562.002
16    - attack.t1505.004
17logsource:
18    product: windows
19    service: iis-configuration
20detection:
21    selection:
22        EventID: 29
23        Configuration|contains: '/system.webServer/modules/add'
24    filter_main_builtin:
25        NewValue:
26            - 'AnonymousAuthenticationModule'
27            - 'CustomErrorModule'
28            - 'DefaultDocumentModule'
29            - 'DirectoryListingModule'
30            - 'FileCacheModule'
31            - 'HttpCacheModule'
32            - 'HttpLoggingModule'
33            - 'ProtocolSupportModule'
34            - 'RequestFilteringModule'
35            - 'StaticCompressionModule'
36            - 'StaticFileModule'
37            - 'TokenCacheModule'
38            - 'UriCacheModule'
39    filter_main_remove:
40        NewValue: ''
41    condition: selection and not 1 of filter_main_*
42falsepositives:
43    - Legitimate administrator activity
44level: medium

References

Related rules

to-top