Sigma rule: New Module Module Added To IIS Server
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-29a9d9f5a9f4, updated 2024-10-06T00:00:00.000Z.
Rule
- Title
- New Module Module Added To IIS Server
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2024-10-06
- File
- rules/windows/builtin/iis-configuration/win_iis_module_added.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the addition of a new module to an IIS server.
Log source
- product
- windows
- service
- iis-configuration
Detection
selection:
EventID: 29
Configuration|contains: '/system.webServer/modules/add'
filter_main_builtin:
NewValue:
- 'AnonymousAuthenticationModule'
- 'CustomErrorModule'
- 'DefaultDocumentModule'
- 'DirectoryListingModule'
- 'FileCacheModule'
- 'HttpCacheModule'
- 'HttpLoggingModule'
- 'ProtocolSupportModule'
- 'RequestFilteringModule'
- 'StaticCompressionModule'
- 'StaticFileModule'
- 'TokenCacheModule'
- 'UriCacheModule'
filter_main_remove:
NewValue: ''
condition: selection and not 1 of filter_main_*False positives (as the rule lists them)
- Legitimate administrator activity
Tags
- attack.persistence
- attack.defense-impairment
- attack.t1685.001
- attack.t1505.004
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/configure-logging-in-iis
- https://www.microsoft.com/en-us/security/blog/2022/12/12/iis-modules-the-evolution-of-web-shells-and-how-to-detect-them/
- https://www.microsoft.com/en-us/security/blog/2022/07/26/malicious-iis-extensions-quietly-open-persistent-backdoors-into-servers/
- https://learn.microsoft.com/en-us/iis/get-started/introduction-to-iis/iis-modules-overview
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/iis-configuration/win_iis_module_added.yml
Sources and licences
SigmaHQ
"New Module Module Added To IIS Server" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/iis-configuration/win_iis_module_added.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: New Module Module Added To IIS Server",
entity page, dataset version ref-29a9d9f5a9f4, updated 2024-10-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/dd857d3e-0c6e-457b-9b48-e82ae7f86bd7 (accessed 2026-11-03).
Underlying source: SigmaHQ rule dd857d3e-0c6e-457b-9b48-e82ae7f86bd7, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.