Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

Terminal Services ServiceDll registry value modified

Siemphony@siemphonyhighT1505.005unverified
Matches a write to the ServiceDll value under `...\services\TermService\Parameters\`, the registry half of AN0595 and the mechanism the brief describes: TermService is a generic svchost-hosted service, and svchost resolves which DLL to load for it from this single value at start. ServiceDll is a value name inside the Parameters subkey, not a subkey itself, so the match anchors on the full tail `\TermService\Parameters\ServiceDll` rather than stopping at Parameters — stopping short would match every service that keeps a Parameters key, which is most of them. Unlike the AppInit_DLLs value used in the sibling T1546.010 rule, this key lives under HKLM\SYSTEM rather than HKLM\SOFTWARE, so there is no Wow6432Node twin to also cover. The brief maps this from Security EventID 4657 onto Sigma's registry_set category, which is Sysmon-shaped (TargetObject); that is the vocabulary this rule is written in, and a deployment that only has 4657 (which itself needs Audit Registry auditing plus a SACL on this key, off by default) would need ObjectName/ ObjectValueName mapped onto TargetObject before this rule can run against it. AN0595's DLL-replacement, module-load and svchost-restart legs need a correlation across separate Sysmon channels that Sigma cannot express, so only the registry write is attempted. Sysmon registry monitoring is an allowlist of paths; confirm this key is included before reading silence as a clean result. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0212, 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.

DeviceRegistryEvents| where RegistryKey endswith "\\services\\TermService\\Parameters\\ServiceDll"

Splunk · SPL

Run this as a search.

index=* TargetObject="*\\services\\TermService\\Parameters\\ServiceDll"

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE TO_LOWER(registry.path) LIKE "*\\\\services\\\\termservice\\\\parameters\\\\servicedll"

Wazuh · XML rule

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

<group name="sigma,windows,registry_set,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="TargetObject" type="pcre2">(?i)\\services\\TermService\\Parameters\\ServiceDll$</field>    <description>Terminal Services ServiceDll registry value modified</description>    <mitre>      <id>T1505.005</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.