Skip to content

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

Siemphony’s repertoire

Event log export or query via wevtutil or PowerShell cmdlets

Siemphony@siemphonymediumT1654unverified
AN0705 maps Security EventID 4688 onto the process_creation category, which is a Sysmon-shaped vocabulary — this rule is written in Security 4688's own field set (NewProcessName, CommandLine, ParentProcessName), not Sysmon's Image/ParentImage, since the two log sources do not share field names. It matches wevtutil's export-log and query-events subcommands, and PowerShell or pwsh calling Get-WinEvent or Get-EventLog — the two native ways to pull event data described by the analytic. Security 4688 needs Audit Process Creation enabled, and CommandLine additionally needs the separate "Include command line in process creation events" policy; neither is on by default. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0255, 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 ((NewProcessName endswith "\\wevtutil.exe" and (ProcessCommandLine contains "epl" or ProcessCommandLine contains "qe")) or ((NewProcessName endswith "\\powershell.exe" or NewProcessName endswith "\\pwsh.exe") and (ProcessCommandLine contains "Get-WinEvent" or ProcessCommandLine contains "Get-EventLog")))

Splunk · SPL

Run this as a search.

index=* ((NewProcessName="*\\wevtutil.exe" AND (CommandLine="*epl*" OR CommandLine="*qe*")) OR ((NewProcessName="*\\powershell.exe" OR NewProcessName="*\\pwsh.exe") AND (CommandLine="*Get-WinEvent*" OR CommandLine="*Get-EventLog*")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(NewProcessName) LIKE "*\\\\wevtutil.exe" AND (TO_LOWER(process.command_line) LIKE "*epl*" OR TO_LOWER(process.command_line) LIKE "*qe*")) OR ((TO_LOWER(NewProcessName) LIKE "*\\\\powershell.exe" OR TO_LOWER(NewProcessName) LIKE "*\\\\pwsh.exe") AND (TO_LOWER(process.command_line) LIKE "*get-winevent*" OR TO_LOWER(process.command_line) LIKE "*get-eventlog*")))

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. -->  <!-- 2 rules: the Sigma condition ORs across different fields,       which one rule cannot express. Any one matching is a hit. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="NewProcessName" type="pcre2">(?i)\\wevtutil\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)(epl|qe)</field>    <description>Event log export or query via wevtutil or PowerShell cmdlets (1/2)</description>    <mitre>      <id>T1654</id>    </mitre>  </rule>   <rule id="100001" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="NewProcessName" type="pcre2">(?i)(\\powershell\.exe$|\\pwsh\.exe$)</field>    <field name="CommandLine" type="pcre2">(?i)(Get-WinEvent|Get-EventLog)</field>    <description>Event log export or query via wevtutil or PowerShell cmdlets (2/2)</description>    <mitre>      <id>T1654</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.