Skip to content

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

Siemphony’s repertoire

Executable content written over SMB by the System process

Siemphony@siemphonymediumT1570unverified
Detects a tool arriving on a host through a file share. Sysmon attributes a file written by a remote SMB client to the kernel-side System process, so a file-create event whose Image is System and whose name carries an executable or script extension is content that came in over the network rather than something the host produced locally, which is the transfer half of AN0516. Image is matched as the exact string System because that is literally what Sysmon records for PID 4 — an endswith on a path fragment such as '\System' would never fire. The share-access leg is deliberately not used: Security EventID 5140 is already covered for administrative shares by the T1021.002 rule in this corpus, and 5140 names the share but not the file while this event names the file but neither the share nor the remote account. The analytic's second half — execution of the transferred binary within a TimeWindow of the write — is a cross-event join Sigma cannot express and has to be pivoted to by hand, and the destination path is where MITRE's FilePathWhitelist knob applies. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0183, 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.

DeviceFileEvents| where (InitiatingProcessFolderPath =~ "System" and (FolderPath endswith ".exe" or FolderPath endswith ".dll" or FolderPath endswith ".sys" or FolderPath endswith ".ps1" or FolderPath endswith ".bat" or FolderPath endswith ".cmd" or FolderPath endswith ".vbs" or FolderPath endswith ".hta" or FolderPath endswith ".scr"))

Splunk · SPL

Run this as a search.

index=* (Image="System" AND (TargetFilename="*.exe" OR TargetFilename="*.dll" OR TargetFilename="*.sys" OR TargetFilename="*.ps1" OR TargetFilename="*.bat" OR TargetFilename="*.cmd" OR TargetFilename="*.vbs" OR TargetFilename="*.hta" OR TargetFilename="*.scr"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) == "system" AND (TO_LOWER(file.path) LIKE "*.exe" OR TO_LOWER(file.path) LIKE "*.dll" OR TO_LOWER(file.path) LIKE "*.sys" OR TO_LOWER(file.path) LIKE "*.ps1" OR TO_LOWER(file.path) LIKE "*.bat" OR TO_LOWER(file.path) LIKE "*.cmd" OR TO_LOWER(file.path) LIKE "*.vbs" OR TO_LOWER(file.path) LIKE "*.hta" OR TO_LOWER(file.path) LIKE "*.scr"))

Wazuh · XML rule

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

<group name="sigma,windows,file_event,">  <!-- 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)^System$</field>    <field name="TargetFilename" type="pcre2">(?i)(\.exe$|\.dll$|\.sys$|\.ps1$|\.bat$|\.cmd$|\.vbs$|\.hta$|\.scr$)</field>    <description>Executable content written over SMB by the System process</description>    <mitre>      <id>T1570</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.