Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

IIS component registered through AppCmd configuration change

Matches AppCmd.exe being used to register an ISAPI filter, ISAPI extension or native/managed module against the IIS configuration — the administrative-tool half of AN0184, which also lists direct DLL drop and module load as observables but those need a watch on %windir%\System32\inetsrv\ or a diff of loaded modules in w3wp.exe that Sigma's single-event model cannot express against the file_event and image_load logsources in this brief without also matching every ordinary IIS content deployment. AppCmd is chosen instead because the configuration verbs that actually wire in a component — set config against the isapiFilters/globalModules sections, or add module — are literal, stable strings on its command line, so the selector cannot be defeated by a version-suffixed binary or a GUI wrapper the way a raw DLL-drop watch would be. There is no "add filter" verb in AppCmd; ISAPI filters are registered by writing the isapiFilters section, which is why that section name rather than a verb carries the filter arm here. The gate is appcmd.exe itself, so registering the component through the IIS configuration API (Microsoft.Web.Administration from PowerShell or C#) or by hand-editing applicationHost.config is invisible to this rule. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0068, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

title: IIS component registered through AppCmd configuration changeid: 64605540-de84-479b-81bd-42485c1f81festatus: experimentaldescription: |  Matches AppCmd.exe being used to register an ISAPI filter, ISAPI extension or  native/managed module against the IIS configuration — the administrative-tool  half of AN0184, which also lists direct DLL drop and module load as observables  but those need a watch on %windir%\System32\inetsrv\ or a diff of loaded modules  in w3wp.exe that Sigma's single-event model cannot express against the file_event  and image_load logsources in this brief without also matching every ordinary IIS  content deployment. AppCmd is chosen instead because the configuration verbs that  actually wire in a component — set config against the isapiFilters/globalModules  sections, or add module — are literal, stable strings on its command line, so the  selector cannot be defeated by a version-suffixed binary or a GUI wrapper the way  a raw DLL-drop watch would be. There is no "add filter" verb in AppCmd; ISAPI  filters are registered by writing the isapiFilters section, which is why that  section name rather than a verb carries the filter arm here. The gate is  appcmd.exe itself, so registering the component through the IIS configuration  API (Microsoft.Web.Administration from PowerShell or C#) or by hand-editing  applicationHost.config is invisible to this rule.  UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0068, not hand-written and not tested by its author. Any lab result is on this rule's own page.references:  - https://attack.mitre.org/techniques/T1505/004  - https://attack.mitre.org/detectionstrategies/DET0068author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.persistence  - attack.t1505.004logsource:  category: process_creation  product: windowsdetection:  selection_tool:    Image|endswith: '\appcmd.exe'  selection_verb:    CommandLine|contains:      - 'isapiFilters'      - 'globalModules'      - 'system.webServer/modules'      - 'add module'  condition: selection_tool and selection_verbfalsepositives:  - "Release-management and CI/CD agents (Web Deploy, Octopus Deploy, Azure DevOps release tasks) that call appcmd.exe to register a legitimate ISAPI module or filter as part of an application deployment — this is the loudest source in any environment that automates IIS deploys and looks identical to the abuse case."  - "Windows feature and product installers (URL Rewrite, Application Request Routing, ASP.NET registration via aspnet_regiis) that invoke appcmd set config against globalModules to wire in their own bundled module immediately after MSI or platform-installer setup."  - "Hardening and compliance scripts that reapply a baseline IIS configuration, including re-adding an approved filter or module entry, on a schedule or at image-build time."level: medium

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where (FolderPath endswith "\\appcmd.exe" and (ProcessCommandLine contains "isapiFilters" or ProcessCommandLine contains "globalModules" or ProcessCommandLine contains "system.webServer/modules" or ProcessCommandLine contains "add module"))

Splunk · SPL

Run this as a search.

index=* (Image="*\\appcmd.exe" AND (CommandLine="*isapiFilters*" OR CommandLine="*globalModules*" OR CommandLine="*system.webServer/modules*" OR CommandLine="*add module*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\appcmd.exe" AND (TO_LOWER(process.command_line) LIKE "*isapifilters*" OR TO_LOWER(process.command_line) LIKE "*globalmodules*" OR TO_LOWER(process.command_line) LIKE "*system.webserver/modules*" OR TO_LOWER(process.command_line) LIKE "*add module*"))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)\\appcmd\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)(isapiFilters|globalModules|system\.webServer/modules|add module)</field>    <description>IIS component registered through AppCmd configuration change</description>    <mitre>      <id>T1505.004</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.