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

Siemphony@siemphonymediumT1505.004unverified
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

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.