Skip to content

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

Siemphony’s repertoire

User account created from a SYSTEM or machine account context

Siemphony@siemphonymediumT1136unverified
AN1604 asks for Security EventID 4720 paired with process lineage and user context. The lineage half needs a join this corpus cannot express, so this rule keeps the account-creation event and applies the analytic's UserContext knob instead, populated here with the one context that is almost never a person: a Subject account name ending in a dollar sign, which is how a computer account and the LOCAL SYSTEM token are rendered in the Subject fields of a 4720. An operator creating an account from a management console appears as a named user; malware, a service, or a scheduled task running as SYSTEM appears as HOST$. This deliberately sits at the parent technique rather than under a child, because 4720 is emitted for a local SAM account on a member host and for a domain account on a domain controller with the same event ID and the same fields — the record itself does not say which, so it cannot be attributed to T1136.001 or T1136.002 without knowing the role of the machine that logged it. Two caveats before deploying. 4720 comes from the Audit User Account Management subcategory (Success); it is present in the shipped defaults and in the Microsoft and CIS baselines, unlike 4688's command line, but a host whose audit policy has been rewritten can still be blind, so confirm with auditpol rather than assuming. More important, the SubjectUserName clause is the whole of this rule's selectivity and it depends on how the collector renders the SYSTEM token: check one known-good 4720 from a SYSTEM-run installer and confirm the field carries the machine account rather than the literal string SYSTEM, or this rule returns zero rows and the silence will read as an absence of account creation. An operator who wants the raw audit trail instead should drop that clause and accept every account creation in the environment. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0583, 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.

SecurityEvent| where (EventID == 4720 and SubjectUserName endswith "$")

Splunk · SPL

Run this as a search.

index=* (EventID="4720" AND SubjectUserName="*$")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (event.code == 4720 AND TO_LOWER(user.name) LIKE "*$")

Wazuh · XML rule

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

<group name="sigma,windows,">  <!-- 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="EventID" type="pcre2">(?i)^4720$</field>    <field name="SubjectUserName" type="pcre2">(?i)\$$</field>    <description>User account created from a SYSTEM or machine account context</description>    <mitre>      <id>T1136</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.