Skip to content

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

Siemphony’s repertoire

Process image or command line contains a right-to-left override character

Siemphony@siemphonyhighT1036.002unverified
AN1461 asks for execution of files whose name carries the RTLO character (U+202E) to reverse the display of the true extension. That character is rare enough in ordinary filenames that its literal presence in a Sysmon process-creation record is a strong single-event signal by itself, so the rule tests for it directly rather than trying to reconstruct which substring got display-reversed. Two arms cover the two ways the character reaches this event: `Image` catches the case where the RTLO-named file is itself the thing that gets executed (a disguised .scr launched directly), and `CommandLine` catches the case where a shell or interpreter is the process actually created and the RTLO-named file is only an argument (a double-clicked .js opened by wscript.exe, or an attachment path handed to a mail client's viewer). MITRE's ExecutionContext knob — scoping to browser downloads or mail attachments — is not applied here because Sysmon process creation carries no reference to the file's origin; adding that context needs a Zone.Identifier alternate-data-stream check this log source cannot provide, so this rule is origin-agnostic and will fire on an RTLO-named file regardless of where it came from. The Linux (AN1463) and macOS (AN1462) legs of this strategy are not attempted: their log sources are auditd execve and osquery/endpointsecurity/unifiedlog, none of which this pipeline has a verified field vocabulary for, so a rule against them would be guessing field names rather than authoring against known ones. Sysmon is not present on a default Windows install and needs a ProcessCreate rule in its configuration; without it this rule returns nothing, which reads as quiet rather than as blind telemetry. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0527, 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 contains "‮" or ProcessCommandLine contains "‮")

Splunk · SPL

Run this as a search.

index=* (Image="*‮*" OR CommandLine="*‮*")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*‮*" OR TO_LOWER(process.command_line) LIKE "*‮*")

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="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)‮</field>    <description>Process image or command line contains a right-to-left override character (1/2)</description>    <mitre>      <id>T1036.002</id>    </mitre>  </rule>   <rule id="100001" level="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="CommandLine" type="pcre2">(?i)‮</field>    <description>Process image or command line contains a right-to-left override character (2/2)</description>    <mitre>      <id>T1036.002</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.